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

Revision 5559, 8.1 KB checked in by daisuke, 12 years ago (diff)

drop esound daemon and utils

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