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