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