esound-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. # Note that this is NOT a relocatable package
  2. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  3. Summary: Allows several audio streams to play on a single audio device.
  4. Summary(ja): オーディオストリームを単一デバイスから再生するサーバ
  5. Name: esound
  6. Version: 0.2.41
  7. Release: 2%{?_dist_release}
  8. License: GPL
  9. Group: System Environment/Daemons
  10. Source0: ftp://ftp.gnome.org/pub/GNOME/sources/esound/0.2/esound-%{version}.tar.bz2
  11. URL: http://www.tux.org/~ricdude/EsounD.html
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: alsa-lib-devel
  14. BuildRequires: audiofile-devel
  15. Requires: %{name}-libs = %{version}
  16. %description
  17. EsounD, the Enlightened Sound Daemon, is a server process that mixes
  18. several audio streams for playback by a single audio device. For
  19. example, if you're listening to music on a CD and you receive a
  20. sound-related event from ICQ, the two applications won't have to
  21. jockey for the use of your sound card.
  22. Install esound if you'd like to let sound applications share your
  23. audio device. You'll also need to install the audiofile package.
  24. %description -l ja
  25. EsounD (the Enlightened Sound Daemon) は複数のオーディオストリームを
  26. 単一のオーディオデバイスから出力するためのサーバです。
  27. 例えば、CD から音楽を聞いている時に ICQ からサウンドイベントを
  28. 受け取った際、EsounD を介することによりこの2つのアプリケーションが
  29. サウンドカードの取り合いをせずに済むようになります。
  30. %package libs
  31. Summary: Library to talk to the EsounD daemon
  32. Summary(ja): EsounD 共有ライブラリ
  33. Group: Development/Libraries
  34. Obsoletes: %{name} <= 0.2.41
  35. %description libs
  36. The esound-libs package includes the libraries required
  37. for applications to talk to the EsounD daemon.
  38. %package devel
  39. Summary: Development files for EsounD applications.
  40. Summary(ja): EsounD アプリケーション開発用ファイル
  41. Group: Development/Libraries
  42. Requires: %{name}-libs = %{version}
  43. Requires: audiofile-devel
  44. Requires: alsa-lib-devel
  45. %description devel
  46. The esound-devel Libraries, include files and other resources you can
  47. use to develop EsounD applications.
  48. Install esound-devel if you want to develop EsounD applications.
  49. %description devel -l ja
  50. このパッケージには EsounD アプリケーションを開発するのに必要な
  51. ライブラリ、include ファイル、その他のリソースが含まれます。
  52. EsounD アプリケーションを開発する場合には esound-devel パッケージを
  53. インストールしてください。
  54. %package -n compat32-%{name}-libs
  55. Summary: Library to talk to the EsounD daemon
  56. Summary(ja): EsounD 共有ライブラリ
  57. Group: System Environment/Daemons
  58. Requires: %{name}-libs = %{version}
  59. %description -n compat32-%{name}-libs
  60. The esound-libs package includes the libraries required
  61. for applications to talk to the EsounD daemon.
  62. %package -n compat32-%{name}-devel
  63. Summary: Development files for EsounD applications.
  64. Summary(ja): EsounD アプリケーション開発用ファイル
  65. Group: Development/Libraries
  66. Requires: %{name}-devel = %{version}
  67. Requires: compat32-%{name}-libs = %{version}
  68. %description -n compat32-%{name}-devel
  69. The esound-devel Libraries, include files and other resources you can
  70. use to develop EsounD applications.
  71. Install esound-devel if you want to develop EsounD applications.
  72. %description -n compat32-%{name}-devel -l ja
  73. このパッケージには EsounD アプリケーションを開発するのに必要な
  74. ライブラリ、include ファイル、その他のリソースが含まれます。
  75. EsounD アプリケーションを開発する場合には esound-devel パッケージを
  76. インストールしてください。
  77. %prep
  78. %setup -q
  79. %build
  80. %configure --disable-static
  81. make
  82. %install
  83. rm -rf ${RPM_BUILD_ROOT}
  84. %makeinstall
  85. #strip ${RPM_BUILD_ROOT}%{_bindir}/* ||:
  86. #strip ${RPM_BUILD_ROOT}%{_libdir}/*.so.* ||:
  87. #cp -pr $RPM_BUILD_ROOT%{_docdir}/esound docs-to-install
  88. rm -rf $RPM_BUILD_ROOT%{_docdir}/esound
  89. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  90. %clean
  91. rm -rf ${RPM_BUILD_ROOT}
  92. %post libs -p /sbin/ldconfig
  93. %postun libs -p /sbin/ldconfig
  94. %post -n compat32-%{name}-libs -p /sbin/ldconfig
  95. %postun -n compat32-%{name}-libs -p /sbin/ldconfig
  96. %files libs
  97. %defattr(-, root, root)
  98. %doc AUTHORS COPYING.LIB ChangeLog docs/esound.sgml docs/html
  99. %doc INSTALL NEWS README TIPS TODO
  100. %config(noreplace) %{_sysconfdir}/*
  101. %{_libdir}/lib*.so.*
  102. %files devel
  103. %defattr(-, root, root)
  104. %{_bindir}/esd-config
  105. %{_includedir}/*
  106. %{_datadir}/aclocal/*
  107. %{_libdir}/lib*.so
  108. %{_libdir}/pkgconfig/*.pc
  109. %{_mandir}/man1/esd-config.1*
  110. %if %{build_compat32}
  111. %files -n compat32-%{name}-libs
  112. %defattr(-, root, root)
  113. %{_libdir}/lib*.so.*
  114. %files -n compat32-%{name}-devel
  115. %defattr(-, root, root)
  116. %{_libdir}/lib*.so
  117. %{_libdir}/pkgconfig/*.pc
  118. %endif
  119. %changelog
  120. * Thu Feb 02 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.41-2
  121. - Obsolete main package
  122. * Sat Feb 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.41-1
  123. - update to 0.2.41
  124. - delete Patch0
  125. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.38-4
  126. - rebuild with rpm-4.8.1 for pkg-config file
  127. * Mon Jul 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.2.38-3
  128. - corrected Requires: tag on compat32-esound-devel
  129. - removed static libraries
  130. * Wed Jul 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.38-2
  131. - split shared library to -libs subpackage.
  132. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.38-1
  133. - applied new versioning policy
  134. - removed *.la file from devel package
  135. * Sat May 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.38-0vl1
  136. - new upstream release
  137. * Thu Mar 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.37-0vl1
  138. - new upstream release
  139. * Sat Dec 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.2.36-0vl4
  140. - add Requires: alsa-lib-devel to -devel package
  141. * Mon May 13 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 0.2.36-0vl3
  142. - added compat32-* packages for x86_64 architecture support
  143. * Fri Feb 17 2006 Shu KONNO <owa@bg.wakwak.com> 0.2.36-0vl2
  144. - added BuildRequires: audiofile-devel
  145. - rebuilt for x86_64 architecture
  146. * Sun Jun 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.36-0vl1
  147. - new upstream release
  148. - build with alsa
  149. * Sat Oct 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.35-0vl1
  150. - new upstream release
  151. - sync manpages to each package
  152. - added Patch0 from Fedora development 0.2.34-3
  153. * Sun Sep 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.31-0vl2
  154. - use License tag
  155. - add .la files to devel package
  156. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.31-0vl1
  157. - new upstream release
  158. - add manpages to filelist
  159. * Tue Jan 07 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.29-0vl4
  160. - added missing pkgconfig file
  161. * Sun Jan 5 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.29-0vl1
  162. - new upstream release
  163. * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.22-0vl3
  164. - rebuild to remove rpmlib dependancy
  165. * Fri May 25 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  166. - remove audio_oss patch
  167. * Thu Dec 14 2000 Yoichi Imai <yoichi@silver-forest.com>
  168. - 0.2.22-0vl1
  169. - comment out strip commands
  170. - changed /var/tmp to %{_tmppath}
  171. * Thu Oct 26 2000 Jun Nishii <jun@vinelinux.org>
  172. - 0.2.20-0vl1
  173. * Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  174. - 0.2.19-0vl2
  175. - included a patch for audio_oss.c (backed to 0.2.17 style)
  176. * Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  177. - 0.2.19-0vl1
  178. - udpated to 0.2.19 release
  179. - added Japanese Summary and Description
  180. * Sat Jun 3 2000 BIll Nottingham <notting@redhat.com> 0.2.18-2
  181. - rebuild. Apparently the compiler ate this last time.
  182. * Tue Apr 4 2000 Elliot Lee <sopwith@redhat.com> 0.2.18-1
  183. - Update to 0.2.18
  184. * Mon Aug 30 1999 Elliot Lee <sopwith@redhat.com> 0.2.13-1
  185. - Update to 0.2.13
  186. - Merge in changes from RHL 6.0 spec file.
  187. * Sat Nov 21 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
  188. - added %{_prefix}/share/aclocal/* to %files devel
  189. - added spanish and french translations for rpm
  190. * Thu Oct 1 1998 Ricdude <ericmit@ix.netcom.com>
  191. - make autoconf do the version updating for us.
  192. * Wed May 13 1998 Michael Fulbright <msf@redhat.com>
  193. - First try at an RPM