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