1 | # Note that this is NOT a relocatable package |
---|
2 | %define ver 0.2.22 |
---|
3 | %define RELEASE 1 |
---|
4 | %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} |
---|
5 | %define prefix /usr |
---|
6 | |
---|
7 | Summary: Allows several audio streams to play on a single audio device. |
---|
8 | Name: esound |
---|
9 | Version: %ver |
---|
10 | Release: %rel |
---|
11 | Copyright: GPL |
---|
12 | Group: System Environment/Daemons |
---|
13 | Source0: esound-%{PACKAGE_VERSION}.tar.gz |
---|
14 | URL: http://www.tux.org/~ricdude/EsounD.html |
---|
15 | BuildRoot: /var/tmp/esound-%{PACKAGE_VERSION}-root |
---|
16 | |
---|
17 | Docdir: %{_prefix}/doc |
---|
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 | %package devel |
---|
30 | Summary: Development files for EsounD applications. |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: esound |
---|
33 | Requires: audiofile-devel |
---|
34 | |
---|
35 | %description devel |
---|
36 | The esound-devel Libraries, include files and other resources you can |
---|
37 | use to develop EsounD applications. |
---|
38 | |
---|
39 | Install esound-devel if you want to develop EsounD applications. |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | |
---|
44 | %build |
---|
45 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=/etc |
---|
46 | |
---|
47 | make |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT/etc install |
---|
53 | |
---|
54 | strip $RPM_BUILD_ROOT%{_prefix}/bin/* ||: |
---|
55 | strip $RPM_BUILD_ROOT%{_prefix}/lib/*.so.* ||: |
---|
56 | |
---|
57 | %post -p /sbin/ldconfig |
---|
58 | |
---|
59 | %postun -p /sbin/ldconfig |
---|
60 | |
---|
61 | %clean |
---|
62 | rm -rf $RPM_BUILD_ROOT |
---|
63 | |
---|
64 | %files |
---|
65 | %defattr(-, root, root) |
---|
66 | %doc AUTHORS COPYING ChangeLog docs/esound.sgml docs/html docs/esound.ps |
---|
67 | %doc INSTALL NEWS README TIPS TODO |
---|
68 | %config /etc/* |
---|
69 | %{_prefix}/bin/esd |
---|
70 | %{_prefix}/bin/esdcat |
---|
71 | %{_prefix}/bin/esdctl |
---|
72 | %{_prefix}/bin/esddsp |
---|
73 | %{_prefix}/bin/esdfilt |
---|
74 | %{_prefix}/bin/esdloop |
---|
75 | %{_prefix}/bin/esdmon |
---|
76 | %{_prefix}/bin/esdplay |
---|
77 | %{_prefix}/bin/esdrec |
---|
78 | %{_prefix}/bin/esdsample |
---|
79 | %{_prefix}/lib/lib*.so.* |
---|
80 | |
---|
81 | %files devel |
---|
82 | %defattr(-, root, root) |
---|
83 | |
---|
84 | %{_prefix}/bin/esd-config |
---|
85 | %{_prefix}/lib/*a |
---|
86 | %{_prefix}/include/* |
---|
87 | %{_prefix}/share/aclocal/* |
---|
88 | %{_prefix}/lib/lib*.so |
---|
89 | |
---|
90 | %changelog |
---|
91 | * Tue Apr 4 2000 Elliot Lee <sopwith@redhat.com> 0.2.18-1 |
---|
92 | - Update to 0.2.18 |
---|
93 | |
---|
94 | * Mon Aug 30 1999 Elliot Lee <sopwith@redhat.com> 0.2.13-1 |
---|
95 | - Update to 0.2.13 |
---|
96 | - Merge in changes from RHL 6.0 spec file. |
---|
97 | |
---|
98 | * Sat Nov 21 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch> |
---|
99 | |
---|
100 | - added %{_prefix}/share/aclocal/* to %files devel |
---|
101 | - added spanish and french translations for rpm |
---|
102 | |
---|
103 | * Thu Oct 1 1998 Ricdude <ericmit@ix.netcom.com> |
---|
104 | |
---|
105 | - make autoconf do the version updating for us. |
---|
106 | |
---|
107 | * Wed May 13 1998 Michael Fulbright <msf@redhat.com> |
---|
108 | |
---|
109 | - First try at an RPM |
---|