3 %define version %vlc_ver
7 %define cvsdate 20010619
8 %define release 0.%{cvsdate}mdk
9 %define cvs_name %{name}-snapshot-%{cvsdate}-00
16 Summary: VideoLAN is a free MPEG, MPEG2 and DVD software solution.
20 Packager: Samuel Hocevar <sam@zoy.org>
23 Source0: http://www.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.gz
25 Source0: http://www.videolan.org/packages/%{version}/%{name}-%{version}.tar.gz
29 URL: http://videolan.org/
30 BuildRoot: %_tmppath/%name-%version-%release-root
31 Buildrequires: libncurses5-devel
32 Buildrequires: libqt2-devel
33 Buildrequires: libgtk+1.2-devel
34 Buildrequires: gnome-libs-devel
35 Buildrequires: db1-devel
36 Buildrequires: alsa-lib-devel
37 Buildrequires: libarts-devel
38 Buildrequires: libggi-devel
39 Buildrequires: aalib-devel
40 Buildrequires: SDL-devel
41 Buildrequires: liba52-devel
44 VideoLAN is a free network-aware MPEG and DVD player.
45 The VideoLAN Client allows to play MPEG2 Transport Streams from the
46 network or from a file, as well as direct DVD playback.
47 VideoLAN is a project of students from the Ecole Centrale Paris.
48 This version add MPEG1 support, direct DVD support, DVD decryption,
49 arbitrary, seeking in the stream, pause, fast forward and slow motion,
50 hardware YUV acceleration and a few new interface features
51 including drag'n'drop.
52 You may install vlc-gnome, vlc-gtk and vlc-ncurses.
53 This package contains no CSS unscrambling functionality.
54 You need the libdvdcss library available from
55 http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
59 Summary: Gtk plug-in for VideoLAN, a DVD and MPEG2 player
61 Requires: %{name} = %{version}
63 The vlc-gtk package includes the Gtk plug-in for the VideoLAN client.
64 If you are going to watch DVD with the Gtk front-end, you should
68 Summary: Gnome plug-in for VideoLAN, a DVD and MPEG2 player
70 Requires: %{name} = %{version}
72 The vlc-gnome package includes the Gnome plug-in for the VideoLAN client.
73 If you are going to watch DVD with the Gnome front-end, you should
77 Summary: Qt2 plug-in for VideoLAN, a DVD and MPEG2 player
79 Requires: %{name} = %{version}
81 The vlc-qt package includes the Qt2 plug-in for the VideoLAN client.
82 If you are going to watch DVD with the Qt2 front-end, you should
86 Summary: Ncurses console-based plug-in for VideoLAN, a DVD and MPEG2 player
88 Requires: %{name} = %{version}
90 The vlc-ncurses package includes the ncurses plug-in for the VideoLAN client.
91 If you are going to watch DVD with the ncurses front-end, you should
96 Summary: ASCII art video plug-in for VideoLAN, a DVD and MPEG2 player
98 Requires: %{name} = %{version}
100 The vlc-aa package includes the aalib plug-in for the VideoLAN client.
101 If you are going to watch DVD with the aa video plugin, you should
105 Summary: Simple DirectMedia Layer video plug-in for VideoLAN, a DVD and MPEG2 player
107 Requires: %{name} = %{version}
109 The vlc-sdl package includes the Simple DirectMedia Layer plug-in
110 for the VideoLAN client.
111 If you are going to watch DVD with the sdl video plugin, you should
115 Summary: GGI video plug-in for VideoLAN, a DVD and MPEG2 player
117 Requires: %{name} = %{version}
119 The vlc-ggi package includes the GGI plug-in for the VideoLAN client.
120 If you are going to watch DVD with the GGI video plugin, you should
125 Summary: MAD audio codec plug-in for VideoLAN, a DVD and MPEG2 player
127 Requires: %{name} = %{version}
129 The vlc-mad package includes the MAD (MPEG Audio Decoder) plug-in
130 for the VideoLAN client.
131 If you are going to watch DVD with the mad codec plugin, you should
136 Summary: Enlightened Sound Daemon audio plug-in for VideoLAN, a DVD and MPEG2 player
138 Requires: %{name} = %{version}
140 The vlc-esd package includes the Enlightened Sound Daemon plug-in
141 for the VideoLAN client.
142 If you are going to watch DVD with the esd audio plugin, you should
146 Summary: aRts audio plug-in for VideoLAN, a DVD and MPEG2 player
148 Requires: %{name} = %{version}
150 The vlc-arts package includes the aRts audio plug-in
151 for the VideoLAN client.
152 If you are going to watch DVD with the aRts audio plugin, you should
156 Summary: Advanced Linux Sound Architecture audio plug-in for VideoLAN, a DVD and MPGE2 player
158 Requires: %{name} = %{version}
160 The vlc-alsa packages includes the Advanced Linux Sound Architecture plug-in
161 for the VideoLAN client.
162 If you are going to watch DVD with the ALSA audio plugin, you should
167 %setup -q -n %{cvs_name}
169 %setup -q -n %{name}-%{vlc_ver}
173 %configure --enable-release \
174 --enable-dvd --without-dvdcss \
175 --enable-gtk --enable-gnome --disable-qt --disable-kde --enable-ncurses \
176 --enable-x11 --enable-xvideo --enable-ggi --enable-sdl --enable-fb --enable-mga --enable-aa \
177 --enable-esd --enable-alsa --enable-arts \
179 export QTDIR=%{_libdir}/qt2
184 install -d %buildroot/%_mandir/man1
185 install doc/vlc.1 %buildroot/%_mandir/man1
188 mkdir -p %buildroot/%{_menudir}
189 cat > %buildroot/%{_menudir}/vlc << EOF
190 ?package(vlc): command="%{_bindir}/vlc" hotkey="V" needs="X11" longtitle="VideoLAN is a free MPEG, MPEG2 and DVD software solution" section="Multimedia/Video" title="VideoLAN Client" icon="vlc.png" hints="Video"
192 cat > %buildroot/%{_menudir}/vlc-gtk << EOF
193 ?package(vlc-gtk): command="%{_bindir}/gvlc" needs="X11" longtitle="VideoLAN is a free MPEG, MPEG2 and DVD software solution" section="Multimedia/Video" title="Gtk VideoLAN Client" icon="gvlc.png" hints="Video"
195 cat > %buildroot/%{_menudir}/vlc-gnome << EOF
196 ?package(vlc-gnome): command="%{_bindir}/gnome-vlc" needs="X11" longtitle="VideoLAN is a free MPEG, MPEG2 and DVD software solution" section="Multimedia/Video" title="Gnome VideoLAN Client" icon="gnome-vlc.png" hints="Video"
198 cat > %buildroot/%{_menudir}/vlc-qt << EOF
199 ?package(vlc-gnome): command="%{_bindir}/qvlc" needs="X11" longtitle="VideoLAN is a free MPEG, MPEG2 and DVD software solution" section="Multimedia/Video" title="Qt VideoLAN Client" icon="qvlc.png" hints="Video"
203 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
204 install -m 644 %buildroot/%_datadir/videolan/vlc16x16.png %buildroot/%{_miconsdir}/vlc.png
205 install -m 644 %buildroot/%_datadir/videolan/vlc32x32.png %buildroot/%{_iconsdir}/vlc.png
206 install -m 644 %buildroot/%_datadir/videolan/vlc48x48.png %buildroot/%{_liconsdir}/vlc.png
207 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc16x16.png %buildroot/%{_miconsdir}/gnome-vlc.png
208 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc32x32.png %buildroot/%{_iconsdir}/gnome-vlc.png
209 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc48x48.png %buildroot/%{_liconsdir}/gnome-vlc.png
210 install -m 644 %buildroot/%_datadir/videolan/gvlc16x16.png %buildroot/%{_miconsdir}/gvlc.png
211 install -m 644 %buildroot/%_datadir/videolan/gvlc32x32.png %buildroot/%{_iconsdir}/gvlc.png
212 install -m 644 %buildroot/%_datadir/videolan/gvlc48x48.png %buildroot/%{_liconsdir}/gvlc.png
213 install -m 644 %buildroot/%_datadir/videolan/kvlc16x16.png %buildroot/%{_miconsdir}/kvlc.png
214 install -m 644 %buildroot/%_datadir/videolan/kvlc32x32.png %buildroot/%{_iconsdir}/kvlc.png
215 install -m 644 %buildroot/%_datadir/videolan/kvlc48x48.png %buildroot/%{_liconsdir}/kvlc.png
216 install -m 644 %buildroot/%_datadir/videolan/qvlc16x16.png %buildroot/%{_miconsdir}/qvlc.png
217 install -m 644 %buildroot/%_datadir/videolan/qvlc32x32.png %buildroot/%{_iconsdir}/qvlc.png
218 install -m 644 %buildroot/%_datadir/videolan/qvlc48x48.png %buildroot/%{_liconsdir}/qvlc.png
229 %defattr(-,root,root)
233 %dir %{_libdir}/videolan/vlc
234 %{_libdir}/videolan/vlc/ac3_spdif.so
235 %{_libdir}/videolan/vlc/dsp.so
236 %{_libdir}/videolan/vlc/dummy.so
237 %{_libdir}/videolan/vlc/dvd.so
238 %{_libdir}/videolan/vlc/fb.so
239 %{_libdir}/videolan/vlc/file.so
240 %{_libdir}/videolan/vlc/filter_deinterlace.so
241 %{_libdir}/videolan/vlc/filter_distort.so
242 %{_libdir}/videolan/vlc/filter_invert.so
243 %{_libdir}/videolan/vlc/filter_transform.so
244 %{_libdir}/videolan/vlc/filter_wall.so
245 %{_libdir}/videolan/vlc/fx_scope.so
246 %{_libdir}/videolan/vlc/http.so
247 %{_libdir}/videolan/vlc/ipv4.so
248 %{_libdir}/videolan/vlc/ipv6.so
249 %{_libdir}/videolan/vlc/logger.so
250 %{_libdir}/videolan/vlc/lpcm_adec.so
251 %{_libdir}/videolan/vlc/memcpy.so
252 %{_libdir}/videolan/vlc/mga.so
253 %{_libdir}/videolan/vlc/mpeg_es.so
254 %{_libdir}/videolan/vlc/mpeg_ps.so
255 %{_libdir}/videolan/vlc/mpeg_ts.so
256 %{_libdir}/videolan/vlc/null.so
257 %{_libdir}/videolan/vlc/rc.so
258 %{_libdir}/videolan/vlc/spudec.so
259 %{_libdir}/videolan/vlc/udp.so
260 %{_libdir}/videolan/vlc/vcd.so
261 %{_libdir}/videolan/vlc/x11.so
262 %{_libdir}/videolan/vlc/xmga.so
266 %{_miconsdir}/vlc.png
268 %{_liconsdir}/vlc.png
273 %defattr(-,root,root)
275 %{_libdir}/videolan/vlc/gtk.so
278 %{_miconsdir}/gvlc.png
279 %{_iconsdir}/gvlc.png
280 %{_liconsdir}/gvlc.png
287 %defattr(-,root,root)
289 %{_libdir}/videolan/vlc/gnome.so
291 %{_menudir}/vlc-gnome
292 %{_miconsdir}/gnome-vlc.png
293 %{_iconsdir}/gnome-vlc.png
294 %{_liconsdir}/gnome-vlc.png
302 %defattr(-,root,root)
304 %{_libdir}/videolan/vlc/qt.so
307 %{_miconsdir}/qvlc.png
308 %{_iconsdir}/qvlc.png
309 %{_liconsdir}/qvlc.png
317 %defattr(-,root,root)
319 %{_libdir}/videolan/vlc/ncurses.so
323 %defattr(-,root,root)
325 %{_libdir}/videolan/vlc/sdl.so
328 %defattr(-,root,root)
330 %{_libdir}/videolan/vlc/ggi.so
333 %defattr(-,root,root)
335 %{_libdir}/videolan/vlc/aa.so
339 %defattr(-,root,root)
341 %{_libdir}/videolan/vlc/mad.so
345 %defattr(-,root,root)
347 %{_libdir}/videolan/vlc/esd.so
350 %defattr(-,root,root)
352 %{_libdir}/videolan/vlc/arts.so
355 %defattr(-,root,root)
357 %{_libdir}/videolan/vlc/alsa.so
360 * Thu Apr 18 2002 Samuel Hocevar <sam@zoy.org> 0.3.1
362 - patch0 is no longer needed.
364 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
365 - version 0.3.1 (hum soon)
366 - removed old %%ifarch ppc
368 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
369 - added liba52 support (buildrequires).
370 - added vlc-alsa audio plugin.
371 - mad is a codec (audio) plugin. corrected description and summary.
373 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
374 - added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>
376 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
377 - added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
378 - better summary for plug-in
379 - add packager tag to myself
381 * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
382 - added aa (Asci Art) plugin in vlc-aa rpm
383 - merged with sam's one:
384 * using his plugins list into %%files
385 * removed libdvdcss from the whole tarball.
386 * removed the workaround for vlc's bad /dev/dsp detection.
387 - few spelling corrections in all %%description
388 - added buildrequires on SDL-devel
390 * Thu Apr 06 2002 Samuel Hocevar <sam@zoy.org> 0.3.0
392 - removed libdvdcss from the whole tarball.
393 - removed the workaround for vlc's bad /dev/dsp detection.
395 * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
399 * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
402 * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
403 - mad plugin in vlc-mad rpm
405 * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
406 - synced with main cvs specfile wich "fixed a few minor inaccuracies"
408 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
409 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
410 to build libdvdcss rpm.
412 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
415 - splitted again, added vlc-sdl vlc-esd vlc-ggi
416 - bring back some missing plugins
417 - fixed buildrequires
418 - added menu entries and icons (from cvs)
420 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
421 - rebuild against libpng3
422 - added some doc for sir rpmlint
425 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
427 * Activated subtitles in overlay mode (far from perfect, but this
428 was an often requested feature).
430 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
433 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
437 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
441 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
442 - fix build on ppc (c) dadou
444 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
445 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
446 improvements of the gtk interface.
447 - corrected Summary in vlc-qt
449 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
450 - added qt2 plug-in (vlc-qt)
452 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
454 - you can now get decss threw a plug-in
455 - rewritte srcipt to build vlc (decss plugin)
456 - rebuild with SDL 1.2
458 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
461 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
463 - package split into vlc, vlc-gnome, vlc-gtk
465 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
467 * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
468 shipped with the latest RedHat distributions.
469 * Fixed the BeOS CSS decryption.
470 * Fixed a few issues in IFO parsing.
471 * Fixed XVideo video output.
472 * Updated icons under Linux, BeOS, MacOS X.
474 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
477 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
478 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
479 interface for the Gnome-impaired, an even better DVD support
481 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
482 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
483 DVD decryption, arbitrary, seeking in the stream, pause, fast forward
484 and slow motion, hardware YUV acceleration enhanced CSS support and a few
485 new interface features including drag'n'drop.
486 - first *real* public release (now under the GPL)
488 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
489 - Fix build and use right optimizations on PPC
493 * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
496 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
499 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
500 - first Mandrake package with help of Sam