esound-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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: 1%{?_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.38-2
  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
  97. %defattr(-, root, root)
  98. %{_bindir}/esd
  99. %{_bindir}/esdcat
  100. %{_bindir}/esdctl
  101. %{_bindir}/esddsp
  102. %{_bindir}/esdfilt
  103. %{_bindir}/esdloop
  104. %{_bindir}/esdmon
  105. %{_bindir}/esdplay
  106. %{_bindir}/esdrec
  107. %{_bindir}/esdsample
  108. %{_mandir}/man1/esd.1*
  109. %{_mandir}/man1/esdcat.1*
  110. %{_mandir}/man1/esdctl.1*
  111. %{_mandir}/man1/esddsp.1*
  112. %{_mandir}/man1/esdfilt.1*
  113. %{_mandir}/man1/esdloop.1*
  114. %{_mandir}/man1/esdmon.1*
  115. %{_mandir}/man1/esdplay.1*
  116. %{_mandir}/man1/esdrec.1*
  117. %{_mandir}/man1/esdsample.1*
  118. %files libs
  119. %defattr(-, root, root)
  120. %doc AUTHORS COPYING.LIB ChangeLog docs/esound.sgml docs/html
  121. %doc INSTALL NEWS README TIPS TODO
  122. %config(noreplace) %{_sysconfdir}/*
  123. %{_libdir}/lib*.so.*
  124. %files devel
  125. %defattr(-, root, root)
  126. %{_bindir}/esd-config
  127. %{_includedir}/*
  128. %{_datadir}/aclocal/*
  129. %{_libdir}/lib*.so
  130. %{_libdir}/pkgconfig/*.pc
  131. %{_mandir}/man1/esd-config.1*
  132. %if %{build_compat32}
  133. %files -n compat32-%{name}-libs
  134. %defattr(-, root, root)
  135. %{_libdir}/lib*.so.*
  136. %files -n compat32-%{name}-devel
  137. %defattr(-, root, root)
  138. %{_libdir}/lib*.so
  139. %{_libdir}/pkgconfig/*.pc
  140. %endif
  141. %changelog
  142. * Sat Feb 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.41-1
  143. - update to 0.2.41
  144. - delete Patch0
  145. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.38-4
  146. - rebuild with rpm-4.8.1 for pkg-config file
  147. * Mon Jul 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.2.38-3
  148. - corrected Requires: tag on compat32-esound-devel
  149. - removed static libraries
  150. * Wed Jul 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.38-2
  151. - split shared library to -libs subpackage.
  152. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.38-1
  153. - applied new versioning policy
  154. - removed *.la file from devel package
  155. * Sat May 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.38-0vl1
  156. - new upstream release
  157. * Thu Mar 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.37-0vl1
  158. - new upstream release
  159. * Sat Dec 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.2.36-0vl4
  160. - add Requires: alsa-lib-devel to -devel package
  161. * Mon May 13 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 0.2.36-0vl3
  162. - added compat32-* packages for x86_64 architecture support
  163. * Fri Feb 17 2006 Shu KONNO <owa@bg.wakwak.com> 0.2.36-0vl2
  164. - added BuildRequires: audiofile-devel
  165. - rebuilt for x86_64 architecture
  166. * Sun Jun 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.36-0vl1
  167. - new upstream release
  168. - build with alsa
  169. * Sat Oct 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.35-0vl1
  170. - new upstream release
  171. - sync manpages to each package
  172. - added Patch0 from Fedora development 0.2.34-3
  173. * Sun Sep 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.31-0vl2
  174. - use License tag
  175. - add .la files to devel package
  176. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.31-0vl1
  177. - new upstream release
  178. - add manpages to filelist
  179. * Tue Jan 07 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.29-0vl4
  180. - added missing pkgconfig file
  181. * Sun Jan 5 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.29-0vl1
  182. - new upstream release
  183. * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.22-0vl3
  184. - rebuild to remove rpmlib dependancy
  185. * Fri May 25 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  186. - remove audio_oss patch
  187. * Thu Dec 14 2000 Yoichi Imai <yoichi@silver-forest.com>
  188. - 0.2.22-0vl1
  189. - comment out strip commands
  190. - changed /var/tmp to %{_tmppath}
  191. * Thu Oct 26 2000 Jun Nishii <jun@vinelinux.org>
  192. - 0.2.20-0vl1
  193. * Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  194. - 0.2.19-0vl2
  195. - included a patch for audio_oss.c (backed to 0.2.17 style)
  196. * Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  197. - 0.2.19-0vl1
  198. - udpated to 0.2.19 release
  199. - added Japanese Summary and Description
  200. * Sat Jun 3 2000 BIll Nottingham <notting@redhat.com> 0.2.18-2
  201. - rebuild. Apparently the compiler ate this last time.
  202. * Tue Apr 4 2000 Elliot Lee <sopwith@redhat.com> 0.2.18-1
  203. - Update to 0.2.18
  204. * Mon Aug 30 1999 Elliot Lee <sopwith@redhat.com> 0.2.13-1
  205. - Update to 0.2.13
  206. - Merge in changes from RHL 6.0 spec file.
  207. * Sat Nov 21 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
  208. - added %{_prefix}/share/aclocal/* to %files devel
  209. - added spanish and french translations for rpm
  210. * Thu Oct 1 1998 Ricdude <ericmit@ix.netcom.com>
  211. - make autoconf do the version updating for us.
  212. * Wed May 13 1998 Michael Fulbright <msf@redhat.com>
  213. - First try at an RPM