]> git.sesse.net Git - vlc/blob - vlc.spec.mdk
* ts: fixed a segfault when removing PCR stream.
[vlc] / vlc.spec.mdk
1 %define name            vlc
2 %define version         0.6.0
3 %define rel             5
4 %define ffcvs           20030622
5 %define mpegcvs         20030612
6
7 %define libmajor        0
8
9 %define cvs             0
10 %if %{cvs}
11 %define cvsrel          1
12 %define cvsdate         20030203
13 %define release         0.%{cvsdate}.%{cvsrel}mdk
14 %define cvs_name        %{name}-snapshot-%cvsdate
15 %else
16 %define release         %{rel}mdk
17 %endif
18
19 %define with_dvdplay 1
20
21 %define with_mozilla 1
22 %define with_gtk 1
23 %define with_gnome 1
24 %define with_qt 0
25 %define with_kde 1
26 %define with_ncurses 1
27 %define with_lirc 1
28 %define with_wx 1
29
30 %define with_aa 1
31 %define with_sdl 1
32 %define with_ggi 1
33 %define with_svgalib 0
34 %define with_xosd 1
35
36 %define with_mad 1
37 %define with_ogg 1
38 %define with_flac 1
39 %define with_mkv 1
40 %define with_a52 1
41 %define with_dv 1
42 %define with_dvb 1
43 %define with_ffmpeg 1
44 %define with_mpeg2dec 1
45
46 %define with_esd 1
47 %define with_arts 1
48 %define with_alsa 1
49
50 %define with_slp 1
51 %define with_tar 1
52
53 %define buildfor_rh80   0
54 %define buildfor_mdk82  0
55 %define buildfor_mdk90  0
56 %define buildfor_mdk91  %(awk '{print ($4 == "9.1")}' %{_sysconfdir}/mandrake-release)
57 %define buildfor_mdk92  %(awk '{print ($4 == "9.2")}' %{_sysconfdir}/mandrake-release)
58
59 # new macros
60 %if %buildfor_mdk82 || %buildfor_mdk90 || %buildfor_rh80
61 %define libname         lib%name%libmajor
62 %else
63 %define libname         %mklibname %name %libmajor
64 %endif
65
66 %if %buildfor_rh80
67 %define release %rel
68 # some mdk macros that do not exist in rh
69 %define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir
70 %define make %__make %_smp_mflags
71 %define makeinstall_std %__make DESTDIR="$RPM_BUILD_ROOT" install
72 # adjust define for Redhat.
73 %endif
74
75 # without
76 %{?_without_mozilla:    %{expand: %%global with_mozilla 0}}
77 %{?_without_gtk:        %{expand: %%global with_gtk 0}}
78 %{?_without_gnome:      %{expand: %%global with_gnome 0}}
79 %{?_without_qt:         %{expand: %%global with_qt 0}}
80 %{?_without_kde:        %{expand: %%global with_kde 0}}
81 %{?_without_ncurses:    %{expand: %%global with_ncurses 0}}
82 %{?_without_lirc:       %{expand: %%global with_lirc 0}}
83 %{?_without_wx:         %{expand: %%global with_wx 0}}
84
85 %{?_without_aa:         %{expand: %%global with_aa 0}}
86 %{?_without_sdl:        %{expand: %%global with_sdl 0}}
87 %{?_without_ggi:        %{expand: %%global with_ggi 0}}
88 %{?_without_svgalib:    %{expand: %%global with_svgalib 0}}
89 %{?_without_xosd:       %{expand: %%global with_xosd 0}}
90
91 %{?_without_mad:        %{expand: %%global with_mad 0}}
92 %{?_without_ogg:        %{expand: %%global with_ogg 0}}
93 %{?_without_flac:       %{expand: %%global with_flac 0}}
94 %{?_without_mkv:        %{expand: %%global with_mkv 0}}
95 %{?_without_a52:        %{expand: %%global with_a52 0}}
96 %{?_without_dv:         %{expand: %%global with_dv 0}}
97 %{?_without_dvb:        %{expand: %%global with_dvb 0}}
98
99 %{?_without_esd:        %{expand: %%global with_esd 0}}
100 %{?_without_arts:       %{expand: %%global with_arts 0}}
101 %{?_without_alsa:       %{expand: %%global with_alsa 0}}
102
103 %{?_without_slp:        %{expand: %%global with_slp 0}}
104 %{?_without_tar:        %{expand: %%global with_tar 0}}
105
106 # with
107 %{?_with_mozilla:       %{expand: %%global with_mozilla 1}}
108 %{?_with_gtk:           %{expand: %%global with_gtk 1}}
109 %{?_with_gnome:         %{expand: %%global with_gnome 1}}
110 %{?_with_qt:            %{expand: %%global with_qt 1}}
111 %{?_with_kde:           %{expand: %%global with_kde 1}}
112 %{?_with_ncurses:       %{expand: %%global with_ncurses 1}}
113 %{?_with_lirc:          %{expand: %%global with_lirc 1}}
114 %{?_with_wx:            %{expand: %%global with_wx 1}}
115
116 %{?_with_aa:            %{expand: %%global with_aa 1}}
117 %{?_with_sdl:           %{expand: %%global with_sdl 1}}
118 %{?_with_ggi:           %{expand: %%global with_ggi 1}}
119 %{?_with_svgalib:       %{expand: %%global with_svgalib 1}}
120 %{?_with_xosd:          %{expand: %%global with_xosd 1}}
121
122 %{?_with_mad:           %{expand: %%global with_mad 1}}
123 %{?_with_ogg:           %{expand: %%global with_ogg 1}}
124 %{?_with_flac:          %{expand: %%global with_flac 1}}
125 %{?_with_mkv:           %{expand: %%global with_mkv 1}}
126 %{?_with_a52:           %{expand: %%global with_a52 1}}
127 %{?_with_dv:            %{expand: %%global with_dv 1}}
128 %{?_with_dvb:           %{expand: %%global with_dvb 1}}
129
130 %{?_with_esd:           %{expand: %%global with_esd 1}}
131 %{?_with_arts:          %{expand: %%global with_arts 1}}
132 %{?_with_alsa:          %{expand: %%global with_alsa 1}}
133
134 %{?_with_slp:           %{expand: %%global with_slp 1}}
135 %{?_with_tar:           %{expand: %%global with_tar 1}}
136
137 Summary:        VLC is a free MPEG, MPEG2, DVD and DivX player.
138 Name:           %{name}
139 Version:        %{version}
140 Release:        %{release}
141
142 %if %{cvs}
143 Source0:        http://www.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.bz2
144 %else
145 Source0:        http://www.videolan.org/packages/%{version}/%{name}-%{version}.tar.bz2
146 %endif
147 Source1:        http://www.videolan.org/pub/videolan/vlc/0.6.0/contrib/ffmpeg-%ffcvs.tar.bz2
148 Source2:        http://www.videolan.org/pub/videolan/vlc/0.6.0/contrib/mpeg2dec-%mpegcvs.tar.bz2        
149 #gw remove NP_GetValue, as it was already defined in the mozilla headers
150 Patch:          vlc-0.6.0-mozilla-conflict.patch.bz2
151 License:        GPL
152 Group:          Video
153 URL:            http://www.videolan.org/
154 Requires:       vlc-gui
155 # vlc-mad needed by ffmpeg builtin (i want MPEG4 support out of box)
156 Requires:       vlc-plugin-mad
157 # DVD working out of box.
158 Requires:       vlc-plugin-a52
159
160 BuildRoot:      %_tmppath/%name-%version-%release-root
161 %if %with_tar
162 BuildRequires:  libtar-devel
163 %endif
164 BuildRequires:  freetype2-devel
165 %if %with_mozilla
166 Buildrequires:  mozilla-devel >= 1.3
167 %endif
168 %if %with_gtk
169 Buildrequires:  libgtk+1.2-devel
170 %endif
171 %if %with_gnome
172 Buildrequires:  gnome-libs-devel
173 %endif
174 %if %with_qt
175 Buildrequires:  libqt3-devel
176 %endif
177 %if %with_kde
178 Buildrequires:  kdelibs-devel
179 %endif
180 %if %with_ncurses
181 Buildrequires:  libncurses5-devel
182 %if %with_wx
183 Buildrequires:  wxGTK-devel >= 2.4
184 %endif
185 %endif
186 %if %with_lirc
187 Buildrequires:  liblirc-devel
188 %endif
189 %if %with_aa
190 Buildrequires:  aalib-devel
191 %endif
192 %if %with_sdl
193 Buildrequires:  SDL-devel
194 %endif
195 %if %with_ggi
196 Buildrequires:  libggi-devel
197 %endif
198 %if %with_svgalib
199 Buildrequires:  svgalib-devel
200 %endif
201 %if %with_xosd
202 Buildrequires:  libxosd-devel
203 %endif
204 %if %with_mad
205 %if %buildfor_mdk92
206 BuildRequires:  libid3tag-devel
207 %endif
208 Buildrequires:  libmad-devel
209 %endif
210 %if %with_ogg
211 Buildrequires:  libvorbis-devel
212 Buildrequires:  libogg-devel
213 %endif
214 %if %with_flac
215 Buildrequires:  libflac-devel
216 %endif
217 %if %with_mkv
218 Buildrequires:  libmatroska-devel >= 0.4.4-3mdk
219 %endif
220 %if %with_dv
221 Buildrequires:  libdv2-devel
222 %endif
223
224 %if %with_a52
225 Buildrequires:  liba52dec-devel
226 %endif
227
228 %if %with_ffmpeg
229 #gw we use included cvs version
230 #Buildrequires: libffmpeg-devel
231 %endif
232
233 %if %with_mpeg2dec
234 #gw we use the included cvs version
235 #Buildrequires: libmpeg2dec-devel >= 0.3.2
236 %endif
237
238 %if %with_alsa
239 Buildrequires:  libalsa2-devel
240 %endif
241 %if %with_esd
242 Buildrequires:  libesound0-devel
243 %endif
244 %if %with_arts
245 Buildrequires:  libarts-devel
246 %endif
247
248 %if %with_slp
249 Buildrequires:  libopenslp-devel
250 %endif
251
252 %if %with_dvdplay
253 BuildRequires: libdvdplay-devel
254 %endif
255
256
257 %if %with_dvb
258 BuildRequires: libdvbpsi-devel
259 %if %buildfor_mdk92
260 # gw the cooker kernel has the new incompatible DVB api
261 BuildRequires: kernel-multimedia-source
262 %else
263 BuildRequires: kernel-source
264 %endif
265 %endif
266
267
268 %description
269 VideoLAN is an OpenSource streaming solution for every OS developed by
270 students from the Ecole Centrale Paris and developers from all over the
271 World.
272 VLC (VideoLAN Client) is a media player that can play MPEG1, MPEG2 and
273 MPEG4 (aka DivX) files, DVDs, VCDs, SVCDs, from a satellite card, from
274 a stream sent by VLS (VideoLAN Server), from another VLC, or from a Web
275 server.
276 You may install vlc-gnome or vlc-gtk to have a nice graphical interface.
277 This package contains no CSS unscrambling functionality for DVDs ;
278 you need the libdvdcss library available from
279 http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
280
281 #general packages
282 %package -n %libname-devel
283 Summary: Development files for the VLC media player
284 Group: Development/C
285 Requires: %name = %version-%release
286 Provides: %name-devel = %version-%release
287 Provides: lib%name-devel = %version-%release
288 %description -n %libname-devel
289 Development files for the VLC media player
290 This package contains headers and a static library required to build plugins
291 for the VLC media player, or standalone applications using features from VLC.
292
293 %package -n mozilla-plugin-vlc
294 Summary: A multimedia plugin for Mozilla, based on vlc
295 group: Video
296 Requires: %name = %version-%release
297 %if %buildfor_mdk91
298 %define moz_ver 1.3.1
299 %else
300 %define moz_ver 1.4b
301 %endif
302 ##%{e###xpand: %%define mozve %(rpm -q --queryformat "%{version}\n" mozilla)}
303 %{expand: %%define mozve %(rpm -q mozilla| sed 's/mozilla-\([0-9].*\)-.*$/\1/')}
304 Requires: mozilla = %mozve
305 %description -n mozilla-plugin-vlc
306 This plugin adds support for MPEG, MPEG2, DVD and DivX to your Mozilla
307 browser. The decoding process is done by vlc and the output window is
308 embedded in a webpage or directly in the browser window. There is also
309 support for fullscreen display.
310
311
312 # intf plugins
313 %package -n gvlc
314 Summary: Gtk plugin for the VLC media player
315 Group: Video
316 Requires: %{name} = %{version}
317 Provides: vlc-gui
318 %description -n gvlc
319 This plugin adds a Gtk+ interface to the VLC media player. To
320 activate it, use the `--intf gtk' flag or run the `gvlc' program.
321
322 %package -n gnome-vlc
323 Summary: Gnome plugin for the VLC media player
324 Group: Video
325 Requires: %{name} = %{version}
326 Provides: vlc-gui, vlc-gnome
327 Obsoletes: vlc-gnome
328 %description -n gnome-vlc
329 This plugin adds a Gnome interface to the VLC media player. To
330 activate it, use the `--intf gnome' flag or run the `gnome-vlc' program.
331
332 %package -n qvlc
333 Summary: QT plugin for the VLC media player
334 Group: Video
335 Requires: %{name} = %{version}
336 Provides: vlc-gui, vlc-qt
337 Obsoletes: vlc-qt
338 %description -n qvlc
339 This plugin adds a Qt interface to the VLC media player. To activate it,
340 use the `--intf qt' flag or run the `qvlc' program.
341
342 %package -n kvlc
343 Summary: KDE frontend for the VLC media player
344 Group: Video
345 Requires: %{name} = %{version}
346 Provides: vlc-gui
347 %description -n kvlc
348 This plugin adds a KDE interface to the VLC media player. To
349 activate it, use the `--intf kde' flag or run the `kvlc' program.
350
351 %package plugin-ncurses
352 Summary: Ncurses console-based plugin for the VLC media player
353 Group: Video
354 Requires: %{name} = %{version}
355 %description plugin-ncurses
356 This plugin adds a ncurses interface to the VLC media player. To
357 activate it, use the `--intf ncurses' flag.
358
359 %package plugin-lirc
360 Summary: Lirc plugin for the VLC media player
361 Group: Video
362 Requires: %{name} = %{version}
363 Obsoletes: vlc-lirc
364 Provides: vlc-lirc
365 %description plugin-lirc
366 This plugin is an infrared lirc interface for the VLC media player. To
367 activate it, use the `--extraintf lirc' flag.
368
369 %package -n wxvlc
370 Summary: WxWindow plugin for the VLC media player
371 Group: Video
372 Requires: %{name} = %{version}
373 Obsoletes: vlc-lirc
374 Provides: vlc-lirc
375 Provides: vlc-gui
376 %description -n wxvlc
377 This plugin adds a wxWindow interface to the VLC media player. To
378 activate it, use the `--intf wxwin' flag or run the `wxvlc' program.
379
380
381 #
382 # video plugins
383 %package plugin-aa
384 Summary: ASCII art video plugin for the VLC media player
385 Group: Video
386 Requires: %{name} = %{version}
387 Obsoletes: vlc-aa
388 Provides: vlc-aa
389 %description plugin-aa
390 This is an ASCII art video output plugin for the VLC media playe. To
391 activate it, use the `--vout aa' flag or select the `aa' video output
392 plugin from the preferences menu.
393
394
395 %package plugin-sdl
396 Summary: Simple DirectMedia Layer video plugin for the VLC media player
397 Group: Video
398 Requires: %{name} = %{version}
399 Obsoletes: vlc-sdl
400 Provides: vlc-sdl
401 %description plugin-sdl
402 This plugin adds support for the Simple DirectMedia Layer library to
403 the VLC media player. To activate it, use the `--vout sdl' or
404 `--aout sdl' flags or select the `sdl' video or audio output plugin
405 from the preferences menu.
406
407 %package plugin-ggi
408 Summary: GGI video plugin for the VLC media player
409 Group: Video
410 Requires: %{name} = %{version}
411 Obsoletes: vlc-ggi
412 Provides: vlc-ggi
413 %description plugin-ggi
414 This is a GGI plugin for the VLC media player. To activate it, use
415 the `--vout ggi' flag or select the `ggi' video output plugin from
416 the preferences menu.
417
418 %package plugin-svgalib
419 Summary: SVGAlib video plugin for the VLC media player
420 Group: Video
421 Requires: %{name} = %{version}
422 %description plugin-svgalib
423 This plugin adds support for SVGAlib to the VLC media player. To
424 activate it, use the `--vout svgalib' flag or select the `svgalib' video
425 output plugin from the preferences menu. Note that you will need root
426 permissions to use SVGAlib.
427
428
429 #
430 # visualization plugins
431 %package plugin-xosd
432 Summary: X On-Screen Display plugin for the VLC media player
433 Group: Video
434 Requires: %{name} = %{version}
435 %description plugin-xosd
436 This is an On-Screen Display plugin for the VLC media player. To activate
437 it, use the `--extraintf xosd' flag or select the `xosd' interface plugin
438 from the preferences menu.
439
440 # codec plugins
441 %package plugin-mad
442 Summary: MAD audio codec plugin for the VLC media player
443 Group: Video
444 Requires: %{name} = %{version}
445 Obsoletes: vlc-mad
446 Provides: vlc-mad
447 %description plugin-mad
448 This plugin adds support for libmad, the MPEG audio decoder library,
449 to the VLC media player. MAD is 100% fixed-point based. To activate
450 this plugin, use the `--mpeg_adec mad' flag or select the `mad' MPEG
451 decoder from the preferences menu.
452
453 %package plugin-ogg
454 Summary: Ogg demuxer and Vorbis codec plugin for the VLC media player
455 Group: Video
456 Requires: %{name} = %{version}
457 %description plugin-ogg
458 These plugins add support for the Ogg bitstream format and the Ogg Vorbis
459 compressed audio format to the VLC media player. They are autodetected.
460
461 %package plugin-flac
462 Summary: Flac codec plugin for the VLC media player
463 Group: Video
464 Requires: %{name} = %{version}
465 %description plugin-flac
466 These plugins add support for the FLAC compressed audio format to the
467 VLC media player.
468
469 %package plugin-a52
470 Summary: A-52 (AC-3) codec plugin for the VLC media player
471 Group: Video
472 Requires: %{name} = %{version}
473 %description plugin-a52
474 This plugin adds support for the ATSC A-52 (aka. AC-3) audio format to
475 the VLC media player. The plugin is autodetected.
476
477 %package plugin-dv
478 Summary: DV codec plugin for the VLC media player
479 Group: Video
480 Requires: %{name} = %{version}
481 %description plugin-dv
482 This plugin adds support for the DV video format to the VLC media player.
483 The plugin is autodetected.
484
485 #
486 # input plugins
487 %package plugin-dvb
488 Summary: DVB input plugin for the VLC media player
489 Group: Video
490 Requires: %{name} = %{version}
491 %description plugin-dvb
492 This plugin adds support for DVB cards to the VLC media player. Note
493 that your card needs to be supported by your kernel before vlc can use it.
494
495 #
496 # audio plugins
497 %package plugin-esd
498 Summary: Enlightened Sound Daemon audio plugin for the VLC media player
499 Group: Video
500 Requires: %{name} = %{version}
501 Obsoletes: vlc-esd
502 Provides: vlc-esd
503 %description plugin-esd
504 This plugin adds support for the Enlightened Sound Daemon to the VLC
505 media player. To activate it, use the `--aout esd' flag or select the
506 `esd' audio output plugin from the preferences menu.
507
508 %package plugin-arts
509 Summary: Arts audio plugin for the VLC media player
510 Group: Video
511 Requires: %{name} = %{version}
512 Obsoletes: vlc-arts
513 Provides: vlc-arts
514 %description plugin-arts
515 This plugin adds support for the aRts Sound System to the VLC media
516 player. To activate it, use the `--aout arts' flag or select the `arts'
517 audio output plugin from the preferences menu.
518
519 %package plugin-alsa
520 Summary: Advanced Linux Sound Architecture audio plugin for the VLC media player
521 Group: Video
522 Requires: %{name} = %{version}
523 Obsoletes: vlc-alsa
524 Provides: vlc-alsa
525 %description plugin-alsa
526 This plugin adds support for the Advanced Linux Sound Architecture to
527 the VLC media player. To activate it, use the `--aout alsa' flag or
528 select the `alsa' audio output plugin from the preferences menu.
529
530
531 %package plugin-slp
532 Summary: Service Location Protocol acces plugin for the VLC media player
533 Group: Video
534 Requires: %{name} = %{version}
535 %description plugin-slp
536 This plugin adds support for the Service Location Protocol to
537 the VLC media player.
538
539
540 %prep
541 %if %{cvs}
542 %setup -q -n %{cvs_name} -a 1 -a 2
543 %else
544 %setup -q -a 1 -a 2
545 %endif
546 %patch -p1
547 rm -rf doc/skins/curve_maker/CVS
548
549 %build
550 cd mpeg2dec-%mpegcvs
551 %configure2_5x --disable-sdl --without-x
552 %make
553 cd ..
554 # yves 0.4.0-1mdk
555 # ffmpeg: static linking cause no official ffmpeg release with a stable ABI
556 # ffmpeg:no plugin posible on ia64 due to the static linking (can not put .a in a .so)
557 cd ffmpeg-%ffcvs
558 ./configure --libdir=%_libdir
559 %make
560 cd ..
561 export XPIDL=/usr/lib/mozilla-%moz_ver/xpidl
562 perl -pi -e  's#-I/usr/share/idl/mozilla#-I/usr/share/idl/mozilla-%{moz_ver}#' Makefile.in
563 export QTDIR=%{_libdir}/qt3
564 # mandrake kernel specific
565 export CPPFLAGS="${CPPFLAGS:--I/usr/src/linux/3rdparty/mod_dvb/include}"
566 # gw flags for the mozilla build 
567 export CPPFLAGS="$CPPFLAGS -DOJI -DMOZ_X11"
568 # add missing ebml include dir
569 export CPPFLAGS="$CPPFLAGS -I/usr/include/ebml"
570 # NO empty line or comments for the configure --switch or it won't work.
571 %configure2_5x  --enable-release \
572         --enable-dvd --without-dvdcss \
573 %if %with_dvdplay
574         --enable-dvdplay \
575 %else
576         --disable-dvdplay \
577 %endif
578 %if %with_mozilla
579         --enable-mozilla \
580 %else
581         --disable-mozilla \
582 %endif
583 %if %with_gtk
584         --enable-gtk \
585 %else
586         --disable-gtk \
587 %endif
588 %if %with_gnome
589         --enable-gnome \
590 %else
591         --disable-gnome \
592 %endif
593 %if %with_qt
594         --enable-qt \
595 %endif
596 %if %with_kde
597         --enable-kde \
598 %endif
599 %if %with_ncurses
600         --enable-ncurses \
601 %endif
602 %if %with_lirc
603         --enable-lirc \
604 %endif
605 %if %with_wx
606         --enable-wxwindows \
607 %else 
608         --disable-wxwindows \
609 %endif
610         --enable-x11 --enable-xvideo \
611         --enable-fb --disable-mga \
612 %if %with_aa
613         --enable-aa \
614 %endif
615 %if %with_sdl
616         --enable-sdl \
617 %endif
618 %if %with_ggi
619         --enable-ggi \
620 %endif
621 %if %with_svgalib
622         --enable-svgalib \
623 %endif
624 %if %with_xosd
625         --enable-xosd \
626 %else
627         --disable-xosd \
628 %endif
629 %if %with_mad
630         --enable-mad \
631 %endif  
632 %if %with_ffmpeg
633         --enable-ffmpeg --with-ffmpeg-tree=ffmpeg-%ffcvs \
634 %else
635         --disable-ffmpeg \
636 %endif
637 %if %with_ogg
638         --enable-vorbis \
639         --enable-ogg \
640 %else
641         --disable-vorbis \
642         --disable-ogg \
643 %endif
644 %if %with_flac
645         --enable-flac \
646 %else
647         --disable-flac \
648 %endif
649 %if %with_mkv
650         --enable-mkv \
651 %else
652         --disable-mkv \
653 %endif  
654 %if %with_dv
655         --enable-dv \
656 %else
657         --disable-dv \
658 %endif
659 %if %with_dvb
660         --enable-dvb  --enable-dvbpsi --enable-satellite \
661 %else
662         --disable-dvb  --disable-dvbpsi --disable-satellite \
663 %endif
664 %if %with_esd
665         --enable-esd \
666 %endif
667 %if %with_alsa
668         --enable-alsa \
669 %endif
670 %if %with_arts
671         --enable-arts \
672 %endif
673 %if %with_mpeg2dec
674         --enable-libmpeg2 --with-libmpeg2-tree=mpeg2dec-%mpegcvs \
675 %else
676 ~       --disable-libmpeg2 \
677 %endif
678
679 %make
680
681 %install
682 rm -rf %buildroot
683 %makeinstall_std
684 %find_lang %name
685 install -d %buildroot/%_mandir/man1
686 install doc/vlc.1 %buildroot/%_mandir/man1
687 install doc/vlc-config.1 %buildroot/%_mandir/man1
688
689 # menu
690 mkdir -p %buildroot/%_menudir
691 cat > %buildroot/%_menudir/vlc << EOF
692 ?package(vlc): command="%_bindir/vlc" hotkey="V" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC media player" icon="vlc.png" hints="Video" \
693 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
694 accept_url="true"\
695 multiple_files="true"
696 EOF
697 %if %with_gtk
698 cat > %buildroot/%_menudir/gvlc << EOF
699 ?package(gvlc): command="%_bindir/gvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Gtk media player" icon="gvlc.png" hints="Video" \
700 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
701 accept_url="true"\
702 multiple_files="true"
703 EOF
704 %endif
705 %if %with_gnome
706 cat > %buildroot/%_menudir/gnome-vlc << EOF
707 ?package(gnome-vlc): command="%_bindir/gnome-vlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Gnome media player" icon="gnome-vlc.png" hints="Video" \
708 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
709 accept_url="true"\
710 multiple_files="true"
711 EOF
712 %endif
713 %if %with_qt
714 cat > %buildroot/%_menudir/qvlc << EOF
715 ?package(qvlc): command="%_bindir/qvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Qt media player" icon="qvlc.png" hints="Video" \
716 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
717 accept_url="true"\
718 multiple_files="true"
719 EOF
720 %endif
721 %if %with_kde
722 cat > %buildroot/%_menudir/kvlc << EOF
723 ?package(kvlc): command="%_bindir/kvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC KDE media player" icon="kvlc.png" hints="Video" \
724 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
725 accept_url="true"\
726 multiple_files="true"
727 EOF
728 %endif
729 %if %with_wx
730 cat > %buildroot/%_menudir/wxvlc << EOF
731 ?package(wxvlc): command="%_bindir/wxvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC wxWindow media player" icon="vlc.png" hints="Video" \
732 mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
733 accept_url="true"\
734 multiple_files="true"
735 EOF
736 %endif
737
738 # icons
739 %define pngdir %buildroot/%_datadir/vlc
740 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
741 install -m 644 %pngdir/vlc16x16.png %buildroot/%_miconsdir/vlc.png
742 install -m 644 %pngdir/vlc32x32.png %buildroot/%_iconsdir/vlc.png
743 install -m 644 %pngdir/vlc48x48.png %buildroot/%_liconsdir/vlc.png
744 %if %with_gnome
745 install -m 644 %pngdir/gnome-vlc16x16.png %buildroot/%_miconsdir/gnome-vlc.png
746 install -m 644 %pngdir/gnome-vlc32x32.png %buildroot/%_iconsdir/gnome-vlc.png
747 install -m 644 %pngdir/gnome-vlc48x48.png %buildroot/%_liconsdir/gnome-vlc.png
748 %endif
749 %if %with_gtk
750 install -m 644 %pngdir/gvlc16x16.png %buildroot/%_miconsdir/gvlc.png
751 install -m 644 %pngdir/gvlc32x32.png %buildroot/%_iconsdir/gvlc.png
752 install -m 644 %pngdir/gvlc48x48.png %buildroot/%_liconsdir/gvlc.png
753 %endif
754 %if %with_kde
755 install -m 644 %pngdir/kvlc16x16.png %buildroot/%_miconsdir/kvlc.png
756 install -m 644 %pngdir/kvlc32x32.png %buildroot/%_iconsdir/kvlc.png
757 install -m 644 %pngdir/kvlc48x48.png %buildroot/%_liconsdir/kvlc.png
758 %endif
759 %if %with_qt
760 install -m 644 %pngdir/qvlc16x16.png %buildroot/%_miconsdir/qvlc.png
761 install -m 644 %pngdir/qvlc32x32.png %buildroot/%_iconsdir/qvlc.png
762 install -m 644 %pngdir/qvlc48x48.png %buildroot/%_liconsdir/qvlc.png
763 %endif
764
765 %if ! %with_wx
766 rm -rf %buildroot%_datadir/vlc/skins
767 %endif
768
769 %post
770 %update_menus
771 %postun
772 %clean_menus
773
774 %clean
775 rm -fr %buildroot
776
777 %files -f %name.lang
778 %defattr(-,root,root)
779 %doc NEWS README COPYING AUTHORS MAINTAINERS THANKS
780 %doc doc/web-streaming.html doc/vlc-howto.sgml doc/lirc/
781 %doc doc/fortunes.txt doc/bugreport-howto.txt
782 %_bindir/vlc
783 %dir %_datadir/vlc/
784 %_datadir/vlc/*.*
785 %dir %_libdir/vlc
786
787 %dir %_libdir/vlc/access
788 %_libdir/vlc/access/libcdda_plugin.so
789 %_libdir/vlc/access/libaccess_directory_plugin.so
790 %_libdir/vlc/access/libaccess_file_plugin.so
791 %_libdir/vlc/access/libaccess_ftp_plugin.so
792 %_libdir/vlc/access/libaccess_http_plugin.so
793 %_libdir/vlc/access/libaccess_mms_plugin.so
794 %_libdir/vlc/access/libaccess_udp_plugin.so
795 %if %with_dvdplay
796 %_libdir/vlc/access/libdvdplay_plugin.so
797 %endif
798 %_libdir/vlc/access/libdvd_plugin.so
799 %_libdir/vlc/access/libdvdread_plugin.so
800 %_libdir/vlc/access/libvcd_plugin.so
801
802 %dir %_libdir/vlc/access_output/
803 %_libdir/vlc/access_output/libaccess_output_dummy_plugin.so
804 %_libdir/vlc/access_output/libaccess_output_file_plugin.so
805 %_libdir/vlc/access_output/libaccess_output_http_plugin.so
806 %_libdir/vlc/access_output/libaccess_output_udp_plugin.so
807
808 %dir %_libdir/vlc/audio_filter
809 %_libdir/vlc/audio_filter/libbandlimited_resampler_plugin.so
810 %_libdir/vlc/audio_filter/libdtstospdif_plugin.so
811 %_libdir/vlc/audio_filter/libfixed32tofloat32_plugin.so
812 %_libdir/vlc/audio_filter/libfixed32tos16_plugin.so
813 %_libdir/vlc/audio_filter/libfloat32tos16_plugin.so
814 %_libdir/vlc/audio_filter/libfloat32tos8_plugin.so
815 %_libdir/vlc/audio_filter/libfloat32tou16_plugin.so
816 %_libdir/vlc/audio_filter/libfloat32tou8_plugin.so
817 %_libdir/vlc/audio_filter/libheadphone_channel_mixer_plugin.so
818 %_libdir/vlc/audio_filter/liblinear_resampler_plugin.so
819 %_libdir/vlc/audio_filter/libs16tofixed32_plugin.so
820 %_libdir/vlc/audio_filter/libs16tofloat32_plugin.so
821 %_libdir/vlc/audio_filter/libs16tofloat32swab_plugin.so
822 %_libdir/vlc/audio_filter/libs8tofloat32_plugin.so
823 %_libdir/vlc/audio_filter/libtrivial_channel_mixer_plugin.so
824 %_libdir/vlc/audio_filter/libtrivial_resampler_plugin.so
825 %_libdir/vlc/audio_filter/libu8tofixed32_plugin.so
826 %_libdir/vlc/audio_filter/libu8tofloat32_plugin.so
827 %_libdir/vlc/audio_filter/libugly_resampler_plugin.so
828
829 %dir %_libdir/vlc/audio_mixer
830 %_libdir/vlc/audio_mixer/libfloat32_mixer_plugin.so
831 %_libdir/vlc/audio_mixer/libspdif_mixer_plugin.so
832 %_libdir/vlc/audio_mixer/libtrivial_mixer_plugin.so
833
834 %dir %_libdir/vlc/audio_output
835 %_libdir/vlc/audio_output/libaout_file_plugin.so
836 %_libdir/vlc/audio_output/liboss_plugin.so
837
838 %dir %_libdir/vlc/codec
839 %_libdir/vlc/codec/liba52_plugin.so
840 %_libdir/vlc/codec/libadpcm_plugin.so
841 %_libdir/vlc/codec/libaraw_plugin.so
842 %_libdir/vlc/codec/librawvideo_plugin.so
843 %_libdir/vlc/codec/libcinepak_plugin.so
844 %_libdir/vlc/codec/libdts_plugin.so
845 #%_libdir/vlc/codec/libidctclassic_plugin.so
846 #%ifarch %ix86
847 #%_libdir/vlc/codec/libidctmmxext_plugin.so
848 #%_libdir/vlc/codec/libidctmmx_plugin.so
849 #%endif
850 #%_libdir/vlc/codec/libidct_plugin.so
851 %_libdir/vlc/codec/liblpcm_plugin.so
852 #%ifarch %ix86
853 #%_libdir/vlc/codec/libmotionmmxext_plugin.so
854 #%_libdir/vlc/codec/libmotionmmx_plugin.so
855 #%endif
856 #%_libdir/vlc/codec/libmotion_plugin.so
857 %_libdir/vlc/codec/liblibmpeg2_plugin.so
858 %_libdir/vlc/codec/libmpeg_audio_plugin.so
859 #%_libdir/vlc/codec/libmpeg_video_plugin.so
860 %if %with_ffmpeg
861 #%_libdir/vlc/codec/libpostprocessing_c_plugin.so
862         %ifarch %ix86
863 #       %_libdir/vlc/codec/libpostprocessing_mmx_plugin.so
864 #       %_libdir/vlc/codec/libpostprocessing_mmxext_plugin.so
865         %endif
866 %endif
867 %_libdir/vlc/codec/libspudec_plugin.so
868
869 %dir %_libdir/vlc/control
870 %_libdir/vlc/control/libhttp_plugin.so
871 %_libdir/vlc/control/librc_plugin.so
872 %_libdir/vlc/control/libgestures_plugin.so
873
874 %dir %_libdir/vlc/demux
875 %_libdir/vlc/demux/libaac_plugin.so
876 %_libdir/vlc/demux/libasf_plugin.so
877 %_libdir/vlc/demux/libau_plugin.so
878 %_libdir/vlc/demux/libaudio_plugin.so
879 %_libdir/vlc/demux/libavi_plugin.so
880 %_libdir/vlc/demux/liba52sys_plugin.so
881 %_libdir/vlc/demux/libdemuxdump_plugin.so
882 %_libdir/vlc/demux/libdemuxsub_plugin.so
883 %_libdir/vlc/demux/libes_plugin.so
884 %_libdir/vlc/demux/libid3_plugin.so
885 %_libdir/vlc/demux/libm3u_plugin.so
886 %_libdir/vlc/demux/libm4v_plugin.so
887 %if %with_mkv
888 %_libdir/vlc/demux/libmkv_plugin.so
889 %endif
890 %_libdir/vlc/demux/libmp4_plugin.so
891 %_libdir/vlc/demux/libmpeg_system_plugin.so
892 %_libdir/vlc/demux/libps_plugin.so
893 %_libdir/vlc/demux/librawdv_plugin.so
894 %_libdir/vlc/demux/libts_plugin.so
895 %_libdir/vlc/demux/libwav_plugin.so
896
897 %dir %_libdir/vlc/misc
898 %_libdir/vlc/misc/libdummy_plugin.so
899 %_libdir/vlc/misc/libhttpd_plugin.so
900 %_libdir/vlc/misc/libipv4_plugin.so
901 %_libdir/vlc/misc/libipv6_plugin.so
902 %_libdir/vlc/misc/liblogger_plugin.so
903 #%ifarch %ix86
904 #%_libdir/vlc/misc/libmemcpy3dn_plugin.so
905 #%_libdir/vlc/misc/libmemcpymmxext_plugin.so
906 #%_libdir/vlc/misc/libmemcpymmx_plugin.so
907 #%endif
908 %_libdir/vlc/misc/libmemcpy_plugin.so
909 %_libdir/vlc/misc/libsap_plugin.so
910 %_libdir/vlc/misc/libscreensaver_plugin.so
911
912 %dir %_libdir/vlc/mux
913 %_libdir/vlc/mux/libmux_avi_plugin.so
914 %_libdir/vlc/mux/libmux_dummy_plugin.so
915 %_libdir/vlc/mux/libmux_ogg_plugin.so
916 %_libdir/vlc/mux/libmux_ps_plugin.so
917 %_libdir/vlc/mux/libmux_ts_plugin.so
918
919 %dir %_libdir/vlc/packetizer
920 %_libdir/vlc/packetizer/libpacketizer_a52_plugin.so
921 %_libdir/vlc/packetizer/libpacketizer_copy_plugin.so
922 %_libdir/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so
923 %_libdir/vlc/packetizer/libpacketizer_mpeg4video_plugin.so
924 %_libdir/vlc/packetizer/libpacketizer_mpegaudio_plugin.so
925 %_libdir/vlc/packetizer/libpacketizer_mpegvideo_plugin.so
926
927 %dir %_libdir/vlc/stream_out
928 %_libdir/vlc/stream_out/libstream_out_display_plugin.so
929 %_libdir/vlc/stream_out/libstream_out_dummy_plugin.so
930 %_libdir/vlc/stream_out/libstream_out_duplicate_plugin.so
931 %_libdir/vlc/stream_out/libstream_out_es_plugin.so
932 %_libdir/vlc/stream_out/libstream_out_standard_plugin.so
933
934 %dir %_libdir/vlc/video_chroma
935 %_libdir/vlc/video_chroma/libi420_rgb_plugin.so
936 %_libdir/vlc/video_chroma/libi420_ymga_plugin.so
937 %_libdir/vlc/video_chroma/libi420_yuy2_plugin.so
938 %_libdir/vlc/video_chroma/libi422_yuy2_plugin.so
939 #%ifarch %ix86
940 #%_libdir/vlc/video_chroma/libi420_rgb_mmx_plugin.so
941 #%_libdir/vlc/video_chroma/libi420_ymga_mmx_plugin.so
942 #%_libdir/vlc/video_chroma/libi420_yuy2_mmx_plugin.so
943 #%_libdir/vlc/video_chroma/libi422_yuy2_mmx_plugin.so
944 #%endif
945
946 %dir %_libdir/vlc/video_filter
947 %_libdir/vlc/video_filter/libadjust_plugin.so
948 %_libdir/vlc/video_filter/libclone_plugin.so
949 %_libdir/vlc/video_filter/libcrop_plugin.so
950 %_libdir/vlc/video_filter/libdeinterlace_plugin.so
951 %_libdir/vlc/video_filter/libdistort_plugin.so
952 %_libdir/vlc/video_filter/libinvert_plugin.so
953 %_libdir/vlc/video_filter/libmotionblur_plugin.so
954 %_libdir/vlc/video_filter/libosdtext_plugin.so
955 %_libdir/vlc/video_filter/libtransform_plugin.so
956 %_libdir/vlc/video_filter/libwall_plugin.so
957
958 %dir %_libdir/vlc/video_output
959 %_libdir/vlc/video_output/libfb_plugin.so
960 #%_libdir/vlc/video_output/libvout_encoder_plugin.so
961 %_libdir/vlc/video_output/libx11_plugin.so
962 %_libdir/vlc/video_output/libxvideo_plugin.so
963
964 %dir %_libdir/vlc/visualization
965
966 %_mandir/man1/vlc.*
967 %_menudir/vlc
968 %_miconsdir/vlc.png
969 %_iconsdir/vlc.png
970 %_liconsdir/vlc.png
971
972 %files -n %libname-devel
973 %defattr(-,root,root)
974 %doc README doc/release-howto.txt doc/skins doc/subtitles doc/Configure.help
975 %doc doc/arm-crosscompile-howto.sgml
976 %dir %_includedir/vlc
977 %_includedir/vlc/*
978 %_libdir/*a
979 %_libdir/vlc/*a
980 %_bindir/vlc-config
981 %_mandir/man1/vlc-config*
982
983 %if %with_mozilla
984 %files -n mozilla-plugin-vlc
985 %defattr(-,root,root)
986 %doc README
987 %_libdir/mozilla/*/*
988 %endif
989
990 # intf plugins
991 %if %with_gtk
992 %files -n gvlc
993 %defattr(-,root,root)
994 %doc README
995 %_libdir/vlc/misc/libgtk_main_plugin.so
996 %_libdir/vlc/gui/libgtk_plugin.so
997 %_bindir/gvlc
998 %_menudir/gvlc
999 %_miconsdir/gvlc.png
1000 %_iconsdir/gvlc.png
1001 %_liconsdir/gvlc.png
1002 %post -n gvlc
1003 %update_menus
1004 %postun -n gvlc
1005 %clean_menus
1006 %endif
1007
1008 %if %with_gnome
1009 %files -n gnome-vlc
1010 %defattr(-,root,root)
1011 %doc README
1012 %_libdir/vlc/misc/libgnome_main_plugin.so
1013 %_libdir/vlc/gui/libgnome_plugin.so
1014 %_bindir/gnome-vlc
1015 %_menudir/gnome-vlc
1016 %_miconsdir/gnome-vlc.png
1017 %_iconsdir/gnome-vlc.png
1018 %_liconsdir/gnome-vlc.png
1019 %post   -n gnome-vlc
1020 %update_menus
1021 %postun -n gnome-vlc
1022 %clean_menus
1023 %endif
1024
1025 %if %with_wx
1026 %files -n wxvlc
1027 %defattr(-,root,root)
1028 %doc README
1029 %_bindir/wxvlc
1030 %_libdir/vlc/gui/libwxwindows_plugin.so
1031 %_menudir/wxvlc
1032 %_datadir/vlc/skins
1033 %post   -n wxvlc
1034 %update_menus
1035 %postun -n wxvlc
1036 %clean_menus
1037 %endif
1038
1039
1040 %if %with_qt
1041 %files -n qvlc
1042 %defattr(-,root,root)
1043 %doc README
1044 %_libdir/vlc/gui/libqt_plugin.so
1045 %_bindir/qvlc
1046 %_menudir/qvlc
1047 %_miconsdir/qvlc.png
1048 %_iconsdir/qvlc.png
1049 %_liconsdir/qvlc.png
1050 %post   -n qvlc
1051 %update_menus
1052 %postun -n qvlc
1053 %clean_menus
1054 %endif
1055
1056 %if %with_kde
1057 %files -n kvlc
1058 %defattr(-,root,root)
1059 %doc README
1060 %_libdir/vlc/gui/libkde_plugin.so
1061 %_bindir/kvlc
1062 %_menudir/kvlc
1063 %_miconsdir/kvlc.png
1064 %_iconsdir/kvlc.png
1065 %_liconsdir/kvlc.png
1066 %post   -n kvlc
1067 %update_menus
1068 %postun -n kvlc
1069 %clean_menus
1070 %endif
1071
1072 %if %with_ncurses
1073 %files plugin-ncurses
1074 %defattr(-,root,root)
1075 %doc README
1076 %_libdir/vlc/gui/libncurses_plugin.so
1077 %endif
1078
1079 %if %with_lirc
1080 %files plugin-lirc
1081 %defattr(-,root,root)
1082 %doc README
1083 %_libdir/vlc/control/liblirc_plugin.so
1084 %endif
1085
1086 # video plugins
1087 %if %with_sdl
1088 %files plugin-sdl
1089 %defattr(-,root,root)
1090 %doc README
1091 %_libdir/vlc/audio_output/libaout_sdl_plugin.so
1092 %_libdir/vlc/video_output/libvout_sdl_plugin.so
1093 %endif
1094
1095 %if %with_ggi
1096 %files plugin-ggi
1097 %defattr(-,root,root)
1098 %doc README
1099 %{_libdir}/vlc/video_output/libggi_plugin.so
1100 %endif
1101
1102 %if %with_aa
1103 %files plugin-aa
1104 %defattr(-,root,root)
1105 %doc README
1106 %{_libdir}/vlc/video_output/libaa_plugin.so
1107 %endif
1108
1109 %if %with_svgalib
1110 %files plugin-svgalib
1111 %defattr(-,root,root)
1112 %doc README
1113 %_libdir/vlc/video_output/libsvgalib_plugin.so
1114 %endif
1115
1116 # visualization plugin
1117 %if %with_xosd
1118 %files plugin-xosd
1119 %defattr(-,root,root)
1120 %doc README
1121 %_libdir/vlc/visualization/libxosd_plugin.so
1122 %endif
1123
1124 # codec plugin
1125 %if %with_mad
1126 %files plugin-mad
1127 %defattr(-,root,root)
1128 %doc README
1129 %_libdir/vlc/audio_filter/libmpgatofixed32_plugin.so
1130 %_libdir/vlc/demux/libid3tag_plugin.so
1131 %endif
1132
1133 %if %with_ogg
1134 %files plugin-ogg
1135 %defattr(-,root,root)
1136 %doc README
1137 %_libdir/vlc/demux/libogg_plugin.so
1138 %_libdir/vlc/codec/libvorbis_plugin.so
1139 %endif
1140
1141 %if %with_ogg
1142 %files plugin-flac
1143 %defattr(-,root,root)
1144 %doc README
1145 %_libdir/vlc/demux/libflac_plugin.so
1146 %_libdir/vlc/codec/libflacdec_plugin.so
1147 %endif
1148
1149
1150 %if %with_dv
1151 %files plugin-dv
1152 %defattr(-,root,root)
1153 %doc README
1154 %_libdir/vlc/codec/libdv_plugin.so
1155 %endif
1156
1157 %if %with_a52
1158 %files plugin-a52
1159 %defattr(-,root,root)
1160 %doc README
1161 %_libdir/vlc/audio_filter/liba52tofloat32_plugin.so
1162 %_libdir/vlc/audio_filter/liba52tospdif_plugin.so
1163 %endif
1164
1165 # input plugin
1166 %if %with_dvb
1167 %files plugin-dvb
1168 %defattr(-,root,root)
1169 %doc README
1170 %_libdir/vlc/access/libsatellite_plugin.so
1171 %_libdir/vlc/demux/libts_dvbpsi_plugin.so
1172 %_libdir/vlc/mux/libmux_ts_dvbpsi_plugin.so
1173 %endif
1174
1175 #audio plugins
1176 %if %with_esd
1177 %files plugin-esd
1178 %defattr(-,root,root)
1179 %doc README
1180 %_libdir/vlc/audio_output/libesd_plugin.so
1181 %endif
1182
1183 %if %with_arts
1184 %files plugin-arts
1185 %defattr(-,root,root)
1186 %doc README
1187 %_libdir/vlc/audio_output/libarts_plugin.so
1188 %endif
1189
1190 %if %with_alsa
1191 %files plugin-alsa
1192 %defattr(-,root,root)
1193 %doc README
1194 %_libdir/vlc/audio_output/libalsa_plugin.so
1195 %endif
1196
1197 %if %with_slp
1198 %files plugin-slp
1199 %defattr(-,root,root)
1200 %doc README
1201 %_libdir/vlc/access/libslp_plugin.so
1202 %endif
1203
1204 %changelog
1205 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-5mdk
1206 - reenable wxvlc, but use 2.4 instead of 2.5
1207 - remove the packager tag
1208 - fix build on mdk 9.1
1209
1210 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-4mdk
1211 - add some more docs
1212 - enable libtar
1213 - fix comment about the DVB headers
1214 - small spec fix
1215
1216 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-3mdk
1217 - some spec fixes
1218 - add mime types to the menu entries
1219 - enable the kde plugin
1220 - the wx package provides wx-gui
1221 - move the skins to the wx package
1222 - fix all --with options
1223 - enable matroska
1224 - disable wx, didn't work
1225
1226 * Fri Jun 27 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-2mdk
1227 - add matroska to the spec file, but don't enable it yet
1228 - enable the flac plugin
1229 - enable DVB, use headers from kernel-multimedia-source
1230
1231 * Fri Jun 27 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-1mdk
1232 - add lots of new plugins
1233 - disable libvout_encoder_plugin.so
1234 - disable postprocessing plugins
1235 - add the data dir to the main package
1236 - disable dvb (were have all the headers gone?)
1237 - include static ffmpeg
1238 - include static mpeg2dec
1239 - enable wxGTK
1240 - fix mozilla build
1241 - fix buildrequires
1242 - new version
1243
1244 * Tue Apr  8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.2-2mdk
1245 - new dvdread
1246
1247 * Sun Apr 06 2003 Yves Duret <yves@zarb.org> 0.5.2-1mdk
1248 - 0.5.2
1249
1250 * Tue Feb 18 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.0-4mdk
1251 - new xosd
1252
1253 * Thu Feb 06 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.5.0-3mdk
1254 - BuildRequires libdvbpsi-devel libdvdplay-devel
1255
1256 * Tue Feb  4 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.0-2mdk
1257 - rebuild for new xosd
1258
1259 * Mon Feb 03 2003 Yves Duret <yves@zarb.org> 0.5.0-1mdk
1260 - Natalya release.
1261 - enables DVD menus.
1262
1263 * Mon Feb 03 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030203.1mdk
1264 - latest (!) cvs snapshot before release, oh yeah.
1265 - added dv and dvb sub rpm (satellite).
1266 - added mozilla-plugin.
1267 - more docs.
1268 - fixes here and here.
1269 - sync with CVS one.
1270
1271 * Fri Jan 31 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030131.1mdk
1272 - new cvs snapshot.
1273
1274 * Tue Jan 28 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030128.1mdk
1275 - new cvs snapshot.
1276 - sync specfile with HEAD CVS one.
1277
1278 * Mon Jan 27 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030127.1mdk
1279 - new cvs snapshot.
1280
1281 * Fri Jan 24 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030124.1mdk
1282 - new cvs snapshot adding transcoding feature!
1283 - new video_output/vout_encoder plugin.
1284 - new demux/a52sys plugin.
1285
1286 * Mon Jan 20 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030120.1mdk
1287 - new cvs snapshot.
1288 - new access/slp plugin.
1289 - more buildfor_{rh80,mdk{82,90}} stuff.
1290 - use %%mklibname macro.
1291 - use %%clean_menus in postun instead of %%update_menus everywhere.
1292
1293 * Thu Jan 16 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030116.1mdk
1294 - new cvs snapshot.
1295 - codec/mad plugin is replaced by audio_filter/mpgatofixed32.
1296
1297 * Tue Jan 14 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030114.1mdk
1298 - new cvs snapshot.
1299 - new demux/m4v and mux/avi plugins.
1300
1301 * Fri Jan 10 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030110.1mdk
1302 - new cvs snapshot.
1303 - new packetizer/mpeg4audio plugin.
1304
1305 * Tue Jan 07 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030107.1mdk
1306 - cvs 2003/01/07.
1307 - mmx/3dn plugins are only for x86 arch (use %ifarch %ix86 to list them)
1308   ie. fix rpm building on ppc thx Olivier Thauvin <olivier.thauvin@aerov.jussieu.fr>
1309
1310 * Mon Jan 06 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030106.1mdk
1311 - cvs 2003/01/06.
1312 - removed access/rtp plugin (merged in access/udp).
1313 - removed codec/imdct and codec/downmix plugins (deprecated).
1314 - libvlc0-devel provides libvlc-devel.
1315
1316 * Sun Jan 05 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20021220.2mdk
1317 - rebuild against new glibc.
1318 - rpm configure macro is now fixed.
1319
1320 * Fri Dec 20 2002 Yves Duret <yves@zarb.org> 0.5.0-0.20021220.1mdk
1321 - cvs 20021220 (aka fix segfaulting with broken trancoded avi)
1322 - added rawdv plugin.
1323 - few spec enhacement and sync with upstream CVS.
1324
1325 * Wed Dec 18 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.5.0-0.20021218.1mdk
1326 - don't harcore arch in name
1327 - cvs 20021218
1328
1329
1330 * Mon Jun 20 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.2-1mdk
1331 - new upstream release
1332
1333 * Mon Jun 3 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.1-1mdk
1334 - new upstream release
1335
1336 * Thu May 23 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.0-1mdk
1337 - version 0.4.0 with MPEG4 (DivX) support thx ffmpeg.
1338   thus s/MPEG, MPEG2 and DVD/multimedia/g
1339 - sync %%description with debian ones.
1340 - vlc now requires a vlc-gui (gtk, gnome or qt).
1341 - removed gcc3.1 patches since merged upstream.
1342
1343 * Mon May 13 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-4mdk
1344 - removed xmga plugin (currently broken).
1345 - manual rebuild in gcc3.1 environment aka added Patch0 & Patch1
1346 - various summary/description changes.
1347
1348 * Fri May 03 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-3mdk
1349 - added vlc-lirc intf plugin rpm.
1350
1351 * Tue Apr 30 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-2mdk
1352 - rebuild against libalsa2 (vlc-sdl)
1353
1354 * Fri Apr 19 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
1355 - version 0.3.1.
1356 - removed patch0 merged upstream.
1357 - removed old %%ifarch ppc
1358 - added missing libmad-devel buldrequires
1359
1360 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
1361 - added liba52 support (buildrequires).
1362 - added vlc-alsa audio plugin.
1363 - mad is a codec (audio) plugin. corrected description and summary.
1364
1365 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
1366 - added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>
1367
1368 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
1369 - added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
1370 - better summary for plugin
1371 - add packager tag to myself
1372
1373 * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
1374 - version 0.3.0
1375 - added aa (Asci Art) plugin in vlc-aa rpm
1376 - merged with sam's one:
1377   * using his plugins list into %%files
1378   * removed libdvdcss from the whole tarball.
1379   * removed the workaround for vlc's bad /dev/dsp detection.
1380 - few spell corrections in all %%description
1381 - added buildrequires on SDL-devel
1382
1383 * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
1384 - new cvs snapshot
1385 - fix requires
1386
1387 * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
1388 - cvs snapshot
1389
1390 * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
1391 - mad plugin in vlc-mad rpm
1392
1393 * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
1394 - synced with main cvs specfile wich "fixed a few minor inaccuracies"
1395
1396 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
1397 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
1398   to build libdvdcss rpm.
1399
1400 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
1401 - version 0.2.92
1402 - %%makeinstall_std
1403 - splitted again, added vlc-sdl vlc-esd vlc-ggi
1404 - bring back some missing plugins
1405 - fixed buildrequires
1406 - added menu entries and icons (from cvs)
1407
1408 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
1409 - rebuild against libpng3
1410 - added some doc for sir rpmlint
1411 - #5583: option -g
1412
1413 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
1414 - version 0.2.83 : 
1415   * Activated subtitles in overlay mode (far from perfect, but this
1416     was an often requested feature).
1417
1418 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
1419 - version 0.2.82
1420
1421 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
1422 - version 0.2.81
1423 - added vlc-ncurses
1424
1425 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
1426 - cvs snapshot
1427 - added libdvdcss
1428
1429 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
1430 - fix build on ppc (c) dadou
1431
1432 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
1433 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
1434   improvements of the gtk interface.
1435 - corrected Summary in vlc-qt
1436
1437 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
1438 - added qt2 plugin (vlc-qt)
1439
1440 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
1441 - version 0.2.73
1442 - you can now get decss threw a plugin
1443 - rewritte srcipt to build vlc (decss plugin)
1444 - rebuild with SDL 1.2
1445
1446 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
1447 - true 0.2.72
1448
1449 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
1450 - version 0.2.72
1451 - package split into vlc, vlc-gnome, vlc-gtk
1452
1453 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
1454 - version 0.2.71 :
1455   * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
1456     shipped with the latest RedHat distributions.
1457   * Fixed the BeOS CSS decryption.
1458   * Fixed a few issues in IFO parsing.
1459   * Fixed XVideo video output.
1460   * Updated icons under Linux, BeOS, MacOS X.
1461
1462 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
1463 - version 0.2.70
1464
1465 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
1466 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
1467   interface for the Gnome-impaired, an even better DVD support
1468
1469 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
1470 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
1471   DVD decryption, arbitrary, seeking in the stream, pause, fast forward
1472   and slow motion, hardware YUV acceleration enhanced CSS support and a few
1473   new interface features including drag'n'drop.
1474 - first *real* public release (now under the GPL)
1475
1476 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
1477 - Fix build and use right optimizations on PPC
1478 - Enable SDL support
1479 - Spec clean up
1480
1481 * Fri Jan  5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
1482 - 0.1.99i, rebuild
1483
1484 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
1485 - 0.1.99h
1486
1487 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
1488 - first Mandrake package with help of Sam