]>
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 |
62800059 | 12 | Version: 0.99.81 |
ffa28f58 | 13 | Release: 2 |
b44cdce7 | 14 | License: GPL v3+ |
46b1d468 | 15 | Group: Applications/Sound |
61da54f2 | 16 | Source0: http://www.alsaplayer.org/%{name}-%{version}.tar.bz2 |
62800059 | 17 | # Source0-md5: 845c53975791ba342e316ceac8aa1527 |
c8dfdbcd | 18 | Source1: %{name}.desktop |
337b99ea | 19 | Source2: %{name}.png |
9c0e77e3 | 20 | Patch0: %{name}-docs.patch |
9c0e77e3 | 21 | URL: http://www.alsaplayer.org/ |
d479e38b | 22 | BuildRequires: OpenGL-devel |
23 | BuildRequires: alsa-lib-devel | |
48d29f4c JB |
24 | BuildRequires: audiofile-devel >= 0.1.7 |
25 | BuildRequires: autoconf >= 2.50 | |
d479e38b | 26 | BuildRequires: automake |
aa67f71c | 27 | %{?with_esound:BuildRequires: esound-devel >= 0.2.4} |
f9bd6ffe | 28 | %{?with_flac:BuildRequires: flac-c++-devel >= 1.2.0} |
48d29f4c JB |
29 | BuildRequires: glib2-devel >= 2.0.3 |
30 | BuildRequires: gtk+2-devel >= 2:2.10.0 | |
337b99ea | 31 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.69.1} |
32 | %{?with_flac:BuildRequires: libid3tag-devel} | |
0f25b7a7 | 33 | BuildRequires: libmad-devel |
48d29f4c | 34 | %{?with_mikmod:BuildRequires: libmikmod-devel >= 3.1.7} |
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} |
48d29f4c | 163 | Requires: audiofile >= 0.1.7 |
4386a2bb | 164 | |
165 | %description input-audiofile | |
e36c8eb3 | 166 | Alsaplayer plugin for playing WAVE audio formats (like AIFF, AIFC, |
46b1d468 | 167 | WAVE, ...) using audiofile library. |
4386a2bb | 168 | |
fc4fc5a8 JR |
169 | %description input-audiofile -l pl.UTF-8 |
170 | Wtyczka alsaplayera do odtwarzania plików audio typu WAVE (AIFF, | |
171 | AIFC, WAVE, ...) przy użyciu biblioteki audiofile. | |
4386a2bb | 172 | |
9c0e77e3 | 173 | %package input-flac |
d479e38b | 174 | Summary: Alsaplayer plugin for playing FLAC files |
aa542d0b | 175 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików FLAC |
d479e38b | 176 | Group: Applications/Sound |
1d73465c | 177 | Requires: %{name} = %{version}-%{release} |
9c0e77e3 | 178 | |
179 | %description input-flac | |
180 | Alsaplayer plugin for playing FLAC files. | |
181 | ||
fc4fc5a8 JR |
182 | %description input-flac -l pl.UTF-8 |
183 | Wtyczka alsaplayera do odtwarzania plików FLAC. | |
9c0e77e3 | 184 | |
0d2a9f5a | 185 | %package input-mad |
90802fc9 | 186 | Summary: Alsaplayer plugin for playing MP3 files using MAD |
aa542d0b | 187 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików MP3 przy pomocy MAD |
46b1d468 | 188 | Group: Applications/Sound |
1d73465c | 189 | Requires: %{name} = %{version}-%{release} |
0d2a9f5a AF |
190 | |
191 | %description input-mad | |
192 | Alsaplayer plugin for playing MP3 files using MAD. | |
193 | ||
fc4fc5a8 JR |
194 | %description input-mad -l pl.UTF-8 |
195 | Wtyczka alsaplayera do odtwarzania plików MP3 przy pomocy MAD. | |
0d2a9f5a | 196 | |
9c0e77e3 | 197 | %package input-mikmod |
198 | Summary: Alsaplayer plugin for playing mod files | |
aa542d0b | 199 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików mod |
46b1d468 | 200 | Group: Applications/Sound |
1d73465c | 201 | Requires: %{name} = %{version}-%{release} |
48d29f4c | 202 | Requires: libmikmod >= 3.1.7 |
9c0e77e3 | 203 | |
204 | %description input-mikmod | |
205 | Alsaplayer plugin for playing mod files. | |
206 | ||
fc4fc5a8 JR |
207 | %description input-mikmod -l pl.UTF-8 |
208 | Wtyczka alsaplayera do odtwarzania plików mod. | |
4386a2bb | 209 | |
9c0e77e3 | 210 | %package input-sndfile |
e36c8eb3 | 211 | Summary: Alsaplayer plugin for playing WAVE audio formats using libsndfile |
aa542d0b | 212 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików audio typu WAVE przy użyciu libsndfile |
46b1d468 | 213 | Group: Applications/Sound |
1d73465c | 214 | Requires: %{name} = %{version}-%{release} |
48d29f4c | 215 | Requires: libsndfile >= 1.0.4 |
9c0e77e3 | 216 | |
217 | %description input-sndfile | |
e36c8eb3 | 218 | Alsaplayer plugin for playing WAVE audio formats (like AIFF, AIFC, |
46b1d468 | 219 | WAVE, ...) using libsndfile library. |
9c0e77e3 | 220 | |
fc4fc5a8 JR |
221 | %description input-sndfile -l pl.UTF-8 |
222 | Wtyczka do alsaplayera do odtwarzania plików audio typu WAVE (AIFF, | |
223 | AIFC, WAVE, ...) przy użyciu biblioteki libsndfile. | |
9c0e77e3 | 224 | |
225 | %package input-vorbis | |
4302bf8b | 226 | Summary: Alsaplayer plugin for playing Ogg/Vorbis files |
aa542d0b | 227 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania plików Ogg/Vorbis |
46b1d468 | 228 | Group: Applications/Sound |
1d73465c | 229 | Requires: %{name} = %{version}-%{release} |
9c0e77e3 | 230 | |
231 | %description input-vorbis | |
4302bf8b | 232 | Alsaplayer plugin for playing Ogg/Vorbis files. |
9c0e77e3 | 233 | |
fc4fc5a8 JR |
234 | %description input-vorbis -l pl.UTF-8 |
235 | Wtyczka alsaplayera do odtwarzania plików Ogg/Vorbis. | |
9c0e77e3 | 236 | |
aa67f71c JB |
237 | %package interface-gtk2 |
238 | Summary: GTK+ 2 interface for Alsaplayer | |
239 | Summary(pl.UTF-8): Interfejs GTK+ 2 alsaplayera | |
240 | Group: X11/Applications/Sound | |
241 | Requires: %{name} = %{version}-%{release} | |
48d29f4c | 242 | Requires: gtk+2 >= 2:2.10.0 |
aa67f71c | 243 | Provides: alsaplayer_ui |
6763184d | 244 | Obsoletes: alsaplayer-interface-gtk |
aa67f71c JB |
245 | |
246 | %description interface-gtk2 | |
247 | GTK+ 2 interface for Alsaplayer. | |
248 | ||
249 | %description interface-gtk2 -l pl.UTF-8 | |
250 | Interfejs GTK+2 alsaplayera. | |
251 | ||
c8dfdbcd | 252 | %package interface-text |
253 | Summary: Text interface for Alsaplayer | |
aa542d0b | 254 | Summary(pl.UTF-8): Interfejs tekstowy alsaplayera |
46b1d468 | 255 | Group: Applications/Sound |
1d73465c | 256 | Requires: %{name} = %{version}-%{release} |
337b99ea | 257 | Provides: alsaplayer_ui |
c8dfdbcd | 258 | |
259 | %description interface-text | |
260 | Text interface for Alsaplayer. | |
261 | ||
fc4fc5a8 | 262 | %description interface-text -l pl.UTF-8 |
c8dfdbcd | 263 | Interfejs tekstowy alsaplayera. |
264 | ||
265 | %package interface-xosd | |
266 | Summary: xosd interface for Alsaplayer | |
aa542d0b | 267 | Summary(pl.UTF-8): Interfejs xosd alsaplayera |
c8dfdbcd | 268 | Group: X11/Applications/Sound |
1d73465c | 269 | Requires: %{name} = %{version}-%{release} |
337b99ea | 270 | Provides: alsaplayer_ui |
c8dfdbcd | 271 | |
272 | %description interface-xosd | |
273 | xosd interface for Alsaplayer. | |
274 | ||
fc4fc5a8 | 275 | %description interface-xosd -l pl.UTF-8 |
c8dfdbcd | 276 | Interfejs xosd alsaplayera. |
9c0e77e3 | 277 | |
278 | %package output-alsa | |
4386a2bb | 279 | Summary: Alsaplayer plugin for playing through alsa drivers |
aa542d0b | 280 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania przez sterowniki alsa |
46b1d468 | 281 | Group: Applications/Sound |
1d73465c | 282 | Requires: %{name} = %{version}-%{release} |
337b99ea | 283 | Provides: alsaplayer_output |
4386a2bb | 284 | |
285 | %description output-alsa | |
286 | Alsaplayer plugin for playing sound through alsa drivers. | |
287 | ||
fc4fc5a8 JR |
288 | %description output-alsa -l pl.UTF-8 |
289 | Wtyczka alsaplayera do odtwarzania dźwięku przez sterowniki alsa. | |
4386a2bb | 290 | |
291 | %package output-esound | |
292 | Summary: Alsaplayer plugin for playing through esound daemon | |
aa542d0b | 293 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania przez demona esound |
46b1d468 | 294 | Group: Applications/Sound |
1d73465c | 295 | Requires: %{name} = %{version}-%{release} |
48d29f4c | 296 | Requires: esound-libs >= 0.2.4 |
337b99ea | 297 | Provides: alsaplayer_output |
4386a2bb | 298 | |
299 | %description output-esound | |
300 | Alsaplayer plugin for playing sound through esound daemon. | |
301 | ||
fc4fc5a8 JR |
302 | %description output-esound -l pl.UTF-8 |
303 | Wtyczka alsaplayera do odtwarzania dźwięku przez demona esound. | |
4386a2bb | 304 | |
305 | %package output-nas | |
306 | Summary: Alsaplayer plugin for playing through NAS daemon | |
aa542d0b | 307 | Summary(pl.UTF-8): Wtyczka do alsaplayera do odtwarzania przez demona NAS |
46b1d468 | 308 | Group: Applications/Sound |
1d73465c | 309 | Requires: %{name} = %{version}-%{release} |
337b99ea | 310 | Provides: alsaplayer_output |
4386a2bb | 311 | |
312 | %description output-nas | |
90802fc9 | 313 | Alsaplayer plugin for playing sound through NAS (network audio system) |
314 | daemon. | |
4386a2bb | 315 | |
fc4fc5a8 JR |
316 | %description output-nas -l pl.UTF-8 |
317 | Wtyczka alsaplayera do odtwarzania dźwięku przez demona NAS (network | |
46b1d468 JB |
318 | audio system). |
319 | ||
320 | %package output-jack | |
321 | Summary: Alsaplayer plugin for playing sound through JACK | |
aa542d0b | 322 | Summary(pl.UTF-8): Wtyczka alsaplayera do odtwarzania dźwięku przez JACK-a |
46b1d468 | 323 | Group: Applications/Sound |
1d73465c | 324 | Requires: %{name} = %{version}-%{release} |
48d29f4c | 325 | Requires: jack-audio-connection-kit-libs >= 0.69.1 |
337b99ea | 326 | Provides: alsaplayer_output |
46b1d468 JB |
327 | |
328 | %description output-jack | |
329 | Alsaplayer plugin for sound through JACK system. | |
330 | ||
fc4fc5a8 JR |
331 | %description output-jack -l pl.UTF-8 |
332 | Wtyczka alsaplayera do odtwarzania dźwięku przez system JACK. | |
4386a2bb | 333 | |
3978f024 | 334 | %package scopes2-gtk |
46b1d468 | 335 | Summary: Alsaplayer plugins for visualization |
aa542d0b | 336 | Summary(pl.UTF-8): Wtyczki alsaplayera do wizualizacji |
0d2a9f5a | 337 | Group: X11/Applications/Multimedia |
1d73465c | 338 | Requires: %{name} = %{version}-%{release} |
3978f024 | 339 | Obsoletes: alsaplayer-scopes-gtk |
0d2a9f5a | 340 | |
3978f024 | 341 | %description scopes2-gtk |
46b1d468 | 342 | Alsaplayer plugins for visualization. |
0d2a9f5a | 343 | |
3978f024 | 344 | %description scopes2-gtk -l pl.UTF-8 |
46b1d468 | 345 | Wtyczki do alsaplayera do wizualizacji. |
90802fc9 | 346 | |
3978f024 | 347 | %package scopes2-opengl |
0d2a9f5a | 348 | Summary: Alsaplayer plugin for visualization using OpenGL |
aa542d0b | 349 | Summary(pl.UTF-8): Wtyczka alsaplayera do wizualizacji z użyciem OpenGL |
0d2a9f5a | 350 | Group: X11/Applications/Multimedia |
1d73465c | 351 | Requires: %{name} = %{version}-%{release} |
dadc5112 | 352 | Requires: OpenGL |
3978f024 | 353 | Obsoletes: alsaplayer-scopes-opengl |
0d2a9f5a | 354 | |
3978f024 | 355 | %description scopes2-opengl |
0d2a9f5a AF |
356 | Alsaplayer plugin for visualization using OpenGL. |
357 | ||
3978f024 | 358 | %description scopes2-opengl -l pl.UTF-8 |
fc4fc5a8 | 359 | Wtyczka do alsaplayera do wizualizacji z użyciem OpenGL. |
90802fc9 | 360 | |
0d2a9f5a | 361 | %package devel |
dadc5112 | 362 | Summary: Alsaplayer header files |
aa542d0b | 363 | Summary(pl.UTF-8): Pliki nagłówkowe Alsaplayera |
46b1d468 | 364 | Group: Development/Libraries |
1d73465c | 365 | Requires: %{name} = %{version}-%{release} |
0d2a9f5a AF |
366 | |
367 | %description devel | |
46b1d468 | 368 | Header files for Alsaplayer library. |
90802fc9 | 369 | |
fc4fc5a8 JR |
370 | %description devel -l pl.UTF-8 |
371 | Pliki nagłówkowe biblioteki Alsaplayera. | |
4386a2bb | 372 | |
9c0e77e3 | 373 | %package static |
dadc5112 | 374 | Summary: Alsaplayer static library |
aa542d0b | 375 | Summary(pl.UTF-8): Biblioteka statyczna Alsaplayera |
46b1d468 | 376 | Group: Development/Libraries |
1d73465c | 377 | Requires: %{name}-devel = %{version}-%{release} |
9c0e77e3 | 378 | |
379 | %description static | |
dadc5112 | 380 | Alsaplayer static library. |
9c0e77e3 | 381 | |
fc4fc5a8 | 382 | %description static -l pl.UTF-8 |
dadc5112 | 383 | Biblioteka statyczna Alsaplayera. |
9c0e77e3 | 384 | |
8927a08a | 385 | %prep |
61da54f2 | 386 | %setup -q |
9c0e77e3 | 387 | %patch0 -p1 |
8927a08a | 388 | |
389 | %build | |
9516d46e | 390 | %{__libtoolize} |
0bea0f83 | 391 | %{__aclocal} |
4f69f1aa | 392 | %{__autoconf} |
48d29f4c | 393 | %{__autoheader} |
4f69f1aa | 394 | %{__automake} |
4386a2bb | 395 | %configure \ |
396 | --enable-alsa \ | |
397 | --enable-audiofile \ | |
48d29f4c JB |
398 | --enable-esd%{!?with_esound:=no} \ |
399 | --enable-flac%{!?with_flac:=no} \ | |
3978f024 | 400 | --enable-gtk2 \ |
48d29f4c JB |
401 | --enable-jack%{!?with_jack:=no} \ |
402 | --enable-mikmod%{!?with_mikmod:=no} \ | |
403 | --enable-nas%{!?with_nas:=no} \ | |
404 | --enable-oggflac%{!?with_flac:=no} \ | |
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 \ |
48d29f4c | 417 | DESTDIR=$RPM_BUILD_ROOT |
4386a2bb | 418 | |
15c5bd4c | 419 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
420 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
c8dfdbcd | 421 | |
48d29f4c JB |
422 | %{__rm} $RPM_BUILD_ROOT%{_pkglibdir}/input/*.{a,la} |
423 | %{__rm} $RPM_BUILD_ROOT%{_pkglibdir}/interface/*.{a,la} | |
424 | %{__rm} $RPM_BUILD_ROOT%{_pkglibdir}/output/*.{a,la} | |
425 | %{__rm} $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la} | |
426 | %{__rm} $RPM_BUILD_ROOT%{_pkglibdir}/scopes2/*.{a,la} | |
3978f024 | 427 | |
6763184d | 428 | %find_lang %{name} |
dadc5112 | 429 | |
8927a08a | 430 | %clean |
431 | rm -rf $RPM_BUILD_ROOT | |
432 | ||
b44cdce7 | 433 | %post -p /sbin/ldconfig |
dadc5112 | 434 | %postun -p /sbin/ldconfig |
435 | ||
3978f024 | 436 | %files -f %{name}.lang |
46f3c363 | 437 | %defattr(644,root,root,755) |
684cd9a3 | 438 | %doc AUTHORS README ChangeLog |
46f3c363 | 439 | %attr(755,root,root) %{_bindir}/alsaplayer |
b44cdce7 JB |
440 | %attr(755,root,root) %{_libdir}/libalsaplayer.so.*.*.* |
441 | %attr(755,root,root) %ghost %{_libdir}/libalsaplayer.so.0 | |
4386a2bb | 442 | %dir %{_pkglibdir} |
443 | %dir %{_pkglibdir}/input | |
9c0e77e3 | 444 | %dir %{_pkglibdir}/interface |
445 | %dir %{_pkglibdir}/output | |
446 | %dir %{_pkglibdir}/reader | |
3978f024 | 447 | %dir %{_pkglibdir}/scopes2 |
99c70596 | 448 | %attr(755,root,root) %{_pkglibdir}/input/libcdda.so |
99c70596 | 449 | %attr(755,root,root) %{_pkglibdir}/input/libwav.so |
c06fc5a4 | 450 | %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so |
c06fc5a4 | 451 | %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so |
0d2a9f5a | 452 | %attr(755,root,root) %{_pkglibdir}/reader/libfile.so |
0d2a9f5a | 453 | %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so |
4386a2bb | 454 | %{_mandir}/man*/* |
c8dfdbcd | 455 | %{_desktopdir}/%{name}.desktop |
337b99ea | 456 | %{_pixmapsdir}/%{name}.png |
4386a2bb | 457 | |
7b5f3111 | 458 | %files daemon |
90802fc9 | 459 | %defattr(644,root,root,755) |
9c0e77e3 | 460 | %attr(755,root,root) %{_pkglibdir}/interface/libdaemon_interface.so |
9c0e77e3 | 461 | |
aa67f71c JB |
462 | %files interface-gtk2 |
463 | %defattr(644,root,root,755) | |
464 | %attr(755,root,root) %{_pkglibdir}/interface/libgtk2_interface.so | |
465 | ||
9c0e77e3 | 466 | %files interface-text |
99c70596 | 467 | %defattr(644,root,root,755) |
9c0e77e3 | 468 | %attr(755,root,root) %{_pkglibdir}/interface/libtext_interface.so |
4386a2bb | 469 | |
9c0e77e3 | 470 | %files interface-xosd |
99c70596 | 471 | %defattr(644,root,root,755) |
9c0e77e3 | 472 | %attr(755,root,root) %{_pkglibdir}/interface/libxosd_interface.so |
4386a2bb | 473 | |
474 | %files input-audiofile | |
99c70596 | 475 | %defattr(644,root,root,755) |
476 | %attr(755,root,root) %{_pkglibdir}/input/libaf.so | |
4386a2bb | 477 | |
337b99ea | 478 | %if %{with flac} |
9c0e77e3 | 479 | %files input-flac |
480 | %defattr(644,root,root,755) | |
481 | %attr(755,root,root) %{_pkglibdir}/input/libflac_in.so | |
337b99ea | 482 | %endif |
9c0e77e3 | 483 | |
0d2a9f5a | 484 | %files input-mad |
90802fc9 | 485 | %defattr(644,root,root,755) |
0d2a9f5a | 486 | %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so |
0d2a9f5a | 487 | |
337b99ea | 488 | %if %{with mikmod} |
9c0e77e3 | 489 | %files input-mikmod |
490 | %defattr(644,root,root,755) | |
491 | %attr(755,root,root) %{_pkglibdir}/input/libmod.so | |
337b99ea | 492 | %endif |
9c0e77e3 | 493 | |
494 | %files input-sndfile | |
495 | %defattr(644,root,root,755) | |
496 | %attr(755,root,root) %{_pkglibdir}/input/libsndfile_in.so | |
9c0e77e3 | 497 | |
498 | %files input-vorbis | |
499 | %defattr(644,root,root,755) | |
500 | %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so | |
9c0e77e3 | 501 | |
4386a2bb | 502 | %files output-alsa |
99c70596 | 503 | %defattr(644,root,root,755) |
c06fc5a4 | 504 | %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so |
4386a2bb | 505 | |
337b99ea | 506 | %if %{with esound} |
4386a2bb | 507 | %files output-esound |
99c70596 | 508 | %defattr(644,root,root,755) |
c06fc5a4 | 509 | %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so |
337b99ea | 510 | %endif |
4386a2bb | 511 | |
337b99ea | 512 | %if %{with jack} |
9c0e77e3 | 513 | %files output-jack |
514 | %defattr(644,root,root,755) | |
9c0e77e3 | 515 | %attr(755,root,root) %{_pkglibdir}/output/libjack_out.so |
337b99ea | 516 | %endif |
9c0e77e3 | 517 | |
337b99ea | 518 | %if %{with nas} |
4386a2bb | 519 | %files output-nas |
99c70596 | 520 | %defattr(644,root,root,755) |
c06fc5a4 | 521 | %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so |
337b99ea | 522 | %endif |
0d2a9f5a | 523 | |
3978f024 | 524 | %files scopes2-gtk |
9c0e77e3 | 525 | %defattr(644,root,root,755) |
3978f024 JR |
526 | %attr(755,root,root) %{_pkglibdir}/scopes2/libblurscope.so |
527 | %attr(755,root,root) %{_pkglibdir}/scopes2/liblevelmeter.so | |
528 | %attr(755,root,root) %{_pkglibdir}/scopes2/liblogbarfft.so | |
529 | %attr(755,root,root) %{_pkglibdir}/scopes2/libmonoscope.so | |
530 | %attr(755,root,root) %{_pkglibdir}/scopes2/libspacescope.so | |
531 | %attr(755,root,root) %{_pkglibdir}/scopes2/libsynaescope.so | |
532 | ||
533 | %files scopes2-opengl | |
9c0e77e3 | 534 | %defattr(644,root,root,755) |
3978f024 | 535 | %attr(755,root,root) %{_pkglibdir}/scopes2/liboglspectrum.so |
0d2a9f5a AF |
536 | |
537 | %files devel | |
90802fc9 | 538 | %defattr(644,root,root,755) |
46b1d468 | 539 | %attr(755,root,root) %{_libdir}/libalsaplayer.so |
0d2a9f5a | 540 | %{_libdir}/libalsaplayer.la |
46b1d468 | 541 | %{_includedir}/alsaplayer |
0d2a9f5a | 542 | %{_pkgconfigdir}/alsaplayer.pc |
9c0e77e3 | 543 | |
544 | %files static | |
545 | %defattr(644,root,root,755) | |
546 | %{_libdir}/libalsaplayer.a |