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