]>
Commit | Line | Data |
---|---|---|
93d894f1 | 1 | # Conditional build: |
2 | # --without aa | |
940e1261 | 3 | # --without alsa |
93d894f1 | 4 | # --without arts |
940e1261 | 5 | # --with directfb |
93d894f1 | 6 | # --with dxr3 |
940e1261 | 7 | # --without esd |
4188bf79 | 8 | # --without opengl |
940e1261 | 9 | # --without sdl |
10 | # --without xvid | |
11 | ||
12 | %ifarch alpha | |
13 | %define _without_arts 1 | |
ab05073a | 14 | %define _without_xvid 1 |
940e1261 | 15 | %endif |
16 | %ifarch sparc sparc64 | |
17 | %define _without_alsa 1 | |
37b3585c | 18 | %define _without_xvid 1 |
940e1261 | 19 | %endif |
0346de28 | 20 | |
0ea47478 | 21 | %define _version 1-beta2 |
78c71d43 | 22 | |
3d1fc842 | 23 | Summary: A Free Video Player |
8431762d JR |
24 | Summary(ko.UTF-8): 공개 동영상 플레이어 |
25 | Summary(pl.UTF-8): Odtwarzacz video | |
26 | Summary(pt_BR.UTF-8): Xine, um player de video | |
0346de28 | 27 | Name: xine-lib |
0ea47478 | 28 | Version: 1.0b2 |
f256d0c8 | 29 | Release: 2 |
0346de28 PG |
30 | License: GPL |
31 | Group: Libraries | |
0ea47478 | 32 | Source0: http://prdownloads.sourceforge.net/xine/%{name}-%{_version}.tar.gz |
761d838c JB |
33 | Patch0: %{name}-am17.patch |
34 | Patch1: %{name}-lt14d.patch | |
f8426b90 | 35 | Patch2: %{name}-automake_as.patch |
3d1fc842 | 36 | URL: http://xine.sourceforge.net/ |
d1d37849 | 37 | BuildRequires: autoconf |
38 | BuildRequires: automake >= 1.5 | |
05e2593b | 39 | %{!?_without_aa:BuildRequires: aalib-devel} |
40 | %{!?_without_aa:BuildRequires: aalib-progs} | |
3d1fc842 | 41 | %{!?_without_arts:BuildRequires: arts-devel} |
4dcadeea | 42 | %{!?_without_alsa:BuildRequires: alsa-lib-devel >= 0.9.0} |
05e2593b | 43 | %{!?_without_esd:BuildRequires: esound-devel} |
4188bf79 | 44 | %{!?_without_opengl:BuildRequires: OpenGL-devel} |
940e1261 | 45 | %{!?_without_sdl:BuildRequires: SDL-devel} |
1a1b83f9 | 46 | %{?_with_directfb:BuildRequires: DirectFB-devel} |
3cfda2c8 | 47 | %ifarch %{ix86} |
940e1261 | 48 | %{!?_without_xvid:BuildRequires: xvid-devel} |
e7d3fc64 | 49 | %else |
97dbc5ee | 50 | BuildRequires: libdivxdecore-devel |
3cfda2c8 | 51 | %endif |
d9aab391 | 52 | BuildRequires: gettext-devel |
940e1261 | 53 | BuildRequires: glut-devel |
d9aab391 | 54 | BuildRequires: libvorbis-devel |
761d838c | 55 | BuildRequires: libtool >= 0:1.4.2-9 |
aa05ca2b | 56 | BuildRequires: pkgconfig |
940e1261 | 57 | BuildRequires: zlib-devel |
0346de28 | 58 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3d1fc842 | 59 | Obsoletes: xine |
2ab03274 | 60 | Obsoletes: xine-libs |
0346de28 | 61 | |
79780f6a | 62 | %define _noautoreqdep %{!?_without_opengl:libGL.so.1 libGLU.so.1} |
4188bf79 | 63 | |
c577b473 | 64 | %define _pluginsdir %{_libdir}/xine/plugins/1.0.0 |
0346de28 | 65 | |
0346de28 PG |
66 | %description |
67 | xine is a free gpl-licensed video player for unix-like systems. We | |
68 | support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams, | |
69 | eventually mpeg-4 and other formats might be added. | |
70 | ||
71 | xine plays the video and audio data of mpeg-2 videos and synchronizes | |
72 | the playback of both. Depending on the properties of the mpeg stream, | |
73 | playback will need more or less processor power, 100% frame rate has | |
74 | been seen on a 400 MHz P II system. | |
75 | ||
8431762d JR |
76 | %description -l fr.UTF-8 |
77 | xine est un lecteur vidéo libre sous license GPL pour les systèmes de | |
78 | type unix. Nous supportons les flux mpeg-2 et mpeg-1 (audio + vidéo | |
79 | multiplexés), éventuellement le mpeg-4 et d'autres formats peuvent | |
80 | êtres ajoutés. | |
0346de28 | 81 | |
8431762d JR |
82 | xine joue les données vidéo et audio de vidéo mpeg-2 et synchronise la |
83 | lecture des deux. En fonction des propriétes du flux mpeg, la lecture | |
0346de28 | 84 | aura besoin de plus ou moins de puissance du processeur, 100% de |
8431762d | 85 | restitution de trame a été vus sur un système PII 400MHz. |
0346de28 | 86 | |
8431762d JR |
87 | %description -l ko.UTF-8 |
88 | xine 는 GPL라이선스를 따르는 UNIX용 공개 동영상 플레이어입니다. 이 | |
89 | 플레이어는 mpeg-2 와 mpeg 1 스트림을 지원하며, 현재는 지원하지 않지만 | |
90 | 나중에는 mpeg-4 와 다른 형식의 동영상도 지원할 예정입니다. | |
0346de28 | 91 | |
8431762d JR |
92 | %description -l pl.UTF-8 |
93 | xine jest wolnodostępnym odtwarzaczem video dla systemów uniksowych. | |
94 | Obsługuje strumienie MPEG-2 i MPEG-1 (dźwięk oraz obraz), może być | |
95 | dodana obsługa MPEG-4 i innych formatów. | |
c5597412 | 96 | |
8431762d JR |
97 | xine odczytuje obraz i dźwięk z filmów MPEG-2 i synchronizuje ich |
98 | odtwarzanie. Zależnie od właściwości strumienia MPEG, odtwarzanie może | |
99 | wymagać więcej lub mniej mocy procesora, 100% klatek może być widoczne | |
c5597412 JB |
100 | na P II 400MHz. |
101 | ||
8431762d JR |
102 | %description -l pt_BR.UTF-8 |
103 | O xine é um video player GPL para sistemas unix. Lê arquivos MPEG-2 e | |
104 | MPEG-1, além de AVIs MS MPEG4 / OpenDivX. | |
d9aab391 | 105 | |
8431762d | 106 | O xine lê o conteúdo vídeo e áudio e sincroniza-os em tempo-real. As |
d9aab391 | 107 | necessidades de processador dependem das propriedades de cada arquivo. |
108 | ||
80984e45 | 109 | %package oss |
3d1fc842 | 110 | Summary: XINE - OSS/ALSA support |
8431762d JR |
111 | Summary(pl.UTF-8): XINE - obsługa OSS/ALSA |
112 | Summary(pt_BR.UTF-8): XINE - suporte a oss | |
80984e45 | 113 | Group: Libraries |
0077f93c | 114 | Provides: xine-plugin-audio |
c5597412 | 115 | Requires: %{name} = %{version} |
0346de28 | 116 | |
80984e45 | 117 | %description oss |
c5597412 | 118 | XINE audio plugins with OSS/ALSA support. |
0346de28 | 119 | |
8431762d JR |
120 | %description oss -l pl.UTF-8 |
121 | Wtyczka audio do XINE z obsługą OSS/ALSA. | |
0346de28 | 122 | |
8431762d | 123 | %description oss -l pt_BR.UTF-8 |
d9aab391 | 124 | Plugin de audio para o xine, com suporte a oss. |
125 | ||
3d1fc842 | 126 | %package alsa |
127 | Summary: XINE - alsa support | |
8431762d JR |
128 | Summary(pl.UTF-8): XINE - obsługa alsa |
129 | Summary(pt_BR.UTF-8): XINE - suporte a alsa | |
80984e45 | 130 | Group: Libraries |
0077f93c | 131 | Provides: xine-plugin-audio |
c5597412 | 132 | Requires: %{name} = %{version} |
80984e45 | 133 | |
3d1fc842 | 134 | %description alsa |
c5597412 | 135 | XINE audio plugin with alsa support. |
80984e45 | 136 | |
8431762d JR |
137 | %description alsa -l pl.UTF-8 |
138 | Wtyczka audio do XINE z obsługą ALSA. | |
0346de28 | 139 | |
8431762d | 140 | %description alsa -l pt_BR.UTF-8 |
d9aab391 | 141 | Plugin de audio para o xine, com suporte a alsa. |
142 | ||
80984e45 | 143 | %package arts |
3d1fc842 | 144 | Summary: XINE - arts support |
8431762d JR |
145 | Summary(pl.UTF-8): XINE - obsługa arts |
146 | Summary(pt_BR.UTF-8): XINE - suporte a arts | |
80984e45 | 147 | Group: Libraries |
0077f93c | 148 | Provides: xine-plugin-audio |
c5597412 | 149 | Requires: %{name} = %{version} |
80984e45 | 150 | |
151 | %description arts | |
c5597412 | 152 | XINE audio plugin with arts support. |
80984e45 | 153 | |
8431762d JR |
154 | %description arts -l pl.UTF-8 |
155 | Wtyczka audio do XINE z obsługą arts. | |
80984e45 | 156 | |
157 | %package esd | |
3d1fc842 | 158 | Summary: XINE - esd support |
8431762d JR |
159 | Summary(pl.UTF-8): XINE - obsługa esd |
160 | Summary(pt_BR.UTF-8): XINE - suporte a esd | |
80984e45 | 161 | Group: Libraries |
0077f93c | 162 | Provides: xine-plugin-audio |
c5597412 | 163 | Requires: %{name} = %{version} |
80984e45 | 164 | |
165 | %description esd | |
c5597412 | 166 | XINE audio plugin with esd support. |
80984e45 | 167 | |
8431762d JR |
168 | %description esd -l pl.UTF-8 |
169 | Wtyczka audio do XINE z obsługą esd. | |
80984e45 | 170 | |
8431762d | 171 | %description esd -l pt_BR.UTF-8 |
d9aab391 | 172 | Plugin de audio para o xine, com suporte a esd. |
173 | ||
80984e45 | 174 | %package dxr3 |
3d1fc842 | 175 | Summary: XINE - DXR3 support |
8431762d | 176 | Summary(pl.UTF-8): XINE - obsługa DXR3 |
80984e45 | 177 | Group: Libraries |
c5597412 | 178 | Requires: %{name} = %{version} |
80984e45 | 179 | |
180 | %description dxr3 | |
c5597412 JB |
181 | XINE video/decoder plugins for DXR3 card support. |
182 | ||
8431762d JR |
183 | %description dxr3 -l pl.UTF-8 |
184 | Wtyczka odtwarzacza obrazu do XINE z obsługą kart DXR3. | |
0346de28 | 185 | |
940e1261 | 186 | %package xvid |
187 | Summary: XINE - xvid DIVX decoding support | |
8431762d | 188 | Summary(pl.UTF-8): XINE - obsługa dekodera DIVX xvid |
940e1261 | 189 | Group: Libraries |
190 | Requires: %{name} = %{version} | |
191 | ||
192 | %description xvid | |
193 | XINE decoder plugin for DIVX decoding with xvid library. | |
194 | ||
8431762d JR |
195 | %description xvid -l pl.UTF-8 |
196 | Wtyczka dla XINE do dekodowania DIVX poprzez bibliotekę xvid. | |
940e1261 | 197 | |
0346de28 | 198 | %package xv |
3d1fc842 | 199 | Summary: XINE - XFree XVideo support |
8431762d JR |
200 | Summary(pl.UTF-8): XINE - obsługa XFree XVideo |
201 | Summary(pt_BR.UTF-8): XINE - suporte a XFree XVideo | |
0346de28 | 202 | Group: Libraries |
c5597412 | 203 | Requires: %{name} = %{version} |
0346de28 PG |
204 | |
205 | %description xv | |
c5597412 JB |
206 | XINE video plugin using XFree XVideo extension. |
207 | ||
8431762d JR |
208 | %description xv -l pl.UTF-8 |
209 | Wtyczka video do XINE używająca rozszerzenia XVideo. | |
0346de28 | 210 | |
8431762d JR |
211 | %description xv -l pt_BR.UTF-8 |
212 | Plugin de video para o xine, utilizando a extensão XVideo do XFree. | |
d9aab391 | 213 | |
3d1fc842 | 214 | %package aa |
215 | Summary: XINE - Ascii Art support | |
8431762d JR |
216 | Summary(pl.UTF-8): XINE - obsługa Ascii Art |
217 | Summary(pt_BR.UTF-8): XINE - suporte a aalib | |
80984e45 | 218 | Group: Libraries |
c5597412 | 219 | Requires: %{name} = %{version} |
0346de28 | 220 | |
3d1fc842 | 221 | %description aa |
c5597412 JB |
222 | XINE video plugin using Ascii Art library. |
223 | ||
8431762d JR |
224 | %description aa -l pl.UTF-8 |
225 | Wtyczka video do XINE z obsługą Ascii Art. | |
80984e45 | 226 | |
8431762d | 227 | %description aa -l pt_BR.UTF-8 |
d9aab391 | 228 | Plugin de video para o xine, utilizando a aalib. |
229 | ||
3d1fc842 | 230 | %package xshm |
231 | Summary: XINE - XFree XShm support | |
8431762d | 232 | Summary(pl.UTF-8): XINE - obsługa XFree XShm |
80984e45 | 233 | Group: Libraries |
c5597412 | 234 | Requires: %{name} >= %{version} |
80984e45 | 235 | |
3d1fc842 | 236 | %description xshm |
c5597412 JB |
237 | XINE video plugin using XFree MIT shared memory. |
238 | ||
8431762d JR |
239 | %description xshm -l pl.UTF-8 |
240 | Wtyczka video do XINE z obsługą XFree MIT shared memory. | |
05e2593b | 241 | |
242 | %package syncfb | |
4188bf79 | 243 | Summary: XINE - SyncFB (Matrox G200/G400) support |
8431762d | 244 | Summary(pl.UTF-8): XINE - obsługa SyncFB (Matrox G200/G400) |
05e2593b | 245 | Group: Libraries |
c5597412 | 246 | Requires: %{name} = %{version} |
05e2593b | 247 | |
248 | %description syncfb | |
4188bf79 | 249 | SyncFB (for Matrox G200/G400 cards) interface for xine. |
05e2593b | 250 | |
8431762d JR |
251 | %description syncfb -l pl.UTF-8 |
252 | Wtyczka video do XINE obsługująca interfejs SyncFB (dla kart Matrox G200/G400). | |
4188bf79 JK |
253 | |
254 | %package fb | |
255 | Summary: XINE - framebuffer support | |
8431762d | 256 | Summary(pl.UTF-8): XINE - obsługa framebuffera |
4188bf79 JK |
257 | Group: Libraries |
258 | Requires: %{name} = %{version} | |
259 | ||
260 | %description fb | |
261 | SyncFB (for Matrox G200/G400 cards) interface for xine. | |
262 | ||
8431762d | 263 | %description fb -l pl.UTF-8 |
4188bf79 JK |
264 | Wtyczka video do XINE dla framebuffera. |
265 | ||
940e1261 | 266 | %package directfb |
267 | Summary: XINE - accelereted framebuffer support | |
8431762d | 268 | Summary(pl.UTF-8): XINE - obsługa akelereowanego framebuffera |
940e1261 | 269 | Group: Libraries |
270 | Requires: %{name} = %{version} | |
271 | ||
272 | %description directfb | |
273 | XINE plugin for accelereted framebuffer support (with DirectFB | |
274 | library). | |
275 | ||
8431762d | 276 | %description directfb -l pl.UTF-8 |
940e1261 | 277 | Wtyczka video do XINE dla akcelerowanego framebuffera (przez |
8431762d | 278 | bibliotekę DirectFB). |
940e1261 | 279 | |
280 | %package sdl | |
281 | Summary: XINE - SDL output support | |
8431762d | 282 | Summary(pl.UTF-8): XINE - obsługa wyjścia SDL |
940e1261 | 283 | Group: Libraries |
284 | Requires: %{name} = %{version} | |
285 | ||
286 | %description sdl | |
287 | XINE plugin for output with SDL library. | |
288 | ||
8431762d JR |
289 | %description sdl -l pl.UTF-8 |
290 | Wtyczka video do XINE dla wyświeltania poprzez bibliotekę SDL. | |
940e1261 | 291 | |
4188bf79 JK |
292 | %package opengl |
293 | Summary: XINE - OpenGL video output | |
8431762d | 294 | Summary(pl.UTF-8): XINE - wyświetlanie OpenGL |
4188bf79 JK |
295 | Group: Libraries |
296 | Requires: %{name} = %{version} | |
cf6d0532 | 297 | Requires: OpenGL |
4188bf79 JK |
298 | |
299 | %description opengl | |
300 | XINE plugin using OpenGL for video output. | |
301 | ||
8431762d JR |
302 | %description opengl -l pl.UTF-8 |
303 | Wtyczka video do XINE wykorzystująca OpenGL do wyświetlania. | |
0346de28 PG |
304 | |
305 | %package w32dll | |
c5597412 | 306 | Summary: XINE - win32dll decoder support |
8431762d JR |
307 | Summary(pl.UTF-8): XINE - obsługa dekodera win32dll |
308 | Summary(pt_BR.UTF-8): XINE - suporte a decoder win32dll | |
0346de28 | 309 | Group: Libraries |
c5597412 | 310 | Requires: %{name} = %{version} |
0346de28 PG |
311 | Requires: w32codec |
312 | ||
313 | %description w32dll | |
c5597412 | 314 | XINE win32dll decoder support. |
0346de28 | 315 | |
8431762d JR |
316 | %description w32dll -l pl.UTF-8 |
317 | Obsługa dekodera win32dll do XINE. | |
0346de28 | 318 | |
8431762d | 319 | %description w32dll -l pt_BR.UTF-8 |
d9aab391 | 320 | Suporte a win32dll para o xine. |
321 | ||
0346de28 PG |
322 | %package devel |
323 | Summary: XINE - development files | |
8431762d JR |
324 | Summary(pl.UTF-8): Pliki dla programistów XINE |
325 | Summary(pt_BR.UTF-8): XINE - arquivos de desenvolvimento | |
0346de28 | 326 | Group: Development/Libraries |
c5597412 | 327 | Requires: %{name} = %{version} |
d9aab391 | 328 | Obsoletes: xine-devel |
0346de28 PG |
329 | |
330 | %description devel | |
331 | HTML documentation of XINE API and development components. | |
332 | ||
8431762d JR |
333 | %description devel -l pl.UTF-8 |
334 | Pliki dla programistów oraz dokumentacja HTML do API XINE. | |
c5597412 | 335 | |
8431762d JR |
336 | %description devel -l pt_BR.UTF-8 |
337 | Arquivos include a bibliotecas estáticas necessárias para compilar | |
d9aab391 | 338 | plugins para o xine e o xine-ui. |
339 | ||
f256d0c8 | 340 | %package vidix-rage128 |
341 | Summary: VIDIX based video driver for Rage128 chips | |
8431762d | 342 | Summary(pl.UTF-8): Moduły video oparte na VIDIX dla chipsetow Rage128 |
f256d0c8 | 343 | Group: Libraries |
344 | Requires: %{name} = %{version} | |
345 | ||
346 | %description vidix-rage128 | |
347 | VIDIX based video driver for Rage128 chips. | |
348 | ||
8431762d JR |
349 | %description vidix-rage128 -l pl.UTF-8 |
350 | Moduły video oparte na VIDIX dla chipsetow Rage128. | |
f256d0c8 | 351 | |
352 | %package vidix-radeon | |
353 | Summary: VIDIX based video driver for Radeon chips | |
8431762d | 354 | Summary(pl.UTF-8): Moduły video oparte na VIDIX dla chipsetow Radeon |
f256d0c8 | 355 | Group: Libraries |
356 | Requires: %{name} = %{version} | |
357 | ||
358 | %description vidix-radeon | |
359 | VIDIX based video driver for Radeon chips. | |
360 | ||
8431762d JR |
361 | %description vidix-radeon -l pl.UTF-8 |
362 | Moduły video oparte na VIDIX dla chipsetow Radeon. | |
f256d0c8 | 363 | |
364 | %package vidix-nvidia | |
365 | Summary: VIDIX based video driver for Riva and Riva-derived chips | |
8431762d | 366 | Summary(pl.UTF-8): Moduły video oparte na VIDIX dla chipsetow Riva oraz pochodnych |
f256d0c8 | 367 | Group: Libraries |
368 | Requires: %{name} = %{version} | |
369 | ||
370 | %description vidix-nvidia | |
371 | VIDIX based video driver for Riva and Riva-derived chips, ex. riva tnt, geforce 2. | |
372 | ||
8431762d JR |
373 | %description vidix-nvidia -l pl.UTF-8 |
374 | Moduły video oparte na VIDIX dla chipsetow Riva oraz pochodnych. | |
f256d0c8 | 375 | |
376 | %package vidix-permedia | |
377 | Summary: VIDIX based video driver for 3Dlabs GLINT R3 and Permedia chips | |
8431762d | 378 | Summary(pl.UTF-8): Moduły video oparte na VIDIX dla chipsetow 3Dlabs GLINT R3 oraz Permedia |
f256d0c8 | 379 | Group: Libraries |
380 | Requires: %{name} = %{version} | |
381 | ||
382 | %description vidix-permedia | |
383 | VIDIX based video driver for 3Dlabs GLINT R3 and Permedia chips. | |
384 | ||
8431762d JR |
385 | %description vidix-permedia -l pl.UTF-8 |
386 | Moduły video oparte na VIDIX dla chipsetow 3Dlabs GLINT R3 oraz Permedia. | |
f256d0c8 | 387 | |
388 | %package vidix-matrox | |
389 | Summary: VIDIX based video driver for Matrox Mga chips | |
8431762d | 390 | Summary(pl.UTF-8): Moduły video oparte na VIDIX dla chipsetow Matrox Mga |
f256d0c8 | 391 | Group: Libraries |
392 | Requires: %{name} = %{version} | |
393 | ||
394 | %description vidix-matrox | |
395 | VIDIX based video driver for Matrox Mga chips. | |
396 | ||
8431762d JR |
397 | %description vidix-matrox -l pl.UTF-8 |
398 | Moduły video oparte na VIDIX dla chipsetow Matrox Mga. | |
f256d0c8 | 399 | |
400 | %package vidix-mach64 | |
401 | Summary: VIDIX based video driver for Mach64 and 3Drage chips | |
8431762d | 402 | Summary(pl.UTF-8): Moduły video oparte na VIDIX dla chipsetow Mach64 oraz 3DRage |
f256d0c8 | 403 | Group: Libraries |
404 | Requires: %{name} = %{version} | |
405 | ||
406 | %description | |
407 | VIDIX based video driver for Mach64 and 3Drage chips. | |
408 | ||
8431762d JR |
409 | %description vidix-mach64 -l pl.UTF-8 |
410 | Moduły video oparte na VIDIX dla chipsetow Mach64 oraz 3DRage/ | |
f256d0c8 | 411 | |
0346de28 | 412 | %prep |
3f0f6fe6 | 413 | %setup -q -n %{name}-%{_version} |
761d838c JB |
414 | %patch0 -p1 |
415 | %patch1 -p1 | |
f8426b90 | 416 | %patch2 -p1 |
0346de28 PG |
417 | |
418 | %build | |
f256d0c8 | 419 | rm -f missing |
0ea47478 | 420 | #%%{__libtoolize} |
421 | #%%{__gettextize} | |
f256d0c8 | 422 | %{__aclocal} -I m4 |
423 | %{__autoconf} | |
424 | %{__automake} | |
67fc14d8 | 425 | |
07993270 | 426 | %configure \ |
c577b473 | 427 | CPPFLAGS=-I/usr/include/xvid \ |
940e1261 | 428 | %{!?_without_aa: --with-aalib-prefix=/usr} \ |
429 | %{!?_without_alsa: --enable-alsa} \ | |
430 | %{?_without_alsa: --disable-alsa} \ | |
c577b473 | 431 | %{?_with_dxr3: --enable-dxr3} \ |
432 | %{!?_with_dxr3: --disable-dxr3} | |
7ed7098b | 433 | |
0346de28 PG |
434 | %{__make} |
435 | ||
436 | %install | |
437 | rm -rf $RPM_BUILD_ROOT | |
940e1261 | 438 | install -d $RPM_BUILD_ROOT%{_aclocaldir} |
0346de28 | 439 | |
940e1261 | 440 | %{__make} install \ |
761d838c JB |
441 | DESTDIR=$RPM_BUILD_ROOT \ |
442 | m4datadir=%{_aclocaldir} | |
07993270 | 443 | |
4dcadeea | 444 | mv $RPM_BUILD_ROOT%{_datadir}/locale/pl_PL $RPM_BUILD_ROOT%{_datadir}/locale/pl |
445 | ||
0ea47478 | 446 | %find_lang libxine1 |
d9aab391 | 447 | |
0346de28 PG |
448 | %clean |
449 | rm -rf $RPM_BUILD_ROOT | |
450 | ||
c5597412 JB |
451 | %post -p /sbin/ldconfig |
452 | %postun -p /sbin/ldconfig | |
453 | ||
0ea47478 | 454 | %files -f libxine1.lang |
0346de28 | 455 | %defattr(644,root,root,755) |
c577b473 | 456 | %doc AUTHORS ChangeLog TODO |
d9aab391 | 457 | %attr(755,root,root) %{_libdir}/libxine*.so.*.* |
f256d0c8 | 458 | #dir %{_datadir}/xine |
c577b473 | 459 | %{_datadir}/xine/libxine1/fonts |
f256d0c8 | 460 | #{_datadir}/xine/skins |
461 | #dir %{_libdir}/xine | |
462 | #dir %{_pluginsdir} | |
463 | #dir %{_pluginsdir}/post | |
464 | #attr(755,root,root) %{_pluginsdir}/post/*.so | |
465 | #dir %{_pluginsdir}/vidix | |
466 | #attr(755,root,root) %{_pluginsdir}/vidix/*.so | |
0346de28 | 467 | |
0346de28 | 468 | # input plugins |
c577b473 | 469 | #%attr(755,root,root) %{_pluginsdir}/xineplug_inp_cda.so |
3d1fc842 | 470 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_dvd.so |
0ea47478 | 471 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_dvb.so |
472 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_net.so | |
473 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_rtsp.so | |
3d1fc842 | 474 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_file.so |
abaa3287 | 475 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_http.so |
4188bf79 | 476 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_mms.so |
c577b473 | 477 | #%attr(755,root,root) %{_pluginsdir}/xineplug_inp_net.so |
478 | #%attr(755,root,root) %{_pluginsdir}/xineplug_inp_rtp.so | |
3d1fc842 | 479 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_stdin_fifo.so |
480 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_vcd.so | |
c577b473 | 481 | # new |
482 | %attr(755,root,root) %{_pluginsdir}/xineplug_inp_pnm.so | |
a487d269 | 483 | |
0346de28 | 484 | # demuxer plugins |
78c71d43 | 485 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_aiff.so |
abaa3287 | 486 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_asf.so |
3d1fc842 | 487 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_avi.so |
4188bf79 | 488 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_cda.so |
f8426b90 | 489 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_film.so |
78c71d43 | 490 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_fli.so |
491 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_idcin.so | |
4188bf79 | 492 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_mpeg*.so |
138746f3 | 493 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_ogg.so |
abaa3287 | 494 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_qt.so |
f8426b90 | 495 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_roq.so |
a487d269 | 496 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_smjpeg.so |
78c71d43 | 497 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_snd.so |
498 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_voc.so | |
499 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_vqa.so | |
a487d269 | 500 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_wav.so |
78c71d43 | 501 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_wc3movie.so |
c577b473 | 502 | # new |
503 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_eawve.so | |
504 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_real.so | |
505 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_realaudio.so | |
506 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_yuv4mpeg2.so | |
0ea47478 | 507 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_ipmovie.so |
508 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_mng.so | |
509 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_rawdv.so | |
510 | %attr(755,root,root) %{_pluginsdir}/xineplug_dmx_sputext.so | |
a487d269 | 511 | |
0346de28 | 512 | # decoder plugins |
abaa3287 | 513 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_a52.so |
f8426b90 | 514 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_adpcm.so |
940e1261 | 515 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_cinepak.so |
516 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_cyuv.so | |
c577b473 | 517 | #%attr(755,root,root) %{_pluginsdir}/xineplug_decode_divx4.so |
05e2593b | 518 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_dts.so |
78c71d43 | 519 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_faad.so |
abaa3287 | 520 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_ff.so |
78c71d43 | 521 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_fli.so |
522 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_idcinvideo.so | |
523 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_logpcm.so | |
abaa3287 | 524 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_lpcm.so |
07993270 | 525 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_mad.so |
3d1fc842 | 526 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_mpeg2.so |
78c71d43 | 527 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_msrle.so |
940e1261 | 528 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_msvc.so |
78c71d43 | 529 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_qtrpza.so |
530 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_qtsmc.so | |
531 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_rgb.so | |
f8426b90 JK |
532 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_roqaudio.so |
533 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_roqvideo.so | |
3d1fc842 | 534 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_spu.so |
4188bf79 | 535 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_spucc.so |
c577b473 | 536 | #%attr(755,root,root) %{_pluginsdir}/xineplug_decode_sputext.so |
f8426b90 | 537 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_svq1.so |
abaa3287 | 538 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_vorbis.so |
a487d269 | 539 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_yuv.so |
c577b473 | 540 | # new |
541 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_gsm610.so | |
542 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_qtrle.so | |
543 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_real.so | |
544 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_real_audio.so | |
545 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_wc3video.so | |
0ea47478 | 546 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_interplayaudio.so |
547 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_interplayvideo.so | |
548 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_qt.so | |
c577b473 | 549 | %attr(755,root,root) %{_pluginsdir}/xineplug_vo_out_none.so |
f256d0c8 | 550 | #attr(755,root,root) %{_pluginsdir}/xineplug_vo_out_sdl.so |
551 | #attr(755,root,root) %{_pluginsdir}/xineplug_vo_out_syncfb.so | |
552 | ||
553 | %ifnarch ppc | |
554 | # vidix vo plugin | |
c577b473 | 555 | %attr(755,root,root) %{_pluginsdir}/xineplug_vo_out_vidix.so |
f256d0c8 | 556 | %endif |
557 | ||
558 | # new plugins | |
559 | %attr(755,root,root) %{_pluginsdir}/post/xineplug_post_*.so | |
560 | ||
940e1261 | 561 | |
c577b473 | 562 | %files devel |
940e1261 | 563 | %defattr(644,root,root,755) |
c577b473 | 564 | %attr(755,root,root) %{_bindir}/xine-config |
565 | %{_includedir}/* | |
566 | %{_libdir}/libxine*.la | |
567 | %attr(755,root,root) %{_libdir}/libxine*.so | |
568 | %{_pluginsdir}/*.la | |
569 | %{_pluginsdir}/post/*.la | |
570 | %{_pluginsdir}/vidix/*.la | |
571 | %{_mandir}/man[13]/* | |
572 | %{_aclocaldir}/*.m4 | |
0ea47478 | 573 | %{_pkgconfigdir}/libxine.pc |
940e1261 | 574 | |
c577b473 | 575 | %if %{?_without_aa:0}%{!?_without_aa:1} |
576 | %files aa | |
940e1261 | 577 | %defattr(644,root,root,755) |
c577b473 | 578 | %attr(755,root,root) %{_pluginsdir}/*aa.so |
3d1fc842 | 579 | %endif |
0346de28 | 580 | |
761d838c | 581 | %if %{?_without_alsa:0}%{!?_without_alsa:1} |
3d1fc842 | 582 | %files alsa |
583 | %defattr(644,root,root,755) | |
584 | %attr(755,root,root) %{_pluginsdir}/*alsa*.so | |
585 | %endif | |
0346de28 | 586 | |
761d838c | 587 | %if %{?_without_arts:0}%{!?_without_arts:1} |
3d1fc842 | 588 | %files arts |
589 | %defattr(644,root,root,755) | |
590 | %attr(755,root,root) %{_pluginsdir}/*arts.so | |
591 | %endif | |
0346de28 | 592 | |
c577b473 | 593 | %if %{?_with_directfb:1}%{!?_with_directfb:0} |
594 | %files directfb | |
3d1fc842 | 595 | %defattr(644,root,root,755) |
c577b473 | 596 | %attr(755,root,root) %{_pluginsdir}/*_directfb.so |
3d1fc842 | 597 | %endif |
0346de28 | 598 | |
138746f3 | 599 | %if %{?_with_dxr3:1}%{!?_with_dxr3:0} |
3d1fc842 | 600 | %files dxr3 |
07993270 | 601 | %defattr(644,root,root,755) |
138746f3 | 602 | %attr(755,root,root) %{_pluginsdir}/xineplug_decode_dxr3.so |
603 | %attr(755,root,root) %{_pluginsdir}/xineplug_vo_out_dxr3.so | |
3d1fc842 | 604 | %endif |
0346de28 | 605 | |
c577b473 | 606 | %if %{?_without_esd:0}%{!?_without_esd:1} |
607 | %files esd | |
3d1fc842 | 608 | %defattr(644,root,root,755) |
c577b473 | 609 | %attr(755,root,root) %{_pluginsdir}/*esd.so |
3d1fc842 | 610 | %endif |
0346de28 | 611 | |
4188bf79 JK |
612 | %files fb |
613 | %defattr(644,root,root,755) | |
614 | %attr(644,root,root) %{_pluginsdir}/*_fb.so | |
615 | ||
f256d0c8 | 616 | #if %{?_without_opengl:0}%{!?_without_opengl:1} |
617 | #files opengl | |
618 | #defattr(644,root,root,755) | |
619 | #attr(644,root,root) %{_pluginsdir}/*opengl.so | |
620 | #endif | |
c577b473 | 621 | |
622 | %files oss | |
4188bf79 | 623 | %defattr(644,root,root,755) |
c577b473 | 624 | %attr(755,root,root) %{_pluginsdir}/*oss.so |
625 | ||
f256d0c8 | 626 | %if %{?_without_sdl:0}%{!?_without_sdl:1} |
627 | %files sdl | |
628 | %defattr(644,root,root,755) | |
629 | %attr(755,root,root) %{_pluginsdir}/*_sdl.so | |
630 | %endif | |
c577b473 | 631 | |
f256d0c8 | 632 | %files syncfb |
633 | %defattr(644,root,root,755) | |
634 | %attr(644,root,root) %{_pluginsdir}/*syncfb.so | |
4188bf79 | 635 | |
ebe7b990 | 636 | %ifarch %{ix86} |
0346de28 PG |
637 | %files w32dll |
638 | %defattr(644,root,root,755) | |
3d1fc842 | 639 | %attr(755,root,root) %{_pluginsdir}/*w32dll.so |
d2401112 | 640 | %endif |
0346de28 | 641 | |
c577b473 | 642 | %files xshm |
0346de28 | 643 | %defattr(644,root,root,755) |
c577b473 | 644 | %attr(644,root,root) %{_pluginsdir}/*xshm.so |
645 | ||
646 | %files xv | |
647 | %defattr(644,root,root,755) | |
648 | %attr(755,root,root) %{_pluginsdir}/*xv.so | |
649 | ||
f256d0c8 | 650 | %ifnarch ppc |
651 | ||
652 | %files vidix-rage128 | |
653 | %defattr(644,root,root,755) | |
654 | %attr(755,root,root) %{_pluginsdir}/vidix/rage128*.so | |
655 | ||
656 | %files vidix-radeon | |
657 | %defattr(644,root,root,755) | |
658 | %attr(755,root,root) %{_pluginsdir}/vidix/radeon*.so | |
659 | ||
660 | %files vidix-nvidia | |
661 | %defattr(644,root,root,755) | |
662 | %attr(755,root,root) %{_pluginsdir}/vidix/nvidia*.so | |
663 | ||
664 | %files vidix-permedia | |
665 | %defattr(644,root,root,755) | |
666 | %attr(755,root,root) %{_pluginsdir}/vidix/pm3*.so | |
667 | ||
668 | %files vidix-mach64 | |
669 | %defattr(644,root,root,755) | |
670 | %attr(755,root,root) %{_pluginsdir}/vidix/mach64*.so | |
671 | ||
672 | %files vidix-matrox | |
673 | %defattr(644,root,root,755) | |
674 | %attr(755,root,root) %{_pluginsdir}/vidix/mga*.so | |
675 | ||
676 | # Please dont package vidix-genfb. genfb is just a sample driver. | |
677 | ||
678 | %endif | |
679 | ||
c577b473 | 680 | #%if %{?_without_xvid:0}%{!?_without_xvid:1} |
681 | #%files xvid | |
682 | #%defattr(644,root,root,755) | |
683 | #%attr(755,root,root) %{_pluginsdir}/xineplug_decode_xvid.so | |
684 | #%endif |