]>
Commit | Line | Data |
---|---|---|
a314e8d9 | 1 | # NOTE: for versions >= 1.7.0 see DirectFB.spec |
012b75f2 | 2 | Summary: Audio sub system for multiple applications |
b67020c5 | 3 | Summary(pl.UTF-8): Dźwiękowy podsystem dla złożonych aplikacji |
012b75f2 | 4 | Name: FusionSound |
18e7ab96 | 5 | Version: 1.6.3 |
a314e8d9 | 6 | Release: 2.1 |
9417653f | 7 | License: LGPL v2+ |
012b75f2 | 8 | Group: Libraries |
0b315e2d | 9 | Source0: http://www.directfb.org/downloads/Core/FusionSound/%{name}-%{version}.tar.gz |
18e7ab96 | 10 | # Source0-md5: 801403ac1554df989f0514771be11080 |
96dc41df | 11 | Patch0: %{name}-conf.patch |
0b315e2d | 12 | Patch1: %{name}-ffmpeg.patch |
18e7ab96 | 13 | Patch2: %{name}-am.patch |
9417653f | 14 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound |
0b315e2d | 15 | BuildRequires: DirectFB-devel >= 1:1.6.0 |
9417653f JB |
16 | # for examples |
17 | BuildRequires: LiTE-devel >= 0.8.9 | |
18 | BuildRequires: alsa-lib-devel >= 0.9 | |
68b7fef9 | 19 | BuildRequires: autoconf >= 2.52 |
6f9eae76 | 20 | BuildRequires: automake |
0b315e2d | 21 | BuildRequires: ffmpeg-devel >= 0.8 |
9417653f JB |
22 | BuildRequires: libcddb-devel >= 1.0.0 |
23 | BuildRequires: libmad-devel | |
24 | BuildRequires: libtimidity-devel >= 0.1.0 | |
6f9eae76 | 25 | BuildRequires: libtool |
9417653f | 26 | BuildRequires: libvorbis-devel >= 1:1.0.0 |
68b7fef9 | 27 | BuildRequires: pkgconfig >= 1:0.9 |
0b315e2d | 28 | Requires: DirectFB >= 1:1.6.0 |
012b75f2 | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
0b315e2d | 31 | %define dfblibdir %{_libdir}/directfb-1.6-0 |
cfc8efb7 | 32 | |
012b75f2 | 33 | %description |
34 | FusionSound supports multiple applications using Fusion IPC. It | |
35 | provides streams, static sound buffers and control over any number of | |
36 | concurrent playbacks. Sample data is always stored in shared memory, | |
37 | starting a playback simply adds an entry to the playlist of the mixer | |
38 | thread in the master application. | |
39 | ||
be0b02e7 JR |
40 | %description -l pl.UTF-8 |
41 | FusionSound wspiera złożone aplikacje używające Fusion IPC. Dostarcza | |
42 | strumieni, statyczny bufor dźwiękowy i kontrolę poprzez każdą ilość | |
43 | konkurencyjnych odtwarzaczy. Próbkowana dana jest zawsze przechowywana | |
44 | w pamięci dzielonej. Rozpoczynając odtwarzanie dodaje wejście do listy | |
45 | odtwarzania miksera w nadrzędnej aplikacji. | |
012b75f2 | 46 | |
47 | %package devel | |
48 | Summary: Development files for the FusionSound | |
b67020c5 | 49 | Summary(pl.UTF-8): Pliki rozwojowe dla FusionSound |
012b75f2 | 50 | Group: Development/Libraries |
68b7fef9 | 51 | Requires: %{name} = %{version}-%{release} |
0b315e2d | 52 | Requires: DirectFB-devel >= 1:1.6.0 |
012b75f2 | 53 | |
54 | %description devel | |
55 | Header files required for development using FusionSound. | |
56 | ||
be0b02e7 JR |
57 | %description devel -l pl.UTF-8 |
58 | Pliki nagłówkowe wymagane do tworzenia programów z użyciem | |
012b75f2 | 59 | FusionSound. |
60 | ||
61 | %package static | |
62 | Summary: Static FusionSound library | |
b67020c5 | 63 | Summary(pl.UTF-8): Statyczna biblioteka FusionSound |
012b75f2 | 64 | Group: Development/Libraries |
6f9eae76 | 65 | # base for directory, -devel for headers |
68b7fef9 | 66 | Requires: %{name}-devel = %{version}-%{release} |
012b75f2 | 67 | |
68 | %description static | |
69 | Static FusionSound library. | |
70 | ||
be0b02e7 | 71 | %description static -l pl.UTF-8 |
012b75f2 | 72 | Statyczna biblioteka FusionSound. |
73 | ||
9417653f JB |
74 | %package musicprovider-cdda |
75 | Summary: CD-DA music provider module for FusionSound | |
76 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę CD-DA | |
77 | Group: Libraries | |
78 | Requires: %{name} = %{version}-%{release} | |
79 | ||
80 | %description musicprovider-cdda | |
81 | CD-DA music provider module for FusionSound. | |
82 | ||
83 | %description musicprovider-cdda -l pl.UTF-8 | |
84 | Moduł FusionSound dostarczający muzykę CD-DA. | |
85 | ||
86 | %package musicprovider-ffmpeg | |
87 | Summary: ffmpeg music provider module for FusionSound | |
88 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę przez ffmpeg | |
89 | Group: Libraries | |
90 | Requires: %{name} = %{version}-%{release} | |
91 | ||
92 | %description musicprovider-ffmpeg | |
93 | ffmpeg music provider module for FusionSound. | |
94 | ||
95 | %description musicprovider-ffmpeg -l pl.UTF-8 | |
96 | Moduł FusionSound dostarczający muzykę przez ffmpeg. | |
97 | ||
98 | %package musicprovider-mad | |
99 | Summary: MP3 libmad music provider module for FusionSound | |
100 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę MP3 przez libmad | |
101 | Group: Libraries | |
102 | Requires: %{name} = %{version}-%{release} | |
103 | ||
104 | %description musicprovider-mad | |
105 | MP3 music provider module for FusionSound. | |
106 | ||
107 | %description musicprovider-mad -l pl.UTF-8 | |
108 | Moduł FusionSound dostarczający muzykę MP3 przez libmad. | |
109 | ||
110 | %package musicprovider-timidity | |
111 | Summary: MIDI libtimidity music provider module for FusionSound | |
112 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę MIDI przez libtimidity | |
113 | Group: Libraries | |
114 | Requires: %{name} = %{version}-%{release} | |
115 | ||
116 | %description musicprovider-timidity | |
117 | MIDI libtimidity music provider module for FusionSound. | |
118 | ||
119 | %description musicprovider-timidity -l pl.UTF-8 | |
120 | Moduł FusionSound dostarczający muzykę MIDI przez libtimidity. | |
121 | ||
122 | %package musicprovider-vorbis | |
123 | Summary: Ogg Vorbis music provider module for FusionSound | |
124 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę Ogg Vorbis | |
125 | Group: Libraries | |
126 | Requires: %{name} = %{version}-%{release} | |
127 | ||
128 | %description musicprovider-vorbis | |
129 | Ogg Vorbis music provider module for FusionSound. | |
130 | ||
131 | %description musicprovider-vorbis -l pl.UTF-8 | |
132 | Moduł FusionSound dostarczający muzykę Ogg Vorbis. | |
133 | ||
012b75f2 | 134 | %prep |
9417653f | 135 | %setup -q |
96dc41df | 136 | %patch0 -p1 |
9417653f | 137 | %patch1 -p1 |
b0239a5b | 138 | %patch2 -p1 |
429a2bdd | 139 | |
012b75f2 | 140 | %build |
6f9eae76 | 141 | %{__libtoolize} |
9417653f | 142 | %{__aclocal} -I m4 |
96dc41df | 143 | %{__autoconf} |
6f9eae76 JB |
144 | %{__autoheader} |
145 | %{__automake} | |
012b75f2 | 146 | %configure \ |
147 | --enable-static | |
0b315e2d | 148 | %{__make} |
012b75f2 | 149 | |
150 | %install | |
151 | rm -rf $RPM_BUILD_ROOT | |
152 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
153 | ||
154 | %{__make} install \ | |
155 | DESTDIR=$RPM_BUILD_ROOT | |
156 | ||
9417653f | 157 | install examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
012b75f2 | 158 | |
159 | %clean | |
160 | rm -rf $RPM_BUILD_ROOT | |
161 | ||
162 | %post -p /sbin/ldconfig | |
163 | %postun -p /sbin/ldconfig | |
164 | ||
165 | %files | |
166 | %defattr(644,root,root,755) | |
96dc41df | 167 | %doc AUTHORS ChangeLog TODO docs/html/[!M]* |
429a2bdd | 168 | %attr(755,root,root) %{_bindir}/fsdump |
226eb91d | 169 | %attr(755,root,root) %{_bindir}/fsmaster |
9417653f JB |
170 | %attr(755,root,root) %{_bindir}/fsplay |
171 | %attr(755,root,root) %{_bindir}/fsproxy | |
172 | %attr(755,root,root) %{_bindir}/fsvolume | |
0b315e2d | 173 | %attr(755,root,root) %{_libdir}/libfusionsound-1.6.so.*.*.* |
b86efe20 | 174 | %attr(755,root,root) %ghost %{_libdir}/libfusionsound-1.6.so.2 |
cfc8efb7 JB |
175 | %dir %{dfblibdir}/interfaces/IFusionSound |
176 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSound/libifusionsound.so | |
177 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSound/libifusionsound_dispatcher.so | |
178 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSound/libifusionsound_requestor.so | |
179 | %dir %{dfblibdir}/interfaces/IFusionSoundBuffer | |
180 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundBuffer/libifusionsoundbuffer_dispatcher.so | |
181 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundBuffer/libifusionsoundbuffer_requestor.so | |
182 | %dir %{dfblibdir}/interfaces/IFusionSoundMusicProvider | |
183 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_playlist.so | |
184 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_wave.so | |
185 | %dir %{dfblibdir}/interfaces/IFusionSoundPlayback | |
186 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundPlayback/libifusionsoundplayback_dispatcher.so | |
187 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundPlayback/libifusionsoundplayback_requestor.so | |
188 | %dir %{dfblibdir}/interfaces/IFusionSoundStream | |
189 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundStream/libifusionsoundstream_dispatcher.so | |
190 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundStream/libifusionsoundstream_requestor.so | |
191 | %dir %{dfblibdir}/snddrivers | |
192 | %attr(755,root,root) %{dfblibdir}/snddrivers/libfusionsound_alsa.so | |
18e7ab96 | 193 | %attr(755,root,root) %{dfblibdir}/snddrivers/libfusionsound_dummy.so |
cfc8efb7 JB |
194 | %attr(755,root,root) %{dfblibdir}/snddrivers/libfusionsound_oss.so |
195 | %attr(755,root,root) %{dfblibdir}/snddrivers/libfusionsound_wave.so | |
429a2bdd | 196 | %{_mandir}/man5/fusionsoundrc.5* |
012b75f2 | 197 | |
198 | %files devel | |
199 | %defattr(644,root,root,755) | |
68b7fef9 JB |
200 | %attr(755,root,root) %{_libdir}/libfusionsound.so |
201 | %{_libdir}/libfusionsound.la | |
6f9eae76 | 202 | %{_includedir}/fusionsound |
68b7fef9 | 203 | %{_includedir}/fusionsound-internal |
9417653f JB |
204 | %{_pkgconfigdir}/fusionsound.pc |
205 | %{_pkgconfigdir}/fusionsound-internal.pc | |
012b75f2 | 206 | %{_examplesdir}/%{name}-%{version} |
207 | ||
208 | %files static | |
209 | %defattr(644,root,root,755) | |
68b7fef9 | 210 | %{_libdir}/libfusionsound.a |
6f9eae76 | 211 | # .la makes no sense in -devel (it's module); here for DFB static linking hacks |
cfc8efb7 JB |
212 | %{dfblibdir}/interfaces/IFusionSound/lib*.[la]* |
213 | %{dfblibdir}/interfaces/IFusionSoundBuffer/lib*.[la]* | |
214 | %{dfblibdir}/interfaces/IFusionSoundMusicProvider/lib*.[la]* | |
215 | %{dfblibdir}/interfaces/IFusionSoundPlayback/lib*.[la]* | |
216 | %{dfblibdir}/interfaces/IFusionSoundStream/lib*.[la]* | |
217 | %{dfblibdir}/snddrivers/libfusionsound*.[la]* | |
9417653f JB |
218 | |
219 | %files musicprovider-cdda | |
220 | %defattr(644,root,root,755) | |
cfc8efb7 | 221 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_cdda.so |
9417653f JB |
222 | |
223 | %files musicprovider-ffmpeg | |
224 | %defattr(644,root,root,755) | |
cfc8efb7 | 225 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_ffmpeg.so |
9417653f JB |
226 | |
227 | %files musicprovider-mad | |
228 | %defattr(644,root,root,755) | |
cfc8efb7 | 229 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_mad.so |
9417653f JB |
230 | |
231 | %files musicprovider-timidity | |
232 | %defattr(644,root,root,755) | |
cfc8efb7 | 233 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_timidity.so |
9417653f JB |
234 | |
235 | %files musicprovider-vorbis | |
236 | %defattr(644,root,root,755) | |
cfc8efb7 | 237 | %attr(755,root,root) %{dfblibdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_vorbis.so |