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