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