5 %define version %vlc_ver
9 %define cvsdate 20010619
10 %define release 0.%{cvsdate}mdk
11 %define cvs_name %{name}-snapshot-%{cvsdate}-00
19 Summary: VideoLAN is a free multimedia software solution.
23 Packager: Yves Duret <yduret@mandrakesoft.com>
26 Source0: http://www.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.bz2
28 Source0: http://www.videolan.org/packages/%{version}/%{name}-%{version}.tar.bz2
32 URL: http://www.videolan.org/
34 # yves 0.4.0-1mdk needed by ffmpeg builtin (i want MPEG4 support out of box)
37 BuildRoot: %_tmppath/%name-%version-%release-root
38 Buildrequires: libncurses5-devel
39 Buildrequires: libqt2-devel
40 Buildrequires: libgtk+1.2-devel
41 Buildrequires: gnome-libs-devel
42 Buildrequires: db1-devel
43 Buildrequires: alsa-lib-devel
44 Buildrequires: libarts-devel
45 Buildrequires: libggi-devel
46 Buildrequires: aalib-devel
47 Buildrequires: SDL-devel
48 Buildrequires: liba52dec-devel
49 Buildrequires: libmad-devel
50 Buildrequires: liblirc-devel
51 Buildrequires: libffmpeg-devel
54 VideoLAN is a free network-aware MPEG1, MPEG2, MPEG4 (aka DivX)
56 The VideoLAN Client allows to play MPEG2 Transport Streams from the
57 network or from a file, as well as direct DVD playback.
58 VideoLAN is a project of students from the Ecole Centrale Paris.
59 This version add MPEG1 support, direct DVD support, DVD decryption,
60 arbitrary, seeking in the stream, pause, fast forward and slow motion,
61 hardware YUV acceleration and a few new interface features
62 including drag'n'drop.
63 You may install vlc-gnome, vlc-gtk and vlc-ncurses.
64 This package contains no CSS unscrambling functionality.
65 You need the libdvdcss library available from
66 http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
70 Summary: Gtk plugin for the VideoLAN client
72 Requires: %{name} = %{version}
75 VideoLAN is a free multimedia software solution.
77 This plugin adds a Gtk+ interface to vlc, the VideoLAN Client. To
78 activate it, use the `--intf gtk' flag or run the `gvlc' program.
81 Summary: Gnome plugin for the VideoLAN client
83 Requires: %{name} = %{version}
86 VideoLAN is a free multimedia software solution.
88 This plugin adds a Gnome interface to vlc, the VideoLAN Client. To
89 activate it, use the `--intf gnome' flag or run the `gnome-vlc' program.
92 Summary: Qt2 plugin for the VideoLAN client
94 Requires: %{name} = %{version}
97 VideoLAN is a free multimedia software solution.
99 This plugin adds a Qt interface to vlc, the VideoLAN Client. To
100 activate it, use the `--intf qt' flag or run the `qvlc' program.
103 Summary: Ncurses console-based plugin for the VideoLAN client
105 Requires: %{name} = %{version}
107 VideoLAN is a free multimedia software solution.
109 This plugin adds a ncurses interface to vlc, the VideoLAN Client. To
110 activate it, use the `--intf ncurses' flag.
113 Summary: Lirc plugin for the VideoLAN client
115 Requires: %{name} = %{version}
117 VideoLAN is a free multimedia software solution.
119 This plugin is an infrared lirc interface for vlc, the
120 VideoLAN Client. To activate it, use the `--intf lirc' flag.
125 Summary: ASCII art video plugin for the VideoLAN client
127 Requires: %{name} = %{version}
129 VideoLAN is a free multimedia software solution.
131 This is an ASCII art video output plugin for vlc, the VideoLAN
132 Client. To activate it, use the `--vout aa' flag or select the `aa'
133 vout plugin from the preferences menu.
137 Summary: Simple DirectMedia Layer video plugin for the VideoLAN client
139 Requires: %{name} = %{version}
141 VideoLAN is a free multimedia software solution.
143 This plugin adds support for the Simple DirectMedia Layer library to
144 vlc, the VideoLAN Client. To activate it, use the `--vout sdl' or
145 `--aout sdl' flags or select the `sdl' vout or aout plugin from the
149 Summary: GGI video plugin for the VideoLAN client
151 Requires: %{name} = %{version}
153 VideoLAN is a free multimedia software solution.
155 This is a GGI plugin for vlc, the VideoLAN Client. To activate it, use
156 the `--vout ggi' flag or select the `ggi' vout plugin from the preferences
161 Summary: MAD audio codec plugin for the VideoLAN client
163 Requires: %{name} = %{version}
165 VideoLAN is a free multimedia software solution.
167 This plugin adds support for libmad, the MPEG audio decoder library,
168 to the VideoLAN Client. MAD is 100% fixed-point based. To activate
169 this plugin, use the `--mpeg_adec mad' flag or select the `mad' MPEG
170 decoder from the preferences menu.
174 Summary: Enlightened Sound Daemon audio plugin for the VideoLAN client
176 Requires: %{name} = %{version}
178 VideoLAN is a free multimedia software solution.
180 This plugin adds support for the Enlightened Sound Daemon to vlc, the
181 VideoLAN Client. To activate it, use the `--aout esd' flag or select
182 the `esd' aout plugin from the preferences menu.
185 Summary: aRts audio plugin for the VideoLAN client
187 Requires: %{name} = %{version}
189 VideoLAN is a free multimedia software solution.
191 This plugin adds support for the aRts Sound System to vlc, the
192 VideoLAN Client. To activate it, use the `--aout arts' flag or
193 select the `arts' aout plugin from the preferences menu.
196 Summary: Advanced Linux Sound Architecture audio plugin for the VideoLAN client
198 Requires: %{name} = %{version}
200 VideoLAN is a free multimedia software solution.
202 This plugin adds support for the Advanced Linux Sound Architecture to
203 vlc, the VideoLAN Client. To activate it, use the `--aout alsa' flag or
204 select the `alsa' aout plugin from the preferences menu.
208 %setup -q -n %{cvs_name}
215 # ffmpeg: static linking cause no official ffmpeg release aith a stable ABI
216 # ffmpeg: no plugin posible on ia64 due to the static linking (can not put .a in a .so)
217 %configure --enable-release \
218 --enable-dvd --without-dvdcss \
219 --enable-gtk --enable-gnome --disable-qt --disable-kde --enable-ncurses --enable-lirc \
220 --enable-x11 --enable-xvideo --enable-ggi --enable-sdl --enable-fb --enable-mga --enable-aa \
221 --enable-esd --enable-alsa --enable-arts \
222 --enable-mad --enable-ffmpeg --with-ffmpeg=/usr
223 export QTDIR=%{_libdir}/qt2
228 install -d %buildroot/%_mandir/man1
229 install doc/vlc.1 %buildroot/%_mandir/man1
232 mkdir -p %buildroot/%{_menudir}
233 cat > %buildroot/%{_menudir}/vlc << EOF
234 ?package(vlc): command="%{_bindir}/vlc" hotkey="V" needs="X11" longtitle="VideoLAN is a free multimedia software solution" section="Multimedia/Video" title="VideoLAN Client" icon="vlc.png" hints="Video"
236 cat > %buildroot/%{_menudir}/vlc-gtk << EOF
237 ?package(vlc-gtk): command="%{_bindir}/gvlc" needs="X11" longtitle="VideoLAN is a free multimedia software solution" section="Multimedia/Video" title="Gtk VideoLAN Client" icon="gvlc.png" hints="Video"
239 cat > %buildroot/%{_menudir}/vlc-gnome << EOF
240 ?package(vlc-gnome): command="%{_bindir}/gnome-vlc" needs="X11" longtitle="VideoLAN is a free multimedia software solution" section="Multimedia/Video" title="Gnome VideoLAN Client" icon="gnome-vlc.png" hints="Video"
242 cat > %buildroot/%{_menudir}/vlc-qt << EOF
243 ?package(vlc-gnome): command="%{_bindir}/qvlc" needs="X11" longtitle="VideoLAN is a free multimedia software solution" section="Multimedia/Video" title="Qt VideoLAN Client" icon="qvlc.png" hints="Video"
247 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
248 install -m 644 %buildroot/%_datadir/videolan/vlc16x16.png %buildroot/%{_miconsdir}/vlc.png
249 install -m 644 %buildroot/%_datadir/videolan/vlc32x32.png %buildroot/%{_iconsdir}/vlc.png
250 install -m 644 %buildroot/%_datadir/videolan/vlc48x48.png %buildroot/%{_liconsdir}/vlc.png
251 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc16x16.png %buildroot/%{_miconsdir}/gnome-vlc.png
252 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc32x32.png %buildroot/%{_iconsdir}/gnome-vlc.png
253 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc48x48.png %buildroot/%{_liconsdir}/gnome-vlc.png
254 install -m 644 %buildroot/%_datadir/videolan/gvlc16x16.png %buildroot/%{_miconsdir}/gvlc.png
255 install -m 644 %buildroot/%_datadir/videolan/gvlc32x32.png %buildroot/%{_iconsdir}/gvlc.png
256 install -m 644 %buildroot/%_datadir/videolan/gvlc48x48.png %buildroot/%{_liconsdir}/gvlc.png
257 install -m 644 %buildroot/%_datadir/videolan/kvlc16x16.png %buildroot/%{_miconsdir}/kvlc.png
258 install -m 644 %buildroot/%_datadir/videolan/kvlc32x32.png %buildroot/%{_iconsdir}/kvlc.png
259 install -m 644 %buildroot/%_datadir/videolan/kvlc48x48.png %buildroot/%{_liconsdir}/kvlc.png
260 install -m 644 %buildroot/%_datadir/videolan/qvlc16x16.png %buildroot/%{_miconsdir}/qvlc.png
261 install -m 644 %buildroot/%_datadir/videolan/qvlc32x32.png %buildroot/%{_iconsdir}/qvlc.png
262 install -m 644 %buildroot/%_datadir/videolan/qvlc48x48.png %buildroot/%{_liconsdir}/qvlc.png
273 %defattr(-,root,root)
277 %dir %{_libdir}/videolan/vlc
278 %{_libdir}/videolan/vlc/ac3_spdif.so
279 %{_libdir}/videolan/vlc/avi.so
280 %{_libdir}/videolan/vlc/dummy.so
281 %{_libdir}/videolan/vlc/dvd.so
282 %{_libdir}/videolan/vlc/fb.so
283 %{_libdir}/videolan/vlc/file.so
284 %{_libdir}/videolan/vlc/filter_deinterlace.so
285 %{_libdir}/videolan/vlc/filter_distort.so
286 %{_libdir}/videolan/vlc/filter_invert.so
287 %{_libdir}/videolan/vlc/filter_transform.so
288 %{_libdir}/videolan/vlc/filter_wall.so
289 %{_libdir}/videolan/vlc/filter_clone.so
290 %{_libdir}/videolan/vlc/filter_crop.so
291 %{_libdir}/videolan/vlc/fx_scope.so
292 %{_libdir}/videolan/vlc/http.so
293 %{_libdir}/videolan/vlc/ipv4.so
294 %{_libdir}/videolan/vlc/ipv6.so
295 %{_libdir}/videolan/vlc/logger.so
296 %{_libdir}/videolan/vlc/lpcm_adec.so
297 %{_libdir}/videolan/vlc/memcpy.so
298 %{_libdir}/videolan/vlc/mga.so
299 %{_libdir}/videolan/vlc/mpeg_es.so
300 %{_libdir}/videolan/vlc/mpeg_ps.so
301 %{_libdir}/videolan/vlc/mpeg_ts.so
302 %{_libdir}/videolan/vlc/null.so
303 %{_libdir}/videolan/vlc/oss.so
304 %{_libdir}/videolan/vlc/rc.so
305 %{_libdir}/videolan/vlc/spudec.so
306 %{_libdir}/videolan/vlc/udp.so
307 %{_libdir}/videolan/vlc/vcd.so
308 %{_libdir}/videolan/vlc/x11.so
309 #%{_libdir}/videolan/vlc/xmga.so
313 %{_miconsdir}/vlc.png
315 %{_liconsdir}/vlc.png
320 %defattr(-,root,root)
322 %{_libdir}/videolan/vlc/gtk.so
325 %{_miconsdir}/gvlc.png
326 %{_iconsdir}/gvlc.png
327 %{_liconsdir}/gvlc.png
334 %defattr(-,root,root)
336 %{_libdir}/videolan/vlc/gnome.so
338 %{_menudir}/vlc-gnome
339 %{_miconsdir}/gnome-vlc.png
340 %{_iconsdir}/gnome-vlc.png
341 %{_liconsdir}/gnome-vlc.png
349 %defattr(-,root,root)
351 %{_libdir}/videolan/vlc/qt.so
354 %{_miconsdir}/qvlc.png
355 %{_iconsdir}/qvlc.png
356 %{_liconsdir}/qvlc.png
364 %defattr(-,root,root)
366 %{_libdir}/videolan/vlc/ncurses.so
370 %defattr(-,root,root)
372 %{_libdir}/videolan/vlc/lirc.so
377 %defattr(-,root,root)
379 %{_libdir}/videolan/vlc/sdl.so
382 %defattr(-,root,root)
384 %{_libdir}/videolan/vlc/ggi.so
387 %defattr(-,root,root)
389 %{_libdir}/videolan/vlc/aa.so
393 %defattr(-,root,root)
395 %{_libdir}/videolan/vlc/mad.so
399 %defattr(-,root,root)
401 %{_libdir}/videolan/vlc/esd.so
404 %defattr(-,root,root)
406 %{_libdir}/videolan/vlc/arts.so
409 %defattr(-,root,root)
411 %{_libdir}/videolan/vlc/alsa.so
414 * Mon Jun 20 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.2-1mdk
415 - new upstream release
417 * Mon Jun 3 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.1-1mdk
418 - new upstream release
420 * Thu May 23 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.0-1mdk
421 - version 0.4.0 with MPEG4 (DivX) support thx ffmpeg.
422 thus s/MPEG, MPEG2 and DVD/multimedia/g
423 - sync %%description with debian ones.
424 - vlc now requires a vlc-gui (gtk, gnome or qt).
425 - removed gcc3.1 patches since merged upstream.
427 * Mon May 13 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-4mdk
428 - removed xmga plugin (currently broken).
429 - manual rebuild in gcc3.1 environment aka added Patch0 & Patch1
430 - various summary/description changes.
432 * Fri May 03 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-3mdk
433 - added vlc-lirc intf plugin rpm.
435 * Tue Apr 30 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-2mdk
436 - rebuild against libalsa2 (vlc-sdl)
438 * Fri Apr 19 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
440 - removed patch0 merged upstream.
441 - removed old %%ifarch ppc
442 - added missing libmad-devel buldrequires
444 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
445 - added liba52 support (buildrequires).
446 - added vlc-alsa audio plugin.
447 - mad is a codec (audio) plugin. corrected description and summary.
449 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
450 - added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>
452 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
453 - added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
454 - better summary for plugin
455 - add packager tag to myself
457 * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
459 - added aa (Asci Art) plugin in vlc-aa rpm
460 - merged with sam's one:
461 * using his plugins list into %%files
462 * removed libdvdcss from the whole tarball.
463 * removed the workaround for vlc's bad /dev/dsp detection.
464 - few spell corrections in all %%description
465 - added buildrequires on SDL-devel
467 * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
471 * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
474 * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
475 - mad plugin in vlc-mad rpm
477 * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
478 - synced with main cvs specfile wich "fixed a few minor inaccuracies"
480 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
481 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
482 to build libdvdcss rpm.
484 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
487 - splitted again, added vlc-sdl vlc-esd vlc-ggi
488 - bring back some missing plugins
489 - fixed buildrequires
490 - added menu entries and icons (from cvs)
492 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
493 - rebuild against libpng3
494 - added some doc for sir rpmlint
497 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
499 * Activated subtitles in overlay mode (far from perfect, but this
500 was an often requested feature).
502 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
505 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
509 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
513 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
514 - fix build on ppc (c) dadou
516 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
517 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
518 improvements of the gtk interface.
519 - corrected Summary in vlc-qt
521 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
522 - added qt2 plugin (vlc-qt)
524 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
526 - you can now get decss threw a plugin
527 - rewritte srcipt to build vlc (decss plugin)
528 - rebuild with SDL 1.2
530 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
533 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
535 - package split into vlc, vlc-gnome, vlc-gtk
537 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
539 * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
540 shipped with the latest RedHat distributions.
541 * Fixed the BeOS CSS decryption.
542 * Fixed a few issues in IFO parsing.
543 * Fixed XVideo video output.
544 * Updated icons under Linux, BeOS, MacOS X.
546 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
549 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
550 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
551 interface for the Gnome-impaired, an even better DVD support
553 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
554 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
555 DVD decryption, arbitrary, seeking in the stream, pause, fast forward
556 and slow motion, hardware YUV acceleration enhanced CSS support and a few
557 new interface features including drag'n'drop.
558 - first *real* public release (now under the GPL)
560 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
561 - Fix build and use right optimizations on PPC
565 * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
568 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
571 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
572 - first Mandrake package with help of Sam