source: projects/specs/trunk/e/esound/esound-vl.spec @ 8987

Revision 8987, 8.4 KB checked in by inagaki, 10 years ago (diff)

2014-10-01 Ryoichi INAGAKI <ryo1@…>

  • esound: rebuild


Line 
1# Note that this is NOT a relocatable package
2%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
3
4Summary: Allows several audio streams to play on a single audio device.
5Summary(ja): オーディオストリームを単一デバイスから再生するサーバ
6Name:      esound
7Version:   0.2.41
8Release:   4%{?_dist_release}
9License:   LGPLv2
10Group:     System Environment/Daemons
11
12Source0:   ftp://ftp.gnome.org/pub/GNOME/sources/esound/0.2/esound-%{version}.tar.bz2
13
14Patch0:    esound-0.2.41-makefile.patch
15
16URL:       http://www.tux.org/~ricdude/EsounD.html
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
19BuildRequires: alsa-lib-devel
20BuildRequires: audiofile-devel
21BuildRequires: autoconf
22
23Requires: %{name}-libs = %{version}
24
25%description
26EsounD, the Enlightened Sound Daemon, is a server process that mixes
27several audio streams for playback by a single audio device. For
28example, if you're listening to music on a CD and you receive a
29sound-related event from ICQ, the two applications won't have to
30jockey for the use of your sound card.
31
32Install esound if you'd like to let sound applications share your
33audio device. You'll also need to install the audiofile package.
34
35%description -l ja
36EsounD (the Enlightened Sound Daemon) は複数のオーディオストリームを
37単一のオーディオデバイスから出力するためのサーバです。
38例えば、CD から音楽を聞いている時に ICQ からサウンドイベントを
39受け取った際、EsounD を介することによりこの2つのアプリケーションが
40サウンドカードの取り合いをせずに済むようになります。
41
42
43%package libs
44Summary: Library to talk to the EsounD daemon
45Summary(ja): EsounD 共有ライブラリ
46Group: System Environment/Libraries
47Obsoletes: %{name} <= 0.2.41
48
49%description libs
50The esound-libs package includes the libraries required
51for applications to talk to the EsounD daemon.
52
53
54%package devel
55Summary: Development files for EsounD applications.
56Summary(ja): EsounD アプリケーション開発用ファイル
57Group: Development/Libraries
58Requires: %{name}-libs = %{version}
59Requires: audiofile-devel
60Requires: alsa-lib-devel
61
62
63%description devel
64The esound-devel Libraries, include files and other resources you can
65use to develop EsounD applications.
66
67Install esound-devel if you want to develop EsounD applications.
68
69%description devel -l ja
70このパッケージには EsounD アプリケーションを開発するのに必要な
71ライブラリ、include ファイル、その他のリソースが含まれます。
72
73EsounD アプリケーションを開発する場合には esound-devel パッケージを
74インストールしてください。
75
76
77%package -n compat32-%{name}-libs
78Summary: Library to talk to the EsounD daemon
79Summary(ja): EsounD 共有ライブラリ
80Group: System Environment/Libraries
81Requires: %{name}-libs = %{version}
82
83%description -n compat32-%{name}-libs
84The esound-libs package includes the libraries required
85for applications to talk to the EsounD daemon.
86
87
88%package -n compat32-%{name}-devel
89Summary: Development files for EsounD applications.
90Summary(ja): EsounD アプリケーション開発用ファイル
91Group: Development/Libraries
92Requires: %{name}-devel = %{version}
93Requires: compat32-%{name}-libs = %{version}
94
95
96%description -n compat32-%{name}-devel
97The esound-devel Libraries, include files and other resources you can
98use to develop EsounD applications.
99
100Install esound-devel if you want to develop EsounD applications.
101
102%description -n compat32-%{name}-devel -l ja
103このパッケージには EsounD アプリケーションを開発するのに必要な
104ライブラリ、include ファイル、その他のリソースが含まれます。
105
106EsounD アプリケーションを開発する場合には esound-devel パッケージを
107インストールしてください。
108
109
110%prep
111%setup -q
112%patch0 -p1
113
114%build
115autoreconf -if
116%configure --disable-static
117make
118
119
120%install
121rm -rf ${RPM_BUILD_ROOT}
122%makeinstall
123
124#strip ${RPM_BUILD_ROOT}%{_bindir}/* ||:
125#strip ${RPM_BUILD_ROOT}%{_libdir}/*.so.* ||:
126
127#cp -pr $RPM_BUILD_ROOT%{_docdir}/esound docs-to-install
128rm -rf $RPM_BUILD_ROOT%{_docdir}/esound
129rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
130
131%clean
132rm -rf ${RPM_BUILD_ROOT}
133
134%post libs -p /sbin/ldconfig
135
136%postun libs -p /sbin/ldconfig
137
138%post -n compat32-%{name}-libs -p /sbin/ldconfig
139
140%postun -n compat32-%{name}-libs -p /sbin/ldconfig
141
142%files libs
143%defattr(-, root, root)
144%doc AUTHORS COPYING.LIB ChangeLog docs/esound.sgml docs/html
145%doc INSTALL NEWS README TIPS TODO
146%config(noreplace) %{_sysconfdir}/*
147%{_libdir}/lib*.so.*
148
149%files devel
150%defattr(-, root, root)
151%{_bindir}/esd-config
152%{_includedir}/*
153%{_datadir}/aclocal/*
154%{_libdir}/lib*.so
155%{_libdir}/pkgconfig/*.pc
156%{_mandir}/man1/esd-config.1*
157
158
159%if %{build_compat32}
160%files -n compat32-%{name}-libs
161%defattr(-, root, root)
162%{_libdir}/lib*.so.*
163
164
165%files -n compat32-%{name}-devel
166%defattr(-, root, root)
167%{_libdir}/lib*.so
168%{_libdir}/pkgconfig/*.pc
169%endif
170
171
172%changelog
173* Sun Sep 28 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.2.41-4
174- fixed esound-libs Group
175
176* Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.41-3
177- rebuild with audiofile-0.3.4
178- add Patch0 (esound-0.2.41-makefile.patch)
179
180* Thu Feb 02 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.41-2
181- Obsolete main package
182
183* Sat Feb 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.41-1
184- update to 0.2.41
185- delete Patch0
186
187* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.38-4
188- rebuild with rpm-4.8.1 for pkg-config file
189
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
Note: See TracBrowser for help on using the repository browser.