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