esound-vl.spec 8.4 KB

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