Use dgettext() (aka _() ) rather than gettext().
[vlc/vlc-skelet.git] / vlc.mandriva.spec
blob51033b86f8a8a24eaa602ca44af08a4b7c171acf
1 %define name vlc
2 %define version 0.6.0
3 %define rel 5
4 %define ffcvs 20030622
5 %define mpegcvs 20030612
7 %define libmajor 0
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
19 %define with_dvdplay 1
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
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
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
46 %define with_esd 1
47 %define with_arts 1
48 %define with_alsa 1
50 %define with_slp 1
51 %define with_tar 1
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)
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
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
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}}
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}}
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}}
99 %{?_without_esd: %{expand: %%global with_esd 0}}
100 %{?_without_arts: %{expand: %%global with_arts 0}}
101 %{?_without_alsa: %{expand: %%global with_alsa 0}}
103 %{?_without_slp: %{expand: %%global with_slp 0}}
104 %{?_without_tar: %{expand: %%global with_tar 0}}
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}}
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}}
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}}
130 %{?_with_esd: %{expand: %%global with_esd 1}}
131 %{?_with_arts: %{expand: %%global with_arts 1}}
132 %{?_with_alsa: %{expand: %%global with_alsa 1}}
134 %{?_with_slp: %{expand: %%global with_slp 1}}
135 %{?_with_tar: %{expand: %%global with_tar 1}}
137 Summary: VLC media player, a multimedia player and streaming application.
138 Name: %{name}
139 Version: %{version}
140 Release: %{release}
142 %if %{cvs}
143 Source0: http://download.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.bz2
144 %else
145 Source0: http://download.videolan.org/packages/%{version}/%{name}-%{version}.tar.bz2
146 %endif
147 Source1: http://download.videolan.org/pub/videolan/vlc/0.6.0/contrib/ffmpeg-%ffcvs.tar.bz2
148 Source2: http://download.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
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
224 %if %with_a52
225 Buildrequires: liba52dec-devel
226 %endif
228 %if %with_ffmpeg
229 #gw we use included cvs version
230 #Buildrequires: libffmpeg-devel
231 %endif
233 %if %with_mpeg2dec
234 #gw we use the included cvs version
235 #Buildrequires: libmpeg2dec-devel >= 0.3.2
236 %endif
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
248 %if %with_slp
249 Buildrequires: libopenslp-devel
250 %endif
252 %if %with_dvdplay
253 BuildRequires: libdvdplay-devel
254 %endif
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
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 media player is a highly portable multimedia player for various audio
273 and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as
274 DVD's, VCD's, and various streaming protocols. It can also be used as a
275 server to stream in unicast or multicast in IPv4 or IPv6 on a
276 high-bandwidth network.
277 You may install vlc-gnome or vlc-gtk to have a nice graphical interface.
278 This package contains no CSS unscrambling functionality for DVDs ;
279 you need the libdvdcss library available from
280 http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
282 #general packages
283 %package -n %libname-devel
284 Summary: Development files for the VLC media player
285 Group: Development/C
286 Requires: %name = %version-%release
287 Provides: %name-devel = %version-%release
288 Provides: lib%name-devel = %version-%release
289 %description -n %libname-devel
290 Development files for the VLC media player
291 This package contains headers and a static library required to build plugins
292 for the VLC media player, or standalone applications using features from VLC.
294 %package -n mozilla-plugin-vlc
295 Summary: A multimedia plugin for Mozilla, based on vlc
296 group: Video
297 Requires: %name = %version-%release
298 %if %buildfor_mdk91
299 %define moz_ver 1.3.1
300 %else
301 %define moz_ver 1.4b
302 %endif
303 ##%{e###xpand: %%define mozve %(rpm -q --queryformat "%{version}\n" mozilla)}
304 %{expand: %%define mozve %(rpm -q mozilla| sed 's/mozilla-\([0-9].*\)-.*$/\1/')}
305 Requires: mozilla = %mozve
306 %description -n mozilla-plugin-vlc
307 This plugin adds support for MPEG, MPEG2, DVD and DivX to your Mozilla
308 browser. The decoding process is done by vlc and the output window is
309 embedded in a webpage or directly in the browser window. There is also
310 support for fullscreen display.
313 # intf plugins
314 %package -n gvlc
315 Summary: Gtk plugin for the VLC media player
316 Group: Video
317 Requires: %{name} = %{version}
318 Provides: vlc-gui
319 %description -n gvlc
320 This plugin adds a Gtk+ interface to the VLC media player. To
321 activate it, use the `--intf gtk' flag or run the `gvlc' program.
323 %package -n gnome-vlc
324 Summary: Gnome plugin for the VLC media player
325 Group: Video
326 Requires: %{name} = %{version}
327 Provides: vlc-gui, vlc-gnome
328 Obsoletes: vlc-gnome
329 %description -n gnome-vlc
330 This plugin adds a Gnome interface to the VLC media player. To
331 activate it, use the `--intf gnome' flag or run the `gnome-vlc' program.
333 %package -n qvlc
334 Summary: QT plugin for the VLC media player
335 Group: Video
336 Requires: %{name} = %{version}
337 Provides: vlc-gui, vlc-qt
338 Obsoletes: vlc-qt
339 %description -n qvlc
340 This plugin adds a Qt interface to the VLC media player. To activate it,
341 use the `--intf qt' flag or run the `qvlc' program.
343 %package -n kvlc
344 Summary: KDE frontend for the VLC media player
345 Group: Video
346 Requires: %{name} = %{version}
347 Provides: vlc-gui
348 %description -n kvlc
349 This plugin adds a KDE interface to the VLC media player. To
350 activate it, use the `--intf kde' flag or run the `kvlc' program.
352 %package plugin-ncurses
353 Summary: Ncurses console-based plugin for the VLC media player
354 Group: Video
355 Requires: %{name} = %{version}
356 %description plugin-ncurses
357 This plugin adds a ncurses interface to the VLC media player. To
358 activate it, use the `--intf ncurses' flag.
360 %package plugin-lirc
361 Summary: Lirc plugin for the VLC media player
362 Group: Video
363 Requires: %{name} = %{version}
364 Obsoletes: vlc-lirc
365 Provides: vlc-lirc
366 %description plugin-lirc
367 This plugin is an infrared lirc interface for the VLC media player. To
368 activate it, use the `--extraintf lirc' flag.
370 %package -n wxvlc
371 Summary: WxWindow plugin for the VLC media player
372 Group: Video
373 Requires: %{name} = %{version}
374 Obsoletes: vlc-lirc
375 Provides: vlc-lirc
376 Provides: vlc-gui
377 %description -n wxvlc
378 This plugin adds a wxWindow interface to the VLC media player. To
379 activate it, use the `--intf wxwin' flag or run the `wxvlc' program.
383 # video plugins
384 %package plugin-aa
385 Summary: ASCII art video plugin for the VLC media player
386 Group: Video
387 Requires: %{name} = %{version}
388 Obsoletes: vlc-aa
389 Provides: vlc-aa
390 %description plugin-aa
391 This is an ASCII art video output plugin for the VLC media playe. To
392 activate it, use the `--vout aa' flag or select the `aa' video output
393 plugin from the preferences menu.
396 %package plugin-sdl
397 Summary: Simple DirectMedia Layer video plugin for the VLC media player
398 Group: Video
399 Requires: %{name} = %{version}
400 Obsoletes: vlc-sdl
401 Provides: vlc-sdl
402 %description plugin-sdl
403 This plugin adds support for the Simple DirectMedia Layer library to
404 the VLC media player. To activate it, use the `--vout sdl' or
405 `--aout sdl' flags or select the `sdl' video or audio output plugin
406 from the preferences menu.
408 %package plugin-ggi
409 Summary: GGI video plugin for the VLC media player
410 Group: Video
411 Requires: %{name} = %{version}
412 Obsoletes: vlc-ggi
413 Provides: vlc-ggi
414 %description plugin-ggi
415 This is a GGI plugin for the VLC media player. To activate it, use
416 the `--vout ggi' flag or select the `ggi' video output plugin from
417 the preferences menu.
419 %package plugin-svgalib
420 Summary: SVGAlib video plugin for the VLC media player
421 Group: Video
422 Requires: %{name} = %{version}
423 %description plugin-svgalib
424 This plugin adds support for SVGAlib to the VLC media player. To
425 activate it, use the `--vout svgalib' flag or select the `svgalib' video
426 output plugin from the preferences menu. Note that you will need root
427 permissions to use SVGAlib.
431 # visualization plugins
432 %package plugin-xosd
433 Summary: X On-Screen Display plugin for the VLC media player
434 Group: Video
435 Requires: %{name} = %{version}
436 %description plugin-xosd
437 This is an On-Screen Display plugin for the VLC media player. To activate
438 it, use the `--extraintf xosd' flag or select the `xosd' interface plugin
439 from the preferences menu.
441 # codec plugins
442 %package plugin-mad
443 Summary: MAD audio codec plugin for the VLC media player
444 Group: Video
445 Requires: %{name} = %{version}
446 Obsoletes: vlc-mad
447 Provides: vlc-mad
448 %description plugin-mad
449 This plugin adds support for libmad, the MPEG audio decoder library,
450 to the VLC media player. MAD is 100% fixed-point based. To activate
451 this plugin, use the `--mpeg_adec mad' flag or select the `mad' MPEG
452 decoder from the preferences menu.
454 %package plugin-ogg
455 Summary: Ogg demuxer and Vorbis codec plugin for the VLC media player
456 Group: Video
457 Requires: %{name} = %{version}
458 %description plugin-ogg
459 These plugins add support for the Ogg bitstream format and the Ogg Vorbis
460 compressed audio format to the VLC media player. They are autodetected.
462 %package plugin-flac
463 Summary: Flac codec plugin for the VLC media player
464 Group: Video
465 Requires: %{name} = %{version}
466 %description plugin-flac
467 These plugins add support for the FLAC compressed audio format to the
468 VLC media player.
470 %package plugin-a52
471 Summary: A-52 (AC-3) codec plugin for the VLC media player
472 Group: Video
473 Requires: %{name} = %{version}
474 %description plugin-a52
475 This plugin adds support for the ATSC A-52 (aka. AC-3) audio format to
476 the VLC media player. The plugin is autodetected.
478 %package plugin-dv
479 Summary: DV codec plugin for the VLC media player
480 Group: Video
481 Requires: %{name} = %{version}
482 %description plugin-dv
483 This plugin adds support for the DV video format to the VLC media player.
484 The plugin is autodetected.
487 # input plugins
488 %package plugin-dvb
489 Summary: DVB input plugin for the VLC media player
490 Group: Video
491 Requires: %{name} = %{version}
492 %description plugin-dvb
493 This plugin adds support for DVB cards to the VLC media player. Note
494 that your card needs to be supported by your kernel before vlc can use it.
497 # audio plugins
498 %package plugin-esd
499 Summary: Enlightened Sound Daemon audio plugin for the VLC media player
500 Group: Video
501 Requires: %{name} = %{version}
502 Obsoletes: vlc-esd
503 Provides: vlc-esd
504 %description plugin-esd
505 This plugin adds support for the Enlightened Sound Daemon to the VLC
506 media player. To activate it, use the `--aout esd' flag or select the
507 `esd' audio output plugin from the preferences menu.
509 %package plugin-arts
510 Summary: Arts audio plugin for the VLC media player
511 Group: Video
512 Requires: %{name} = %{version}
513 Obsoletes: vlc-arts
514 Provides: vlc-arts
515 %description plugin-arts
516 This plugin adds support for the aRts Sound System to the VLC media
517 player. To activate it, use the `--aout arts' flag or select the `arts'
518 audio output plugin from the preferences menu.
520 %package plugin-alsa
521 Summary: Advanced Linux Sound Architecture audio plugin for the VLC media player
522 Group: Video
523 Requires: %{name} = %{version}
524 Obsoletes: vlc-alsa
525 Provides: vlc-alsa
526 %description plugin-alsa
527 This plugin adds support for the Advanced Linux Sound Architecture to
528 the VLC media player. To activate it, use the `--aout alsa' flag or
529 select the `alsa' audio output plugin from the preferences menu.
532 %package plugin-slp
533 Summary: Service Location Protocol acces plugin for the VLC media player
534 Group: Video
535 Requires: %{name} = %{version}
536 %description plugin-slp
537 This plugin adds support for the Service Location Protocol to
538 the VLC media player.
541 %prep
542 %if %{cvs}
543 %setup -q -n %{cvs_name} -a 1 -a 2
544 %else
545 %setup -q -a 1 -a 2
546 %endif
547 %patch -p1
548 rm -rf doc/skins/curve_maker/CVS
550 %build
551 cd mpeg2dec-%mpegcvs
552 %configure2_5x --disable-sdl --without-x
553 %make
554 cd ..
555 # yves 0.4.0-1mdk
556 # ffmpeg: static linking cause no official ffmpeg release with a stable ABI
557 # ffmpeg:no plugin posible on ia64 due to the static linking (can not put .a in a .so)
558 cd ffmpeg-%ffcvs
559 ./configure --libdir=%_libdir
560 %make
561 cd ..
562 export XPIDL=/usr/lib/mozilla-%moz_ver/xpidl
563 perl -pi -e 's#-I/usr/share/idl/mozilla#-I/usr/share/idl/mozilla-%{moz_ver}#' Makefile.in
564 export QTDIR=%{_libdir}/qt3
565 # mandrake kernel specific
566 export CPPFLAGS="${CPPFLAGS:--I/usr/src/linux/3rdparty/mod_dvb/include}"
567 # gw flags for the mozilla build
568 export CPPFLAGS="$CPPFLAGS -DOJI -DMOZ_X11"
569 # add missing ebml include dir
570 export CPPFLAGS="$CPPFLAGS -I/usr/include/ebml"
571 # NO empty line or comments for the configure --switch or it won't work.
572 %configure2_5x --enable-release \
573 --enable-dvd --without-dvdcss \
574 %if %with_dvdplay
575 --enable-dvdplay \
576 %else
577 --disable-dvdplay \
578 %endif
579 %if %with_mozilla
580 --enable-mozilla \
581 %else
582 --disable-mozilla \
583 %endif
584 %if %with_gtk
585 --enable-gtk \
586 %else
587 --disable-gtk \
588 %endif
589 %if %with_gnome
590 --enable-gnome \
591 %else
592 --disable-gnome \
593 %endif
594 %if %with_qt
595 --enable-qt \
596 %endif
597 %if %with_kde
598 --enable-kde \
599 %endif
600 %if %with_ncurses
601 --enable-ncurses \
602 %endif
603 %if %with_lirc
604 --enable-lirc \
605 %endif
606 %if %with_wx
607 --enable-wxwindows \
608 %else
609 --disable-wxwindows \
610 %endif
611 --enable-x11 --enable-xvideo \
612 --enable-fb --disable-mga \
613 %if %with_aa
614 --enable-aa \
615 %endif
616 %if %with_sdl
617 --enable-sdl \
618 %endif
619 %if %with_ggi
620 --enable-ggi \
621 %endif
622 %if %with_svgalib
623 --enable-svgalib \
624 %endif
625 %if %with_xosd
626 --enable-xosd \
627 %else
628 --disable-xosd \
629 %endif
630 %if %with_mad
631 --enable-mad \
632 %endif
633 %if %with_ffmpeg
634 --enable-ffmpeg --with-ffmpeg-tree=ffmpeg-%ffcvs \
635 %else
636 --disable-ffmpeg \
637 %endif
638 %if %with_ogg
639 --enable-vorbis \
640 --enable-ogg \
641 %else
642 --disable-vorbis \
643 --disable-ogg \
644 %endif
645 %if %with_flac
646 --enable-flac \
647 %else
648 --disable-flac \
649 %endif
650 %if %with_mkv
651 --enable-mkv \
652 %else
653 --disable-mkv \
654 %endif
655 %if %with_dv
656 --enable-dv \
657 %else
658 --disable-dv \
659 %endif
660 %if %with_dvb
661 --enable-dvb --enable-dvbpsi --enable-satellite \
662 %else
663 --disable-dvb --disable-dvbpsi --disable-satellite \
664 %endif
665 %if %with_esd
666 --enable-esd \
667 %endif
668 %if %with_alsa
669 --enable-alsa \
670 %endif
671 %if %with_arts
672 --enable-arts \
673 %endif
674 %if %with_mpeg2dec
675 --enable-libmpeg2 --with-libmpeg2-tree=mpeg2dec-%mpegcvs \
676 %else
677 ~ --disable-libmpeg2 \
678 %endif
680 %make
682 %install
683 rm -rf %buildroot
684 %makeinstall_std
685 %find_lang %name
686 install -d %buildroot/%_mandir/man1
687 install doc/vlc.1 %buildroot/%_mandir/man1
688 install doc/vlc-config.1 %buildroot/%_mandir/man1
690 # menu
691 mkdir -p %buildroot/%_menudir
692 cat > %buildroot/%_menudir/vlc << EOF
693 ?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" \
694 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"\
695 accept_url="true"\
696 multiple_files="true"
698 %if %with_gtk
699 cat > %buildroot/%_menudir/gvlc << EOF
700 ?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" \
701 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"\
702 accept_url="true"\
703 multiple_files="true"
705 %endif
706 %if %with_gnome
707 cat > %buildroot/%_menudir/gnome-vlc << EOF
708 ?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" \
709 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"\
710 accept_url="true"\
711 multiple_files="true"
713 %endif
714 %if %with_qt
715 cat > %buildroot/%_menudir/qvlc << EOF
716 ?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" \
717 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"\
718 accept_url="true"\
719 multiple_files="true"
721 %endif
722 %if %with_kde
723 cat > %buildroot/%_menudir/kvlc << EOF
724 ?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" \
725 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"\
726 accept_url="true"\
727 multiple_files="true"
729 %endif
730 %if %with_wx
731 cat > %buildroot/%_menudir/wxvlc << EOF
732 ?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" \
733 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"\
734 accept_url="true"\
735 multiple_files="true"
737 %endif
739 # icons
740 %define pngdir %buildroot/%_datadir/vlc
741 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
742 install -m 644 %pngdir/vlc16x16.png %buildroot/%_miconsdir/vlc.png
743 install -m 644 %pngdir/vlc32x32.png %buildroot/%_iconsdir/vlc.png
744 install -m 644 %pngdir/vlc48x48.png %buildroot/%_liconsdir/vlc.png
745 %if %with_gnome
746 install -m 644 %pngdir/gnome-vlc16x16.png %buildroot/%_miconsdir/gnome-vlc.png
747 install -m 644 %pngdir/gnome-vlc32x32.png %buildroot/%_iconsdir/gnome-vlc.png
748 install -m 644 %pngdir/gnome-vlc48x48.png %buildroot/%_liconsdir/gnome-vlc.png
749 %endif
750 %if %with_gtk
751 install -m 644 %pngdir/gvlc16x16.png %buildroot/%_miconsdir/gvlc.png
752 install -m 644 %pngdir/gvlc32x32.png %buildroot/%_iconsdir/gvlc.png
753 install -m 644 %pngdir/gvlc48x48.png %buildroot/%_liconsdir/gvlc.png
754 %endif
755 %if %with_kde
756 install -m 644 %pngdir/kvlc16x16.png %buildroot/%_miconsdir/kvlc.png
757 install -m 644 %pngdir/kvlc32x32.png %buildroot/%_iconsdir/kvlc.png
758 install -m 644 %pngdir/kvlc48x48.png %buildroot/%_liconsdir/kvlc.png
759 %endif
760 %if %with_qt
761 install -m 644 %pngdir/qvlc16x16.png %buildroot/%_miconsdir/qvlc.png
762 install -m 644 %pngdir/qvlc32x32.png %buildroot/%_iconsdir/qvlc.png
763 install -m 644 %pngdir/qvlc48x48.png %buildroot/%_liconsdir/qvlc.png
764 %endif
766 %if ! %with_wx
767 rm -rf %buildroot%_datadir/vlc/skins
768 %endif
770 %post
771 %update_menus
772 %postun
773 %clean_menus
775 %clean
776 rm -fr %buildroot
778 %files -f %name.lang
779 %defattr(-,root,root)
780 %doc NEWS README COPYING AUTHORS MAINTAINERS THANKS
781 %doc doc/web-streaming.html doc/vlc-howto.sgml doc/lirc/
782 %doc doc/fortunes.txt doc/bugreport-howto.txt
783 %_bindir/vlc
784 %dir %_datadir/vlc/
785 %_datadir/vlc/*.*
786 %dir %_libdir/vlc
788 %dir %_libdir/vlc/access
789 %_libdir/vlc/access/libcdda_plugin.so
790 %_libdir/vlc/access/libaccess_directory_plugin.so
791 %_libdir/vlc/access/libaccess_file_plugin.so
792 %_libdir/vlc/access/libaccess_ftp_plugin.so
793 %_libdir/vlc/access/libaccess_http_plugin.so
794 %_libdir/vlc/access/libaccess_mms_plugin.so
795 %_libdir/vlc/access/libaccess_udp_plugin.so
796 %if %with_dvdplay
797 %_libdir/vlc/access/libdvdplay_plugin.so
798 %endif
799 %_libdir/vlc/access/libdvd_plugin.so
800 %_libdir/vlc/access/libdvdread_plugin.so
801 %_libdir/vlc/access/libvcd_plugin.so
803 %dir %_libdir/vlc/access_output/
804 %_libdir/vlc/access_output/libaccess_output_dummy_plugin.so
805 %_libdir/vlc/access_output/libaccess_output_file_plugin.so
806 %_libdir/vlc/access_output/libaccess_output_http_plugin.so
807 %_libdir/vlc/access_output/libaccess_output_udp_plugin.so
809 %dir %_libdir/vlc/audio_filter
810 %_libdir/vlc/audio_filter/libbandlimited_resampler_plugin.so
811 %_libdir/vlc/audio_filter/libdolby_surround_decoder_plugin.so
812 %_libdir/vlc/audio_filter/libdtstospdif_plugin.so
813 %_libdir/vlc/audio_filter/libfixed32tofloat32_plugin.so
814 %_libdir/vlc/audio_filter/libfixed32tos16_plugin.so
815 %_libdir/vlc/audio_filter/libfloat32tos16_plugin.so
816 %_libdir/vlc/audio_filter/libfloat32tos8_plugin.so
817 %_libdir/vlc/audio_filter/libfloat32tou16_plugin.so
818 %_libdir/vlc/audio_filter/libfloat32tou8_plugin.so
819 %_libdir/vlc/audio_filter/libheadphone_channel_mixer_plugin.so
820 %_libdir/vlc/audio_filter/liblinear_resampler_plugin.so
821 %_libdir/vlc/audio_filter/libs16tofixed32_plugin.so
822 %_libdir/vlc/audio_filter/libs16tofloat32_plugin.so
823 %_libdir/vlc/audio_filter/libs16tofloat32swab_plugin.so
824 %_libdir/vlc/audio_filter/libs8tofloat32_plugin.so
825 %_libdir/vlc/audio_filter/libtrivial_channel_mixer_plugin.so
826 %_libdir/vlc/audio_filter/libtrivial_resampler_plugin.so
827 %_libdir/vlc/audio_filter/libu8tofixed32_plugin.so
828 %_libdir/vlc/audio_filter/libu8tofloat32_plugin.so
829 %_libdir/vlc/audio_filter/libugly_resampler_plugin.so
831 %dir %_libdir/vlc/audio_mixer
832 %_libdir/vlc/audio_mixer/libfloat32_mixer_plugin.so
833 %_libdir/vlc/audio_mixer/libspdif_mixer_plugin.so
834 %_libdir/vlc/audio_mixer/libtrivial_mixer_plugin.so
836 %dir %_libdir/vlc/audio_output
837 %_libdir/vlc/audio_output/libaout_file_plugin.so
838 %_libdir/vlc/audio_output/liboss_plugin.so
840 %dir %_libdir/vlc/codec
841 %_libdir/vlc/codec/liba52_plugin.so
842 %_libdir/vlc/codec/libadpcm_plugin.so
843 %_libdir/vlc/codec/libaraw_plugin.so
844 %_libdir/vlc/codec/librawvideo_plugin.so
845 %_libdir/vlc/codec/libcinepak_plugin.so
846 %_libdir/vlc/codec/libdts_plugin.so
847 #%_libdir/vlc/codec/libidctclassic_plugin.so
848 #%ifarch %ix86
849 #%_libdir/vlc/codec/libidctmmxext_plugin.so
850 #%_libdir/vlc/codec/libidctmmx_plugin.so
851 #%endif
852 #%_libdir/vlc/codec/libidct_plugin.so
853 %_libdir/vlc/codec/liblpcm_plugin.so
854 #%ifarch %ix86
855 #%_libdir/vlc/codec/libmotionmmxext_plugin.so
856 #%_libdir/vlc/codec/libmotionmmx_plugin.so
857 #%endif
858 #%_libdir/vlc/codec/libmotion_plugin.so
859 %_libdir/vlc/codec/liblibmpeg2_plugin.so
860 %_libdir/vlc/codec/libmpeg_audio_plugin.so
861 #%_libdir/vlc/codec/libmpeg_video_plugin.so
862 %if %with_ffmpeg
863 #%_libdir/vlc/codec/libpostprocessing_c_plugin.so
864 %ifarch %ix86
865 # %_libdir/vlc/codec/libpostprocessing_mmx_plugin.so
866 # %_libdir/vlc/codec/libpostprocessing_mmxext_plugin.so
867 %endif
868 %endif
869 %_libdir/vlc/codec/libspudec_plugin.so
871 %dir %_libdir/vlc/control
872 %_libdir/vlc/control/libhttp_plugin.so
873 %_libdir/vlc/control/librc_plugin.so
874 %_libdir/vlc/control/libgestures_plugin.so
876 %dir %_libdir/vlc/demux
877 %_libdir/vlc/demux/libaac_plugin.so
878 %_libdir/vlc/demux/libasf_plugin.so
879 %_libdir/vlc/demux/libau_plugin.so
880 %_libdir/vlc/demux/libaudio_plugin.so
881 %_libdir/vlc/demux/libavi_plugin.so
882 %_libdir/vlc/demux/liba52sys_plugin.so
883 %_libdir/vlc/demux/libdemuxdump_plugin.so
884 %_libdir/vlc/demux/libdemuxsub_plugin.so
885 %_libdir/vlc/demux/libes_plugin.so
886 %_libdir/vlc/demux/libid3_plugin.so
887 %_libdir/vlc/demux/libm3u_plugin.so
888 %_libdir/vlc/demux/libm4v_plugin.so
889 %if %with_mkv
890 %_libdir/vlc/demux/libmkv_plugin.so
891 %endif
892 %_libdir/vlc/demux/libmp4_plugin.so
893 %_libdir/vlc/demux/libmpeg_system_plugin.so
894 %_libdir/vlc/demux/libps_plugin.so
895 %_libdir/vlc/demux/librawdv_plugin.so
896 %_libdir/vlc/demux/libts_plugin.so
897 %_libdir/vlc/demux/libwav_plugin.so
899 %dir %_libdir/vlc/misc
900 %_libdir/vlc/misc/libdummy_plugin.so
901 %_libdir/vlc/misc/libhttpd_plugin.so
902 %_libdir/vlc/misc/libipv4_plugin.so
903 %_libdir/vlc/misc/libipv6_plugin.so
904 %_libdir/vlc/misc/liblogger_plugin.so
905 #%ifarch %ix86
906 #%_libdir/vlc/misc/libmemcpy3dn_plugin.so
907 #%_libdir/vlc/misc/libmemcpymmxext_plugin.so
908 #%_libdir/vlc/misc/libmemcpymmx_plugin.so
909 #%endif
910 %_libdir/vlc/misc/libmemcpy_plugin.so
911 %_libdir/vlc/misc/libsap_plugin.so
912 %_libdir/vlc/misc/libscreensaver_plugin.so
914 %dir %_libdir/vlc/mux
915 %_libdir/vlc/mux/libmux_avi_plugin.so
916 %_libdir/vlc/mux/libmux_dummy_plugin.so
917 %_libdir/vlc/mux/libmux_ogg_plugin.so
918 %_libdir/vlc/mux/libmux_ps_plugin.so
919 %_libdir/vlc/mux/libmux_ts_plugin.so
921 %dir %_libdir/vlc/packetizer
922 %_libdir/vlc/packetizer/libpacketizer_a52_plugin.so
923 %_libdir/vlc/packetizer/libpacketizer_copy_plugin.so
924 %_libdir/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so
925 %_libdir/vlc/packetizer/libpacketizer_mpeg4video_plugin.so
926 %_libdir/vlc/packetizer/libpacketizer_mpegaudio_plugin.so
927 %_libdir/vlc/packetizer/libpacketizer_mpegvideo_plugin.so
929 %dir %_libdir/vlc/stream_out
930 %_libdir/vlc/stream_out/libstream_out_display_plugin.so
931 %_libdir/vlc/stream_out/libstream_out_dummy_plugin.so
932 %_libdir/vlc/stream_out/libstream_out_duplicate_plugin.so
933 %_libdir/vlc/stream_out/libstream_out_es_plugin.so
934 %_libdir/vlc/stream_out/libstream_out_standard_plugin.so
936 %dir %_libdir/vlc/video_chroma
937 %_libdir/vlc/video_chroma/libi420_rgb_plugin.so
938 %_libdir/vlc/video_chroma/libi420_ymga_plugin.so
939 %_libdir/vlc/video_chroma/libi420_yuy2_plugin.so
940 %_libdir/vlc/video_chroma/libi422_yuy2_plugin.so
941 #%ifarch %ix86
942 #%_libdir/vlc/video_chroma/libi420_rgb_mmx_plugin.so
943 #%_libdir/vlc/video_chroma/libi420_ymga_mmx_plugin.so
944 #%_libdir/vlc/video_chroma/libi420_yuy2_mmx_plugin.so
945 #%_libdir/vlc/video_chroma/libi422_yuy2_mmx_plugin.so
946 #%endif
948 %dir %_libdir/vlc/video_filter
949 %_libdir/vlc/video_filter/libadjust_plugin.so
950 %_libdir/vlc/video_filter/libclone_plugin.so
951 %_libdir/vlc/video_filter/libcrop_plugin.so
952 %_libdir/vlc/video_filter/libdeinterlace_plugin.so
953 %_libdir/vlc/video_filter/libdistort_plugin.so
954 %_libdir/vlc/video_filter/libinvert_plugin.so
955 %_libdir/vlc/video_filter/libmotionblur_plugin.so
956 %_libdir/vlc/video_filter/libosdtext_plugin.so
957 %_libdir/vlc/video_filter/libtransform_plugin.so
958 %_libdir/vlc/video_filter/libwall_plugin.so
960 %dir %_libdir/vlc/video_output
961 %_libdir/vlc/video_output/libfb_plugin.so
962 #%_libdir/vlc/video_output/libvout_encoder_plugin.so
963 %_libdir/vlc/video_output/libx11_plugin.so
964 %_libdir/vlc/video_output/libxvideo_plugin.so
966 %dir %_libdir/vlc/visualization
968 %_mandir/man1/vlc.*
969 %_menudir/vlc
970 %_miconsdir/vlc.png
971 %_iconsdir/vlc.png
972 %_liconsdir/vlc.png
974 %files -n %libname-devel
975 %defattr(-,root,root)
976 %doc README doc/release-howto.txt doc/skins doc/subtitles doc/Configure.help
977 %doc doc/arm-crosscompile-howto.sgml
978 %dir %_includedir/vlc
979 %_includedir/vlc/*
980 %_libdir/*a
981 %_libdir/vlc/*a
982 %_bindir/vlc-config
983 %_mandir/man1/vlc-config*
985 %if %with_mozilla
986 %files -n mozilla-plugin-vlc
987 %defattr(-,root,root)
988 %doc README
989 %_libdir/mozilla/*/*
990 %endif
992 # intf plugins
993 %if %with_gtk
994 %files -n gvlc
995 %defattr(-,root,root)
996 %doc README
997 %_libdir/vlc/misc/libgtk_main_plugin.so
998 %_libdir/vlc/gui/libgtk_plugin.so
999 %_bindir/gvlc
1000 %_menudir/gvlc
1001 %_miconsdir/gvlc.png
1002 %_iconsdir/gvlc.png
1003 %_liconsdir/gvlc.png
1004 %post -n gvlc
1005 %update_menus
1006 %postun -n gvlc
1007 %clean_menus
1008 %endif
1010 %if %with_gnome
1011 %files -n gnome-vlc
1012 %defattr(-,root,root)
1013 %doc README
1014 %_libdir/vlc/misc/libgnome_main_plugin.so
1015 %_libdir/vlc/gui/libgnome_plugin.so
1016 %_bindir/gnome-vlc
1017 %_menudir/gnome-vlc
1018 %_miconsdir/gnome-vlc.png
1019 %_iconsdir/gnome-vlc.png
1020 %_liconsdir/gnome-vlc.png
1021 %post -n gnome-vlc
1022 %update_menus
1023 %postun -n gnome-vlc
1024 %clean_menus
1025 %endif
1027 %if %with_wx
1028 %files -n wxvlc
1029 %defattr(-,root,root)
1030 %doc README
1031 %_bindir/wxvlc
1032 %_libdir/vlc/gui/libwxwindows_plugin.so
1033 %_menudir/wxvlc
1034 %_datadir/vlc/skins
1035 %post -n wxvlc
1036 %update_menus
1037 %postun -n wxvlc
1038 %clean_menus
1039 %endif
1042 %if %with_qt
1043 %files -n qvlc
1044 %defattr(-,root,root)
1045 %doc README
1046 %_libdir/vlc/gui/libqt_plugin.so
1047 %_bindir/qvlc
1048 %_menudir/qvlc
1049 %_miconsdir/qvlc.png
1050 %_iconsdir/qvlc.png
1051 %_liconsdir/qvlc.png
1052 %post -n qvlc
1053 %update_menus
1054 %postun -n qvlc
1055 %clean_menus
1056 %endif
1058 %if %with_kde
1059 %files -n kvlc
1060 %defattr(-,root,root)
1061 %doc README
1062 %_libdir/vlc/gui/libkde_plugin.so
1063 %_bindir/kvlc
1064 %_menudir/kvlc
1065 %_miconsdir/kvlc.png
1066 %_iconsdir/kvlc.png
1067 %_liconsdir/kvlc.png
1068 %post -n kvlc
1069 %update_menus
1070 %postun -n kvlc
1071 %clean_menus
1072 %endif
1074 %if %with_ncurses
1075 %files plugin-ncurses
1076 %defattr(-,root,root)
1077 %doc README
1078 %_libdir/vlc/gui/libncurses_plugin.so
1079 %endif
1081 %if %with_lirc
1082 %files plugin-lirc
1083 %defattr(-,root,root)
1084 %doc README
1085 %_libdir/vlc/control/liblirc_plugin.so
1086 %endif
1088 # video plugins
1089 %if %with_sdl
1090 %files plugin-sdl
1091 %defattr(-,root,root)
1092 %doc README
1093 %_libdir/vlc/audio_output/libaout_sdl_plugin.so
1094 %_libdir/vlc/video_output/libvout_sdl_plugin.so
1095 %endif
1097 %if %with_ggi
1098 %files plugin-ggi
1099 %defattr(-,root,root)
1100 %doc README
1101 %{_libdir}/vlc/video_output/libggi_plugin.so
1102 %endif
1104 %if %with_aa
1105 %files plugin-aa
1106 %defattr(-,root,root)
1107 %doc README
1108 %{_libdir}/vlc/video_output/libaa_plugin.so
1109 %endif
1111 %if %with_svgalib
1112 %files plugin-svgalib
1113 %defattr(-,root,root)
1114 %doc README
1115 %_libdir/vlc/video_output/libsvgalib_plugin.so
1116 %endif
1118 # visualization plugin
1119 %if %with_xosd
1120 %files plugin-xosd
1121 %defattr(-,root,root)
1122 %doc README
1123 %_libdir/vlc/visualization/libxosd_plugin.so
1124 %endif
1126 # codec plugin
1127 %if %with_mad
1128 %files plugin-mad
1129 %defattr(-,root,root)
1130 %doc README
1131 %_libdir/vlc/audio_filter/libmpgatofixed32_plugin.so
1132 %_libdir/vlc/demux/libid3tag_plugin.so
1133 %endif
1135 %if %with_ogg
1136 %files plugin-ogg
1137 %defattr(-,root,root)
1138 %doc README
1139 %_libdir/vlc/demux/libogg_plugin.so
1140 %_libdir/vlc/codec/libvorbis_plugin.so
1141 %endif
1143 %if %with_ogg
1144 %files plugin-flac
1145 %defattr(-,root,root)
1146 %doc README
1147 %_libdir/vlc/demux/libflacsys_plugin.so
1148 %_libdir/vlc/codec/libflac_plugin.so
1149 %endif
1152 %if %with_dv
1153 %files plugin-dv
1154 %defattr(-,root,root)
1155 %doc README
1156 %_libdir/vlc/codec/libdv_plugin.so
1157 %endif
1159 %if %with_a52
1160 %files plugin-a52
1161 %defattr(-,root,root)
1162 %doc README
1163 %_libdir/vlc/audio_filter/liba52tofloat32_plugin.so
1164 %_libdir/vlc/audio_filter/liba52tospdif_plugin.so
1165 %endif
1167 # input plugin
1168 %if %with_dvb
1169 %files plugin-dvb
1170 %defattr(-,root,root)
1171 %doc README
1172 %_libdir/vlc/access/libsatellite_plugin.so
1173 %_libdir/vlc/demux/libts_dvbpsi_plugin.so
1174 %_libdir/vlc/mux/libmux_ts_dvbpsi_plugin.so
1175 %endif
1177 #audio plugins
1178 %if %with_esd
1179 %files plugin-esd
1180 %defattr(-,root,root)
1181 %doc README
1182 %_libdir/vlc/audio_output/libesd_plugin.so
1183 %endif
1185 %if %with_arts
1186 %files plugin-arts
1187 %defattr(-,root,root)
1188 %doc README
1189 %_libdir/vlc/audio_output/libarts_plugin.so
1190 %endif
1192 %if %with_alsa
1193 %files plugin-alsa
1194 %defattr(-,root,root)
1195 %doc README
1196 %_libdir/vlc/audio_output/libalsa_plugin.so
1197 %endif
1199 %if %with_slp
1200 %files plugin-slp
1201 %defattr(-,root,root)
1202 %doc README
1203 %_libdir/vlc/access/libslp_plugin.so
1204 %endif
1206 %changelog
1207 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-5mdk
1208 - reenable wxvlc, but use 2.4 instead of 2.5
1209 - remove the packager tag
1210 - fix build on mdk 9.1
1212 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-4mdk
1213 - add some more docs
1214 - enable libtar
1215 - fix comment about the DVB headers
1216 - small spec fix
1218 * Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-3mdk
1219 - some spec fixes
1220 - add mime types to the menu entries
1221 - enable the kde plugin
1222 - the wx package provides wx-gui
1223 - move the skins to the wx package
1224 - fix all --with options
1225 - enable matroska
1226 - disable wx, didn't work
1228 * Fri Jun 27 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-2mdk
1229 - add matroska to the spec file, but don't enable it yet
1230 - enable the flac plugin
1231 - enable DVB, use headers from kernel-multimedia-source
1233 * Fri Jun 27 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.0-1mdk
1234 - add lots of new plugins
1235 - disable libvout_encoder_plugin.so
1236 - disable postprocessing plugins
1237 - add the data dir to the main package
1238 - disable dvb (were have all the headers gone?)
1239 - include static ffmpeg
1240 - include static mpeg2dec
1241 - enable wxGTK
1242 - fix mozilla build
1243 - fix buildrequires
1244 - new version
1246 * Tue Apr 8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.2-2mdk
1247 - new dvdread
1249 * Sun Apr 06 2003 Yves Duret <yves@zarb.org> 0.5.2-1mdk
1250 - 0.5.2
1252 * Tue Feb 18 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.0-4mdk
1253 - new xosd
1255 * Thu Feb 06 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.5.0-3mdk
1256 - BuildRequires libdvbpsi-devel libdvdplay-devel
1258 * Tue Feb 4 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.0-2mdk
1259 - rebuild for new xosd
1261 * Mon Feb 03 2003 Yves Duret <yves@zarb.org> 0.5.0-1mdk
1262 - Natalya release.
1263 - enables DVD menus.
1265 * Mon Feb 03 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030203.1mdk
1266 - latest (!) cvs snapshot before release, oh yeah.
1267 - added dv and dvb sub rpm (satellite).
1268 - added mozilla-plugin.
1269 - more docs.
1270 - fixes here and here.
1271 - sync with CVS one.
1273 * Fri Jan 31 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030131.1mdk
1274 - new cvs snapshot.
1276 * Tue Jan 28 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030128.1mdk
1277 - new cvs snapshot.
1278 - sync specfile with HEAD CVS one.
1280 * Mon Jan 27 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030127.1mdk
1281 - new cvs snapshot.
1283 * Fri Jan 24 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030124.1mdk
1284 - new cvs snapshot adding transcoding feature!
1285 - new video_output/vout_encoder plugin.
1286 - new demux/a52sys plugin.
1288 * Mon Jan 20 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030120.1mdk
1289 - new cvs snapshot.
1290 - new access/slp plugin.
1291 - more buildfor_{rh80,mdk{82,90}} stuff.
1292 - use %%mklibname macro.
1293 - use %%clean_menus in postun instead of %%update_menus everywhere.
1295 * Thu Jan 16 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030116.1mdk
1296 - new cvs snapshot.
1297 - codec/mad plugin is replaced by audio_filter/mpgatofixed32.
1299 * Tue Jan 14 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030114.1mdk
1300 - new cvs snapshot.
1301 - new demux/m4v and mux/avi plugins.
1303 * Fri Jan 10 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030110.1mdk
1304 - new cvs snapshot.
1305 - new packetizer/mpeg4audio plugin.
1307 * Tue Jan 07 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030107.1mdk
1308 - cvs 2003/01/07.
1309 - mmx/3dn plugins are only for x86 arch (use %ifarch %ix86 to list them)
1310 ie. fix rpm building on ppc thx Olivier Thauvin <olivier.thauvin@aerov.jussieu.fr>
1312 * Mon Jan 06 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20030106.1mdk
1313 - cvs 2003/01/06.
1314 - removed access/rtp plugin (merged in access/udp).
1315 - removed codec/imdct and codec/downmix plugins (deprecated).
1316 - libvlc0-devel provides libvlc-devel.
1318 * Sun Jan 05 2003 Yves Duret <yves@zarb.org> 0.5.0-0.20021220.2mdk
1319 - rebuild against new glibc.
1320 - rpm configure macro is now fixed.
1322 * Fri Dec 20 2002 Yves Duret <yves@zarb.org> 0.5.0-0.20021220.1mdk
1323 - cvs 20021220 (aka fix segfaulting with broken trancoded avi)
1324 - added rawdv plugin.
1325 - few spec enhacement and sync with upstream CVS.
1327 * Wed Dec 18 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.5.0-0.20021218.1mdk
1328 - don't harcore arch in name
1329 - cvs 20021218
1332 * Mon Jun 20 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.2-1mdk
1333 - new upstream release
1335 * Mon Jun 3 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.1-1mdk
1336 - new upstream release
1338 * Thu May 23 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.0-1mdk
1339 - version 0.4.0 with MPEG4 (DivX) support thx ffmpeg.
1340 thus s/MPEG, MPEG2 and DVD/multimedia/g
1341 - sync %%description with debian ones.
1342 - vlc now requires a vlc-gui (gtk, gnome or qt).
1343 - removed gcc3.1 patches since merged upstream.
1345 * Mon May 13 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-4mdk
1346 - removed xmga plugin (currently broken).
1347 - manual rebuild in gcc3.1 environment aka added Patch0 & Patch1
1348 - various summary/description changes.
1350 * Fri May 03 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-3mdk
1351 - added vlc-lirc intf plugin rpm.
1353 * Tue Apr 30 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-2mdk
1354 - rebuild against libalsa2 (vlc-sdl)
1356 * Fri Apr 19 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
1357 - version 0.3.1.
1358 - removed patch0 merged upstream.
1359 - removed old %%ifarch ppc
1360 - added missing libmad-devel buldrequires
1362 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
1363 - added liba52 support (buildrequires).
1364 - added vlc-alsa audio plugin.
1365 - mad is a codec (audio) plugin. corrected description and summary.
1367 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
1368 - added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>
1370 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
1371 - added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
1372 - better summary for plugin
1373 - add packager tag to myself
1375 * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
1376 - version 0.3.0
1377 - added aa (Asci Art) plugin in vlc-aa rpm
1378 - merged with sam's one:
1379 * using his plugins list into %%files
1380 * removed libdvdcss from the whole tarball.
1381 * removed the workaround for vlc's bad /dev/dsp detection.
1382 - few spell corrections in all %%description
1383 - added buildrequires on SDL-devel
1385 * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
1386 - new cvs snapshot
1387 - fix requires
1389 * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
1390 - cvs snapshot
1392 * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
1393 - mad plugin in vlc-mad rpm
1395 * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
1396 - synced with main cvs specfile wich "fixed a few minor inaccuracies"
1398 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
1399 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
1400 to build libdvdcss rpm.
1402 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
1403 - version 0.2.92
1404 - %%makeinstall_std
1405 - splitted again, added vlc-sdl vlc-esd vlc-ggi
1406 - bring back some missing plugins
1407 - fixed buildrequires
1408 - added menu entries and icons (from cvs)
1410 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
1411 - rebuild against libpng3
1412 - added some doc for sir rpmlint
1413 - #5583: option -g
1415 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
1416 - version 0.2.83 :
1417 * Activated subtitles in overlay mode (far from perfect, but this
1418 was an often requested feature).
1420 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
1421 - version 0.2.82
1423 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
1424 - version 0.2.81
1425 - added vlc-ncurses
1427 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
1428 - cvs snapshot
1429 - added libdvdcss
1431 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
1432 - fix build on ppc (c) dadou
1434 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
1435 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
1436 improvements of the gtk interface.
1437 - corrected Summary in vlc-qt
1439 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
1440 - added qt2 plugin (vlc-qt)
1442 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
1443 - version 0.2.73
1444 - you can now get decss threw a plugin
1445 - rewritte srcipt to build vlc (decss plugin)
1446 - rebuild with SDL 1.2
1448 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
1449 - true 0.2.72
1451 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
1452 - version 0.2.72
1453 - package split into vlc, vlc-gnome, vlc-gtk
1455 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
1456 - version 0.2.71 :
1457 * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
1458 shipped with the latest RedHat distributions.
1459 * Fixed the BeOS CSS decryption.
1460 * Fixed a few issues in IFO parsing.
1461 * Fixed XVideo video output.
1462 * Updated icons under Linux, BeOS, MacOS X.
1464 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
1465 - version 0.2.70
1467 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
1468 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
1469 interface for the Gnome-impaired, an even better DVD support
1471 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
1472 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
1473 DVD decryption, arbitrary, seeking in the stream, pause, fast forward
1474 and slow motion, hardware YUV acceleration enhanced CSS support and a few
1475 new interface features including drag'n'drop.
1476 - first *real* public release (now under the GPL)
1478 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
1479 - Fix build and use right optimizations on PPC
1480 - Enable SDL support
1481 - Spec clean up
1483 * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
1484 - 0.1.99i, rebuild
1486 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
1487 - 0.1.99h
1489 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
1490 - first Mandrake package with help of Sam