]>
Commit | Line | Data |
---|---|---|
337b99ea | 1 | # |
2 | # Conditional build | |
3e0935f0 | 3 | %bcond_with esound # build without esound plugin |
5b4b54e4 | 4 | %bcond_without flac # build without FLAC plugin |
5 | %bcond_without jack # build without jack plugin | |
6 | %bcond_without mikmod # build without mikmod plugin | |
7 | %bcond_without nas # build without nas plugin | |
337b99ea | 8 | # |
4302bf8b | 9 | Summary: Alsaplayer - CD/FLAC/MOD/MP3/Ogg/WAV player |
aa542d0b | 10 | Summary(pl.UTF-8): Alsaplayer - odtwarzacz CD/FLAC/MOD/MP3/Ogg/WAV |
f79d02ae | 11 | Name: alsaplayer |
3978f024 | 12 | Version: 0.99.80 |
00f7abc5 | 13 | Release: 3 |
b44cdce7 | 14 | License: GPL v3+ |
46b1d468 | 15 | Group: Applications/Sound |
61da54f2 | 16 | Source0: http://www.alsaplayer.org/%{name}-%{version}.tar.bz2 |
17 | # Source0-md5: 04f8c2321a37d15f40f9ee21251c6202 | |
c8dfdbcd | 18 | Source1: %{name}.desktop |
337b99ea | 19 | Source2: %{name}.png |
9c0e77e3 | 20 | Patch0: %{name}-docs.patch |
00f7abc5 | 21 | Patch1: %{name}-g++.patch |
9c0e77e3 | 22 | URL: http://www.alsaplayer.org/ |
d479e38b | 23 | BuildRequires: OpenGL-devel |
24 | BuildRequires: alsa-lib-devel | |
25 | BuildRequires: audiofile-devel | |
26 | BuildRequires: autoconf | |
27 | BuildRequires: automake | |
aa67f71c | 28 | %{?with_esound:BuildRequires: esound-devel >= 0.2.4} |
f9bd6ffe | 29 | %{?with_flac:BuildRequires: flac-c++-devel >= 1.2.0} |
aa67f71c | 30 | BuildRequires: gtk+2-devel >= 1:2.0.3 |
337b99ea | 31 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.69.1} |
32 | %{?with_flac:BuildRequires: libid3tag-devel} | |
0f25b7a7 | 33 | BuildRequires: libmad-devel |
337b99ea | 34 | %{?with_mikmod:BuildRequires: libmikmod-devel} |
aa67f71c | 35 | BuildRequires: libsndfile-devel >= 1.0.4 |
dadc5112 | 36 | BuildRequires: libstdc++-devel |
d479e38b | 37 | BuildRequires: libtool |
38 | BuildRequires: libvorbis-devel | |
337b99ea | 39 | %{?with_nas:BuildRequires: nas-devel} |
aa67f71c | 40 | BuildRequires: pkgconfig |
d479e38b | 41 | BuildRequires: xosd-devel |
1d73465c | 42 | Requires(post): /sbin/ldconfig |
337b99ea | 43 | Requires: alsaplayer_output |
44 | Requires: alsaplayer_ui | |
b44cdce7 JB |
45 | Suggests: %{name}-input-audiofile |
46 | Suggests: %{name}-input-mad | |
47 | Suggests: %{name}-input-vorbis | |
4d4f8253 | 48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8927a08a | 49 | |
0d2a9f5a AF |
50 | %define _noautoreqdep libGL.so.1 libGLU.so.1 |
51 | %define _pkglibdir %{_libdir}/%{name} | |
0d2a9f5a | 52 | |
8927a08a | 53 | %description |
6e4571c1 | 54 | AlsaPlayer is a new type of PCM player. It is heavily multi-threaded |
c3f685ab | 55 | and tries to exercise the ALSA library and driver quite a bit. |
6e4571c1 | 56 | Features include: |
8927a08a | 57 | |
58 | Input addons: | |
0fbee9ea | 59 | - MP2 and MP3 support |
60 | - Ogg Vorbis support (subpackage) | |
61 | - WAV support, 8-, 16-bit, mono, stereo, any sample rate | |
62 | - CDDA support, CD Digital Audio playback! and thus USB ready :) | |
63 | - Also plays files mapped by audiofs (CDDA) | |
64 | - MAD MPEG audio | |
65 | - Module support (mikmod) (subpcakage) | |
66 | - FLAC support | |
fa53bf85 | 67 | |
8927a08a | 68 | Output addons: |
0fbee9ea | 69 | - ALSA. Best supported of course :) (subpackage) |
70 | - OSS. Kernel native sound drivers | |
71 | - Sparc. UltraSparc sound drivers | |
72 | - SGI. SGI audio library driver | |
73 | - ESD. Enlightened sound daemon support (subpackage) | |
74 | - NAS. Network Audio System (subpakcage) | |
75 | - low latency JACK output | |
76 | - null :-) | |
8927a08a | 77 | |
78 | Visual scopes: | |
0fbee9ea | 79 | - Stereoscope |
80 | - Monoscope | |
81 | - Levelmeter | |
82 | - Spacescope | |
83 | - FFTscope | |
84 | - FFTscope II | |
85 | - Spectrum GL | |
8927a08a | 86 | |
87 | General features: | |
0fbee9ea | 88 | - Full speed (pitch) control, positive *and* negative! (First Linux |
89 | player that does this!! MP3's and CD's do varispeed :) | |
90 | - Queue (playlist) support | |
91 | - Concurrent visual scopes (open as many as you want) | |
92 | - Multi-threaded design for efficient/skip free playback (RT) | |
4c20a058 | 93 | - GUI Interface based on GTK+ |
0fbee9ea | 94 | - NOGUI operation for shell script usage |
95 | - On-screen-display based on xosd | |
96 | - Plug-in core architecture | |
97 | - Low latency mode, as low as 5ms when scheduled RT | |
98 | - Effects stream | |
99 | - Software based volume/pan control | |
100 | - Accurate scope/audio syncing using ALSA features | |
8927a08a | 101 | |
fc4fc5a8 JR |
102 | %description -l pl.UTF-8 |
103 | AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielowątkowy i próbuje | |
104 | solidnie przećwiczyć sterowniki i bibliotekę ALSA. Jego cechy to: | |
105 | ||
106 | Wejście: | |
107 | - obsługa MP2 i MP3 | |
108 | - obsługa Ogg Vorbis (w podpakiecie) | |
109 | - obsługa WAV, 8 i 16-bitowych, mono, stereo o dowolnej częstotliwości | |
110 | - obsługa CD Digital Audio | |
111 | - odtwarzanie plików podmapowanych przez audiofs (CDDA) | |
112 | - obsługa MAD - MPEG Audio | |
113 | - obsługa modułów (mikmod) (w podpakiecie) | |
114 | - obsług bezstratnej kompresji dźwięku FLAC | |
115 | ||
116 | Wyjście: | |
117 | - OSS - natywne sterowniki z jądra | |
118 | - ALSA - oczywiście najlepiej obsługiwana :) (w podpakiecie) | |
119 | - Sparc - sterowniki dźwięku dla UltraSparca | |
120 | - SGI - biblioteka sterowników dźwięku SGI | |
121 | - ESD - obsługa Oświeconego demona dźwięku (w podpakiecie) | |
0fbee9ea | 122 | - NAS - Sieciowego Systemu Audio (w podpakiecie) |
fc4fc5a8 | 123 | - JACK - zestaw połączeń dźwięku o małych opóźnieniach (w podpakiecie) |
0fbee9ea | 124 | - null :-) |
a42091c1 JB |
125 | |
126 | Wizualizacja: | |
0fbee9ea | 127 | - Stereoskop |
128 | - Monoskop | |
fc4fc5a8 JR |
129 | - Wskaźnik poziomu dźwięku |
130 | - Wskaźniki oparte o analizę FFT | |
131 | - analizator spektrum sygnału w oparciu o OpenGL | |
132 | ||
133 | Ogólne cechy: | |
134 | - Kontrola szybkości (w obie strony) | |
135 | - obsługa kolejki (playlisty) | |
136 | - obsługa wielu wskaźników naraz | |
137 | - wielowątkowość | |
138 | - interfejs graficzny bazujący na GTK+ | |
139 | - operacje bez GUI na potrzeby skryptów | |
0fbee9ea | 140 | - tryb Informacje-na-ekranie oparty o xosd |
141 | - architektura wtyczek | |
fc4fc5a8 JR |
142 | - tryb "czasu rzeczywistego" dający opóźnienia rzędu 5ms |
143 | - programowa kontrola głośności i balansu | |
144 | - synchronizacja dźwięku i wskaźników przy użyciu możliwości ALSA | |
a42091c1 | 145 | |
c8dfdbcd | 146 | %package daemon |
147 | Summary: Deamon interface for Alsaplayer | |
aa542d0b | 148 | Summary(pl.UTF-8): Interfejs demona alsaplayera |
46b1d468 | 149 | Group: Applications/Sound |
1d73465c | 150 | Requires: %{name} = %{version}-%{release} |
c8dfdbcd | 151 | |
152 | %description daemon | |
153 | Deamon interface for Alsaplayer. | |
154 | ||
fc4fc5a8 | 155 | %description daemon -l pl.UTF-8 |
c8dfdbcd | 156 | Interfejs demona alsaplayera. |
157 | ||
4386a2bb | 158 | %package input-audiofile |
e36c8eb3 | 159 | Summary: Alsaplayer plugin for playing WAVE audio formats using audiofile |
aa542d0b | 160 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików audio typu WAVE przy użyciu audiofile |
46b1d468 | 161 | Group: Applications/Sound |
1d73465c | 162 | Requires: %{name} = %{version}-%{release} |
4386a2bb | 163 | |
164 | %description input-audiofile | |
e36c8eb3 | 165 | Alsaplayer plugin for playing WAVE audio formats (like AIFF, AIFC, |
46b1d468 | 166 | WAVE, ...) using audiofile library. |
4386a2bb | 167 | |
fc4fc5a8 JR |
168 | %description input-audiofile -l pl.UTF-8 |
169 | Wtyczka alsaplayera do odtwarzania plików audio typu WAVE (AIFF, | |
170 | AIFC, WAVE, ...) przy użyciu biblioteki audiofile. | |
4386a2bb | 171 | |
9c0e77e3 | 172 | %package input-flac |
d479e38b | 173 | Summary: Alsaplayer plugin for playing FLAC files |
aa542d0b | 174 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików FLAC |
d479e38b | 175 | Group: Applications/Sound |
1d73465c | 176 | Requires: %{name} = %{version}-%{release} |
9c0e77e3 | 177 | |
178 | %description input-flac | |
179 | Alsaplayer plugin for playing FLAC files. | |
180 | ||
fc4fc5a8 JR |
181 | %description input-flac -l pl.UTF-8 |
182 | Wtyczka alsaplayera do odtwarzania plików FLAC. | |
9c0e77e3 | 183 | |
0d2a9f5a | 184 | %package input-mad |
90802fc9 | 185 | Summary: Alsaplayer plugin for playing MP3 files using MAD |
aa542d0b | 186 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików MP3 przy pomocy MAD |
46b1d468 | 187 | Group: Applications/Sound |
1d73465c | 188 | Requires: %{name} = %{version}-%{release} |
0d2a9f5a AF |
189 | |
190 | %description input-mad | |
191 | Alsaplayer plugin for playing MP3 files using MAD. | |
192 | ||
fc4fc5a8 JR |
193 | %description input-mad -l pl.UTF-8 |
194 | Wtyczka alsaplayera do odtwarzania plików MP3 przy pomocy MAD. | |
0d2a9f5a | 195 | |
9c0e77e3 | 196 | %package input-mikmod |
197 | Summary: Alsaplayer plugin for playing mod files | |
aa542d0b | 198 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików mod |
46b1d468 | 199 | Group: Applications/Sound |
1d73465c | 200 | Requires: %{name} = %{version}-%{release} |
9c0e77e3 | 201 | |
202 | %description input-mikmod | |
203 | Alsaplayer plugin for playing mod files. | |
204 | ||
fc4fc5a8 JR |
205 | %description input-mikmod -l pl.UTF-8 |
206 | Wtyczka alsaplayera do odtwarzania plików mod. | |
4386a2bb | 207 | |
9c0e77e3 | 208 | %package input-sndfile |
e36c8eb3 | 209 | Summary: Alsaplayer plugin for playing WAVE audio formats using libsndfile |
aa542d0b | 210 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików audio typu WAVE przy użyciu libsndfile |
46b1d468 | 211 | Group: Applications/Sound |
1d73465c | 212 | Requires: %{name} = %{version}-%{release} |
9c0e77e3 | 213 | |
214 | %description input-sndfile | |
e36c8eb3 | 215 | Alsaplayer plugin for playing WAVE audio formats (like AIFF, AIFC, |
46b1d468 | 216 | WAVE, ...) using libsndfile library. |
9c0e77e3 | 217 | |
fc4fc5a8 JR |
218 | %description input-sndfile -l pl.UTF-8 |
219 | Wtyczka do alsaplayera do odtwarzania plików audio typu WAVE (AIFF, | |
220 | AIFC, WAVE, ...) przy użyciu biblioteki libsndfile. | |
9c0e77e3 | 221 | |
222 | %package input-vorbis | |
4302bf8b | 223 | Summary: Alsaplayer plugin for playing Ogg/Vorbis files |
aa542d0b | 224 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików Ogg/Vorbis |
46b1d468 | 225 | Group: Applications/Sound |
1d73465c | 226 | Requires: %{name} = %{version}-%{release} |
9c0e77e3 | 227 | |
228 | %description input-vorbis | |
4302bf8b | 229 | Alsaplayer plugin for playing Ogg/Vorbis files. |
9c0e77e3 | 230 | |
fc4fc5a8 JR |
231 | %description input-vorbis -l pl.UTF-8 |
232 | Wtyczka alsaplayera do odtwarzania plików Ogg/Vorbis. | |
9c0e77e3 | 233 | |
aa67f71c JB |
234 | %package interface-gtk2 |
235 | Summary: GTK+ 2 interface for Alsaplayer | |
236 | Summary(pl.UTF-8): Interfejs GTK+ 2 alsaplayera | |
237 | Group: X11/Applications/Sound | |
238 | Requires: %{name} = %{version}-%{release} | |
239 | Provides: alsaplayer_ui | |
6763184d | 240 | Obsoletes: alsaplayer-interface-gtk |
aa67f71c JB |
241 | |
242 | %description interface-gtk2 | |
243 | GTK+ 2 interface for Alsaplayer. | |
244 | ||
245 | %description interface-gtk2 -l pl.UTF-8 | |
246 | Interfejs GTK+2 alsaplayera. | |
247 | ||
c8dfdbcd | 248 | %package interface-text |
249 | Summary: Text interface for Alsaplayer | |
aa542d0b | 250 | Summary(pl.UTF-8): Interfejs tekstowy alsaplayera |
46b1d468 | 251 | Group: Applications/Sound |
1d73465c | 252 | Requires: %{name} = %{version}-%{release} |
337b99ea | 253 | Provides: alsaplayer_ui |
c8dfdbcd | 254 | |
255 | %description interface-text | |
256 | Text interface for Alsaplayer. | |
257 | ||
fc4fc5a8 | 258 | %description interface-text -l pl.UTF-8 |
c8dfdbcd | 259 | Interfejs tekstowy alsaplayera. |
260 | ||
261 | %package interface-xosd | |
262 | Summary: xosd interface for Alsaplayer | |
aa542d0b | 263 | Summary(pl.UTF-8): Interfejs xosd alsaplayera |
c8dfdbcd | 264 | Group: X11/Applications/Sound |
1d73465c | 265 | Requires: %{name} = %{version}-%{release} |
337b99ea | 266 | Provides: alsaplayer_ui |
c8dfdbcd | 267 | |
268 | %description interface-xosd | |
269 | xosd interface for Alsaplayer. | |
270 | ||
fc4fc5a8 | 271 | %description interface-xosd -l pl.UTF-8 |
c8dfdbcd | 272 | Interfejs xosd alsaplayera. |
9c0e77e3 | 273 | |
274 | %package output-alsa | |
4386a2bb | 275 | Summary: Alsaplayer plugin for playing through alsa drivers |
aa542d0b | 276 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania przez sterowniki alsa |
46b1d468 | 277 | Group: Applications/Sound |
1d73465c | 278 | Requires: %{name} = %{version}-%{release} |
337b99ea | 279 | Provides: alsaplayer_output |
4386a2bb | 280 | |
281 | %description output-alsa | |
282 | Alsaplayer plugin for playing sound through alsa drivers. | |
283 | ||
fc4fc5a8 JR |
284 | %description output-alsa -l pl.UTF-8 |
285 | Wtyczka alsaplayera do odtwarzania dźwięku przez sterowniki alsa. | |
4386a2bb | 286 | |
287 | %package output-esound | |
288 | Summary: Alsaplayer plugin for playing through esound daemon | |
aa542d0b | 289 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania przez demona esound |
46b1d468 | 290 | Group: Applications/Sound |
1d73465c | 291 | Requires: %{name} = %{version}-%{release} |
337b99ea | 292 | Provides: alsaplayer_output |
4386a2bb | 293 | |
294 | %description output-esound | |
295 | Alsaplayer plugin for playing sound through esound daemon. | |
296 | ||
fc4fc5a8 JR |
297 | %description output-esound -l pl.UTF-8 |
298 | Wtyczka alsaplayera do odtwarzania dźwięku przez demona esound. | |
4386a2bb | 299 | |
300 | %package output-nas | |
301 | Summary: Alsaplayer plugin for playing through NAS daemon | |
aa542d0b | 302 | Summary(pl.UTF-8): Wtyczka do alsaplayera do odtwarzania przez demona NAS |
46b1d468 | 303 | Group: Applications/Sound |
1d73465c | 304 | Requires: %{name} = %{version}-%{release} |
337b99ea | 305 | Provides: alsaplayer_output |
4386a2bb | 306 | |
307 | %description output-nas | |
90802fc9 | 308 | Alsaplayer plugin for playing sound through NAS (network audio system) |
309 | daemon. | |
4386a2bb | 310 | |
fc4fc5a8 JR |
311 | %description output-nas -l pl.UTF-8 |
312 | Wtyczka alsaplayera do odtwarzania dźwięku przez demona NAS (network | |
46b1d468 JB |
313 | audio system). |
314 | ||
315 | %package output-jack | |
316 | Summary: Alsaplayer plugin for playing sound through JACK | |
aa542d0b | 317 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania dźwięku przez JACK-a |
46b1d468 | 318 | Group: Applications/Sound |
1d73465c | 319 | Requires: %{name} = %{version}-%{release} |
337b99ea | 320 | Provides: alsaplayer_output |
46b1d468 JB |
321 | |
322 | %description output-jack | |
323 | Alsaplayer plugin for sound through JACK system. | |
324 | ||
fc4fc5a8 JR |
325 | %description output-jack -l pl.UTF-8 |
326 | Wtyczka alsaplayera do odtwarzania dźwięku przez system JACK. | |
4386a2bb | 327 | |
3978f024 | 328 | %package scopes2-gtk |
46b1d468 | 329 | Summary: Alsaplayer plugins for visualization |
aa542d0b | 330 | Summary(pl.UTF-8): Wtyczki alsaplayera do wizualizacji |
0d2a9f5a | 331 | Group: X11/Applications/Multimedia |
1d73465c | 332 | Requires: %{name} = %{version}-%{release} |
3978f024 | 333 | Obsoletes: alsaplayer-scopes-gtk |
0d2a9f5a | 334 | |
3978f024 | 335 | %description scopes2-gtk |
46b1d468 | 336 | Alsaplayer plugins for visualization. |
0d2a9f5a | 337 | |
3978f024 | 338 | %description scopes2-gtk -l pl.UTF-8 |
46b1d468 | 339 | Wtyczki do alsaplayera do wizualizacji. |
90802fc9 | 340 | |
3978f024 | 341 | %package scopes2-opengl |
0d2a9f5a | 342 | Summary: Alsaplayer plugin for visualization using OpenGL |
aa542d0b | 343 | Summary(pl.UTF-8): Wtyczka alsaplayera do wizualizacji z użyciem OpenGL |
0d2a9f5a | 344 | Group: X11/Applications/Multimedia |
1d73465c | 345 | Requires: %{name} = %{version}-%{release} |
dadc5112 | 346 | Requires: OpenGL |
3978f024 | 347 | Obsoletes: alsaplayer-scopes-opengl |
0d2a9f5a | 348 | |
3978f024 | 349 | %description scopes2-opengl |
0d2a9f5a AF |
350 | Alsaplayer plugin for visualization using OpenGL. |
351 | ||
3978f024 | 352 | %description scopes2-opengl -l pl.UTF-8 |
fc4fc5a8 | 353 | Wtyczka do alsaplayera do wizualizacji z użyciem OpenGL. |
90802fc9 | 354 | |
0d2a9f5a | 355 | %package devel |
dadc5112 | 356 | Summary: Alsaplayer header files |
aa542d0b | 357 | Summary(pl.UTF-8): Pliki nagłówkowe Alsaplayera |
46b1d468 | 358 | Group: Development/Libraries |
1d73465c | 359 | Requires: %{name} = %{version}-%{release} |
0d2a9f5a AF |
360 | |
361 | %description devel | |
46b1d468 | 362 | Header files for Alsaplayer library. |
90802fc9 | 363 | |
fc4fc5a8 JR |
364 | %description devel -l pl.UTF-8 |
365 | Pliki nagłówkowe biblioteki Alsaplayera. | |
4386a2bb | 366 | |
9c0e77e3 | 367 | %package static |
dadc5112 | 368 | Summary: Alsaplayer static library |
aa542d0b | 369 | Summary(pl.UTF-8): Biblioteka statyczna Alsaplayera |
46b1d468 | 370 | Group: Development/Libraries |
1d73465c | 371 | Requires: %{name}-devel = %{version}-%{release} |
9c0e77e3 | 372 | |
373 | %description static | |
dadc5112 | 374 | Alsaplayer static library. |
9c0e77e3 | 375 | |
fc4fc5a8 | 376 | %description static -l pl.UTF-8 |
dadc5112 | 377 | Biblioteka statyczna Alsaplayera. |
9c0e77e3 | 378 | |
8927a08a | 379 | %prep |
61da54f2 | 380 | %setup -q |
9c0e77e3 | 381 | %patch0 -p1 |
00f7abc5 | 382 | %patch1 -p1 |
8927a08a | 383 | |
384 | %build | |
cefd3f73 | 385 | rm -f missing |
9516d46e | 386 | %{__libtoolize} |
0bea0f83 | 387 | %{__aclocal} |
4f69f1aa | 388 | %{__autoconf} |
389 | %{__automake} | |
0d2a9f5a AF |
390 | CPPFLAGS=" -I/usr/X11R6/include" |
391 | LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib" | |
392 | export CPPFLAGS LDFLAGS | |
4386a2bb | 393 | %configure \ |
337b99ea | 394 | %{?with_esound:--en}%{!?with_esound:--dis}able-esd \ |
395 | %{?with_flac:--en}%{!?with_flac:--dis}able-flac \ | |
3978f024 | 396 | %{?with_flac:--en}%{!?with_flac:--dis}able-oggflac \ |
337b99ea | 397 | %{?with_jack:--en}%{!?with_jack:--dis}able-jack \ |
398 | %{?with_mikmod:--en}%{!?with_mikmod:--dis}able-mikmod \ | |
399 | %{?with_nas:--en}%{!?with_nas:--dis}able-nas \ | |
400 | %{?with_esound:--en}%{!?with_esound:--dis}able-esd \ | |
4386a2bb | 401 | --enable-alsa \ |
402 | --enable-audiofile \ | |
3978f024 | 403 | --enable-gtk2 \ |
9c0e77e3 | 404 | --enable-oggflac \ |
4386a2bb | 405 | --enable-oggvorbis \ |
406 | --enable-opengl \ | |
407 | --enable-oss \ | |
09ccddef | 408 | --enable-static |
4386a2bb | 409 | |
c8c462fe | 410 | %{__make} |
8927a08a | 411 | |
412 | %install | |
46f3c363 | 413 | rm -rf $RPM_BUILD_ROOT |
337b99ea | 414 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
46f3c363 | 415 | |
4386a2bb | 416 | %{__make} install \ |
0d2a9f5a AF |
417 | DESTDIR=$RPM_BUILD_ROOT \ |
418 | pkgconfigdir=%{_pkgconfigdir} | |
4386a2bb | 419 | |
15c5bd4c | 420 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
421 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
c8dfdbcd | 422 | |
dadc5112 | 423 | rm -f $RPM_BUILD_ROOT%{_pkglibdir}/input/*.{a,la} |
424 | rm -f $RPM_BUILD_ROOT%{_pkglibdir}/interface/*.{a,la} | |
425 | rm -f $RPM_BUILD_ROOT%{_pkglibdir}/output/*.{a,la} | |
426 | rm -f $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la} | |
3978f024 JR |
427 | rm -f $RPM_BUILD_ROOT%{_pkglibdir}/scopes2/*.{a,la} |
428 | ||
6763184d | 429 | %find_lang %{name} |
dadc5112 | 430 | |
8927a08a | 431 | %clean |
432 | rm -rf $RPM_BUILD_ROOT | |
433 | ||
b44cdce7 | 434 | %post -p /sbin/ldconfig |
dadc5112 | 435 | %postun -p /sbin/ldconfig |
436 | ||
3978f024 | 437 | %files -f %{name}.lang |
46f3c363 | 438 | %defattr(644,root,root,755) |
684cd9a3 | 439 | %doc AUTHORS README ChangeLog |
46f3c363 | 440 | %attr(755,root,root) %{_bindir}/alsaplayer |
b44cdce7 JB |
441 | %attr(755,root,root) %{_libdir}/libalsaplayer.so.*.*.* |
442 | %attr(755,root,root) %ghost %{_libdir}/libalsaplayer.so.0 | |
4386a2bb | 443 | %dir %{_pkglibdir} |
444 | %dir %{_pkglibdir}/input | |
9c0e77e3 | 445 | %dir %{_pkglibdir}/interface |
446 | %dir %{_pkglibdir}/output | |
447 | %dir %{_pkglibdir}/reader | |
3978f024 | 448 | %dir %{_pkglibdir}/scopes2 |
99c70596 | 449 | %attr(755,root,root) %{_pkglibdir}/input/libcdda.so |
99c70596 | 450 | %attr(755,root,root) %{_pkglibdir}/input/libwav.so |
c06fc5a4 | 451 | %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so |
c06fc5a4 | 452 | %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so |
0d2a9f5a | 453 | %attr(755,root,root) %{_pkglibdir}/reader/libfile.so |
0d2a9f5a | 454 | %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so |
4386a2bb | 455 | %{_mandir}/man*/* |
c8dfdbcd | 456 | %{_desktopdir}/%{name}.desktop |
337b99ea | 457 | %{_pixmapsdir}/%{name}.png |
4386a2bb | 458 | |
7b5f3111 | 459 | %files daemon |
90802fc9 | 460 | %defattr(644,root,root,755) |
9c0e77e3 | 461 | %attr(755,root,root) %{_pkglibdir}/interface/libdaemon_interface.so |
9c0e77e3 | 462 | |
aa67f71c JB |
463 | %files interface-gtk2 |
464 | %defattr(644,root,root,755) | |
465 | %attr(755,root,root) %{_pkglibdir}/interface/libgtk2_interface.so | |
466 | ||
9c0e77e3 | 467 | %files interface-text |
99c70596 | 468 | %defattr(644,root,root,755) |
9c0e77e3 | 469 | %attr(755,root,root) %{_pkglibdir}/interface/libtext_interface.so |
4386a2bb | 470 | |
9c0e77e3 | 471 | %files interface-xosd |
99c70596 | 472 | %defattr(644,root,root,755) |
9c0e77e3 | 473 | %attr(755,root,root) %{_pkglibdir}/interface/libxosd_interface.so |
4386a2bb | 474 | |
475 | %files input-audiofile | |
99c70596 | 476 | %defattr(644,root,root,755) |
477 | %attr(755,root,root) %{_pkglibdir}/input/libaf.so | |
4386a2bb | 478 | |
337b99ea | 479 | %if %{with flac} |
9c0e77e3 | 480 | %files input-flac |
481 | %defattr(644,root,root,755) | |
482 | %attr(755,root,root) %{_pkglibdir}/input/libflac_in.so | |
337b99ea | 483 | %endif |
9c0e77e3 | 484 | |
0d2a9f5a | 485 | %files input-mad |
90802fc9 | 486 | %defattr(644,root,root,755) |
0d2a9f5a | 487 | %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so |
0d2a9f5a | 488 | |
337b99ea | 489 | %if %{with mikmod} |
9c0e77e3 | 490 | %files input-mikmod |
491 | %defattr(644,root,root,755) | |
492 | %attr(755,root,root) %{_pkglibdir}/input/libmod.so | |
337b99ea | 493 | %endif |
9c0e77e3 | 494 | |
495 | %files input-sndfile | |
496 | %defattr(644,root,root,755) | |
497 | %attr(755,root,root) %{_pkglibdir}/input/libsndfile_in.so | |
9c0e77e3 | 498 | |
499 | %files input-vorbis | |
500 | %defattr(644,root,root,755) | |
501 | %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so | |
9c0e77e3 | 502 | |
4386a2bb | 503 | %files output-alsa |
99c70596 | 504 | %defattr(644,root,root,755) |
c06fc5a4 | 505 | %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so |
4386a2bb | 506 | |
337b99ea | 507 | %if %{with esound} |
4386a2bb | 508 | %files output-esound |
99c70596 | 509 | %defattr(644,root,root,755) |
c06fc5a4 | 510 | %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so |
337b99ea | 511 | %endif |
4386a2bb | 512 | |
337b99ea | 513 | %if %{with jack} |
9c0e77e3 | 514 | %files output-jack |
515 | %defattr(644,root,root,755) | |
9c0e77e3 | 516 | %attr(755,root,root) %{_pkglibdir}/output/libjack_out.so |
337b99ea | 517 | %endif |
9c0e77e3 | 518 | |
337b99ea | 519 | %if %{with nas} |
4386a2bb | 520 | %files output-nas |
99c70596 | 521 | %defattr(644,root,root,755) |
c06fc5a4 | 522 | %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so |
337b99ea | 523 | %endif |
0d2a9f5a | 524 | |
3978f024 | 525 | %files scopes2-gtk |
9c0e77e3 | 526 | %defattr(644,root,root,755) |
3978f024 JR |
527 | %attr(755,root,root) %{_pkglibdir}/scopes2/libblurscope.so |
528 | %attr(755,root,root) %{_pkglibdir}/scopes2/liblevelmeter.so | |
529 | %attr(755,root,root) %{_pkglibdir}/scopes2/liblogbarfft.so | |
530 | %attr(755,root,root) %{_pkglibdir}/scopes2/libmonoscope.so | |
531 | %attr(755,root,root) %{_pkglibdir}/scopes2/libspacescope.so | |
532 | %attr(755,root,root) %{_pkglibdir}/scopes2/libsynaescope.so | |
533 | ||
534 | %files scopes2-opengl | |
9c0e77e3 | 535 | %defattr(644,root,root,755) |
3978f024 | 536 | %attr(755,root,root) %{_pkglibdir}/scopes2/liboglspectrum.so |
0d2a9f5a AF |
537 | |
538 | %files devel | |
90802fc9 | 539 | %defattr(644,root,root,755) |
46b1d468 | 540 | %attr(755,root,root) %{_libdir}/libalsaplayer.so |
0d2a9f5a | 541 | %{_libdir}/libalsaplayer.la |
46b1d468 | 542 | %{_includedir}/alsaplayer |
0d2a9f5a | 543 | %{_pkgconfigdir}/alsaplayer.pc |
9c0e77e3 | 544 | |
545 | %files static | |
546 | %defattr(644,root,root,755) | |
547 | %{_libdir}/libalsaplayer.a |