3 %define version %vlc_ver
7 %define cvsdate 20010619
8 %define release 0.%{cvsdate}
9 %define cvs_name %{name}-snapshot-%{cvsdate}-00
14 # The QT interface is not functional yet
18 Summary: VideoLAN is a free multimedia software solution.
22 Packager: Yves Duret <yduret@mandrakesoft.com>
25 Source0: http://www.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.bz2
27 Source0: http://www.videolan.org/packages/%{version}/%{name}-%{version}.tar.bz2
31 URL: http://www.videolan.org/
33 # vlc-mad needed by ffmpeg builtin (i want MPEG4 support out of box)
36 BuildRoot: %_tmppath/%name-%version-%release-root
37 Buildrequires: libncurses5-devel
38 #Buildrequires: libqt2-devel
39 Buildrequires: libgtk+1.2-devel
40 Buildrequires: gnome-libs-devel
41 Buildrequires: db1-devel
42 Buildrequires: alsa-lib-devel
43 Buildrequires: libarts-devel
44 Buildrequires: libggi-devel
45 Buildrequires: aalib-devel
46 Buildrequires: SDL-devel
47 Buildrequires: liba52dec-devel
48 Buildrequires: libmad-devel
49 Buildrequires: liblirc-devel
50 Buildrequires: libffmpeg-devel
53 VideoLAN is an OpenSource streaming solution for every OS developed by
54 students from the Ecole Centrale Paris and developers from all over the
56 The VideoLAN Client (vlc) plays MPEG1, MPEG2 and MPEG4 (aka DivX) files,
57 DVDs, VCDs, SVCDs, from a satellite card, from an MPEG2 Transport
58 Streams sent by the VideoLAN Server (vls) or from a Web server (with the
60 You may install vlc-gnome or vlc-gtk to have a nice graphical interface.
61 This package contains no CSS unscrambling functionality for DVDs ;
62 you need the libdvdcss library available from
63 http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
67 Summary: Gtk plugin for the VideoLAN client
69 Requires: %{name} = %{version}
72 VideoLAN is a free multimedia software solution.
74 This plugin adds a Gtk+ interface to vlc, the VideoLAN Client. To
75 activate it, use the `--intf gtk' flag or run the `gvlc' program.
78 Summary: Gnome plugin for the VideoLAN client
80 Requires: %{name} = %{version}
83 VideoLAN is a free multimedia software solution.
85 This plugin adds a Gnome interface to vlc, the VideoLAN Client. To
86 activate it, use the `--intf gnome' flag or run the `gnome-vlc' program.
89 Summary: Qt2 plugin for the VideoLAN client
91 Requires: %{name} = %{version}
94 VideoLAN is a free multimedia software solution.
96 This plugin adds a Qt interface to vlc, the VideoLAN Client. To
97 activate it, use the `--intf qt' flag or run the `qvlc' program.
100 Summary: Ncurses console-based plugin for the VideoLAN client
102 Requires: %{name} = %{version}
104 VideoLAN is a free multimedia software solution.
106 This plugin adds a ncurses interface to vlc, the VideoLAN Client. To
107 activate it, use the `--intf ncurses' flag.
110 Summary: Lirc plugin for the VideoLAN client
112 Requires: %{name} = %{version}
114 VideoLAN is a free multimedia software solution.
116 This plugin is an infrared lirc interface for vlc, the
117 VideoLAN Client. To activate it, use the `--intf lirc' flag.
122 Summary: ASCII art video plugin for the VideoLAN client
124 Requires: %{name} = %{version}
126 VideoLAN is a free multimedia software solution.
128 This is an ASCII art video output plugin for vlc, the VideoLAN
129 Client. To activate it, use the `--vout aa' flag or select the `aa'
130 vout plugin from the preferences menu.
134 Summary: Simple DirectMedia Layer video plugin for the VideoLAN client
136 Requires: %{name} = %{version}
138 VideoLAN is a free multimedia software solution.
140 This plugin adds support for the Simple DirectMedia Layer library to
141 vlc, the VideoLAN Client. To activate it, use the `--vout sdl' or
142 `--aout sdl' flags or select the `sdl' vout or aout plugin from the
146 Summary: GGI video plugin for the VideoLAN client
148 Requires: %{name} = %{version}
150 VideoLAN is a free multimedia software solution.
152 This is a GGI plugin for vlc, the VideoLAN Client. To activate it, use
153 the `--vout ggi' flag or select the `ggi' vout plugin from the preferences
158 Summary: MAD audio codec plugin for the VideoLAN client
160 Requires: %{name} = %{version}
162 VideoLAN is a free multimedia software solution.
164 This plugin adds support for libmad, the MPEG audio decoder library,
165 to the VideoLAN Client. MAD is 100% fixed-point based. To activate
166 this plugin, use the `--mpeg_adec mad' flag or select the `mad' MPEG
167 decoder from the preferences menu.
171 Summary: Enlightened Sound Daemon audio plugin for the VideoLAN client
173 Requires: %{name} = %{version}
175 VideoLAN is a free multimedia software solution.
177 This plugin adds support for the Enlightened Sound Daemon to vlc, the
178 VideoLAN Client. To activate it, use the `--aout esd' flag or select
179 the `esd' aout plugin from the preferences menu.
182 Summary: aRts audio plugin for the VideoLAN client
184 Requires: %{name} = %{version}
186 VideoLAN is a free multimedia software solution.
188 This plugin adds support for the aRts Sound System to vlc, the
189 VideoLAN Client. To activate it, use the `--aout arts' flag or
190 select the `arts' aout plugin from the preferences menu.
193 Summary: Advanced Linux Sound Architecture audio plugin for the VideoLAN client
195 Requires: %{name} = %{version}
197 VideoLAN is a free multimedia software solution.
199 This plugin adds support for the Advanced Linux Sound Architecture to
200 vlc, the VideoLAN Client. To activate it, use the `--aout alsa' flag or
201 select the `alsa' aout plugin from the preferences menu.
205 %setup -q -n %{cvs_name}
212 # ffmpeg: static linking cause no official ffmpeg release aith a stable ABI
213 # ffmpeg: no plugin posible on ia64 due to the static linking (can not put .a in a .so)
214 %configure --enable-release \
215 --enable-dvd --without-dvdcss \
216 --enable-gtk --enable-gnome --disable-qt --disable-kde --enable-ncurses --enable-lirc \
217 --enable-x11 --enable-xvideo --enable-ggi --enable-sdl --enable-fb --enable-mga --enable-aa \
218 --enable-esd --enable-alsa --enable-arts \
219 --enable-mad --enable-ffmpeg --with-ffmpeg=/usr
220 export QTDIR=%{_libdir}/qt2
225 install -d %buildroot/%_mandir/man1
226 install doc/vlc.1 %buildroot/%_mandir/man1
229 mkdir -p %buildroot/%{_menudir}
230 cat > %buildroot/%{_menudir}/vlc << EOF
231 ?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"
233 cat > %buildroot/%{_menudir}/vlc-gtk << EOF
234 ?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"
236 cat > %buildroot/%{_menudir}/vlc-gnome << EOF
237 ?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"
239 cat > %buildroot/%{_menudir}/vlc-qt << EOF
240 ?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"
244 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
245 install -m 644 %buildroot/%_datadir/videolan/vlc16x16.png %buildroot/%{_miconsdir}/vlc.png
246 install -m 644 %buildroot/%_datadir/videolan/vlc32x32.png %buildroot/%{_iconsdir}/vlc.png
247 install -m 644 %buildroot/%_datadir/videolan/vlc48x48.png %buildroot/%{_liconsdir}/vlc.png
248 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc16x16.png %buildroot/%{_miconsdir}/gnome-vlc.png
249 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc32x32.png %buildroot/%{_iconsdir}/gnome-vlc.png
250 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc48x48.png %buildroot/%{_liconsdir}/gnome-vlc.png
251 install -m 644 %buildroot/%_datadir/videolan/gvlc16x16.png %buildroot/%{_miconsdir}/gvlc.png
252 install -m 644 %buildroot/%_datadir/videolan/gvlc32x32.png %buildroot/%{_iconsdir}/gvlc.png
253 install -m 644 %buildroot/%_datadir/videolan/gvlc48x48.png %buildroot/%{_liconsdir}/gvlc.png
254 install -m 644 %buildroot/%_datadir/videolan/kvlc16x16.png %buildroot/%{_miconsdir}/kvlc.png
255 install -m 644 %buildroot/%_datadir/videolan/kvlc32x32.png %buildroot/%{_iconsdir}/kvlc.png
256 install -m 644 %buildroot/%_datadir/videolan/kvlc48x48.png %buildroot/%{_liconsdir}/kvlc.png
257 install -m 644 %buildroot/%_datadir/videolan/qvlc16x16.png %buildroot/%{_miconsdir}/qvlc.png
258 install -m 644 %buildroot/%_datadir/videolan/qvlc32x32.png %buildroot/%{_iconsdir}/qvlc.png
259 install -m 644 %buildroot/%_datadir/videolan/qvlc48x48.png %buildroot/%{_liconsdir}/qvlc.png
270 %defattr(-,root,root)
274 %dir %{_libdir}/videolan/vlc
275 %{_libdir}/videolan/vlc/ac3_spdif.so
276 %{_libdir}/videolan/vlc/avi.so
277 %{_libdir}/videolan/vlc/dummy.so
278 %{_libdir}/videolan/vlc/dvd.so
279 %{_libdir}/videolan/vlc/fb.so
280 %{_libdir}/videolan/vlc/file.so
281 %{_libdir}/videolan/vlc/filter_deinterlace.so
282 %{_libdir}/videolan/vlc/filter_distort.so
283 %{_libdir}/videolan/vlc/filter_invert.so
284 %{_libdir}/videolan/vlc/filter_transform.so
285 %{_libdir}/videolan/vlc/filter_wall.so
286 %{_libdir}/videolan/vlc/filter_clone.so
287 %{_libdir}/videolan/vlc/filter_crop.so
288 %{_libdir}/videolan/vlc/fx_scope.so
289 %{_libdir}/videolan/vlc/http.so
290 %{_libdir}/videolan/vlc/ipv4.so
291 %{_libdir}/videolan/vlc/ipv6.so
292 %{_libdir}/videolan/vlc/logger.so
293 %{_libdir}/videolan/vlc/lpcm_adec.so
294 %{_libdir}/videolan/vlc/memcpy.so
295 %{_libdir}/videolan/vlc/mga.so
296 %{_libdir}/videolan/vlc/mpeg_es.so
297 %{_libdir}/videolan/vlc/mpeg_ps.so
298 %{_libdir}/videolan/vlc/mpeg_ts.so
299 %{_libdir}/videolan/vlc/null.so
300 %{_libdir}/videolan/vlc/oss.so
301 %{_libdir}/videolan/vlc/rc.so
302 %{_libdir}/videolan/vlc/spudec.so
303 %{_libdir}/videolan/vlc/udp.so
304 %{_libdir}/videolan/vlc/vcd.so
305 %{_libdir}/videolan/vlc/x11.so
306 #%{_libdir}/videolan/vlc/xmga.so
310 %{_miconsdir}/vlc.png
312 %{_liconsdir}/vlc.png
317 %defattr(-,root,root)
319 %{_libdir}/videolan/vlc/gtk.so
322 %{_miconsdir}/gvlc.png
323 %{_iconsdir}/gvlc.png
324 %{_liconsdir}/gvlc.png
331 %defattr(-,root,root)
333 %{_libdir}/videolan/vlc/gnome.so
335 %{_menudir}/vlc-gnome
336 %{_miconsdir}/gnome-vlc.png
337 %{_iconsdir}/gnome-vlc.png
338 %{_liconsdir}/gnome-vlc.png
346 %defattr(-,root,root)
348 %{_libdir}/videolan/vlc/qt.so
351 %{_miconsdir}/qvlc.png
352 %{_iconsdir}/qvlc.png
353 %{_liconsdir}/qvlc.png
361 %defattr(-,root,root)
363 %{_libdir}/videolan/vlc/ncurses.so
367 %defattr(-,root,root)
369 %{_libdir}/videolan/vlc/lirc.so
374 %defattr(-,root,root)
376 %{_libdir}/videolan/vlc/sdl.so
379 %defattr(-,root,root)
381 %{_libdir}/videolan/vlc/ggi.so
384 %defattr(-,root,root)
386 %{_libdir}/videolan/vlc/aa.so
390 %defattr(-,root,root)
392 %{_libdir}/videolan/vlc/mad.so
396 %defattr(-,root,root)
398 %{_libdir}/videolan/vlc/esd.so
401 %defattr(-,root,root)
403 %{_libdir}/videolan/vlc/arts.so
406 %defattr(-,root,root)
408 %{_libdir}/videolan/vlc/alsa.so
411 * Mon Jun 20 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.2-1mdk
412 - new upstream release
414 * Mon Jun 3 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.1-1mdk
415 - new upstream release
417 * Thu May 23 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.0-1mdk
418 - version 0.4.0 with MPEG4 (DivX) support thx ffmpeg.
419 thus s/MPEG, MPEG2 and DVD/multimedia/g
420 - sync %%description with debian ones.
421 - vlc now requires a vlc-gui (gtk, gnome or qt).
422 - removed gcc3.1 patches since merged upstream.
424 * Mon May 13 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-4mdk
425 - removed xmga plugin (currently broken).
426 - manual rebuild in gcc3.1 environment aka added Patch0 & Patch1
427 - various summary/description changes.
429 * Fri May 03 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-3mdk
430 - added vlc-lirc intf plugin rpm.
432 * Tue Apr 30 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-2mdk
433 - rebuild against libalsa2 (vlc-sdl)
435 * Fri Apr 19 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
437 - removed patch0 merged upstream.
438 - removed old %%ifarch ppc
439 - added missing libmad-devel buldrequires
441 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
442 - added liba52 support (buildrequires).
443 - added vlc-alsa audio plugin.
444 - mad is a codec (audio) plugin. corrected description and summary.
446 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
447 - added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>
449 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
450 - added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
451 - better summary for plugin
452 - add packager tag to myself
454 * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
456 - added aa (Asci Art) plugin in vlc-aa rpm
457 - merged with sam's one:
458 * using his plugins list into %%files
459 * removed libdvdcss from the whole tarball.
460 * removed the workaround for vlc's bad /dev/dsp detection.
461 - few spell corrections in all %%description
462 - added buildrequires on SDL-devel
464 * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
468 * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
471 * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
472 - mad plugin in vlc-mad rpm
474 * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
475 - synced with main cvs specfile wich "fixed a few minor inaccuracies"
477 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
478 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
479 to build libdvdcss rpm.
481 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
484 - splitted again, added vlc-sdl vlc-esd vlc-ggi
485 - bring back some missing plugins
486 - fixed buildrequires
487 - added menu entries and icons (from cvs)
489 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
490 - rebuild against libpng3
491 - added some doc for sir rpmlint
494 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
496 * Activated subtitles in overlay mode (far from perfect, but this
497 was an often requested feature).
499 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
502 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
506 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
510 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
511 - fix build on ppc (c) dadou
513 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
514 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
515 improvements of the gtk interface.
516 - corrected Summary in vlc-qt
518 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
519 - added qt2 plugin (vlc-qt)
521 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
523 - you can now get decss threw a plugin
524 - rewritte srcipt to build vlc (decss plugin)
525 - rebuild with SDL 1.2
527 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
530 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
532 - package split into vlc, vlc-gnome, vlc-gtk
534 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
536 * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
537 shipped with the latest RedHat distributions.
538 * Fixed the BeOS CSS decryption.
539 * Fixed a few issues in IFO parsing.
540 * Fixed XVideo video output.
541 * Updated icons under Linux, BeOS, MacOS X.
543 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
546 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
547 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
548 interface for the Gnome-impaired, an even better DVD support
550 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
551 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
552 DVD decryption, arbitrary, seeking in the stream, pause, fast forward
553 and slow motion, hardware YUV acceleration enhanced CSS support and a few
554 new interface features including drag'n'drop.
555 - first *real* public release (now under the GPL)
557 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
558 - Fix build and use right optimizations on PPC
562 * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
565 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
568 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
569 - first Mandrake package with help of Sam