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: liba52dec-devel
42 Buildrequires: libmad-devel
45 VideoLAN is a free network-aware MPEG and DVD player.
46 The VideoLAN Client allows to play MPEG2 Transport Streams from the
47 network or from a file, as well as direct DVD playback.
48 VideoLAN is a project of students from the Ecole Centrale Paris.
49 This version add MPEG1 support, direct DVD support, DVD decryption,
50 arbitrary, seeking in the stream, pause, fast forward and slow motion,
51 hardware YUV acceleration and a few new interface features
52 including drag'n'drop.
53 You may install vlc-gnome, vlc-gtk and vlc-ncurses.
54 This package contains no CSS unscrambling functionality.
55 You need the libdvdcss library available from
56 http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
60 Summary: Gtk plug-in for VideoLAN, a DVD and MPEG2 player
62 Requires: %{name} = %{version}
64 The vlc-gtk package includes the Gtk plug-in for the VideoLAN client.
65 If you are going to watch DVD with the Gtk front-end, you should
69 Summary: Gnome plug-in for VideoLAN, a DVD and MPEG2 player
71 Requires: %{name} = %{version}
73 The vlc-gnome package includes the Gnome plug-in for the VideoLAN client.
74 If you are going to watch DVD with the Gnome front-end, you should
78 Summary: Qt2 plug-in for VideoLAN, a DVD and MPEG2 player
80 Requires: %{name} = %{version}
82 The vlc-qt package includes the Qt2 plug-in for the VideoLAN client.
83 If you are going to watch DVD with the Qt2 front-end, you should
87 Summary: Ncurses console-based plug-in for VideoLAN, a DVD and MPEG2 player
89 Requires: %{name} = %{version}
91 The vlc-ncurses package includes the ncurses plug-in for the VideoLAN client.
92 If you are going to watch DVD with the ncurses front-end, you should
97 Summary: ASCII art video plug-in for VideoLAN, a DVD and MPEG2 player
99 Requires: %{name} = %{version}
101 The vlc-aa package includes the aalib plug-in for the VideoLAN client.
102 If you are going to watch DVD with the aa video plugin, you should
106 Summary: Simple DirectMedia Layer video plug-in for VideoLAN, a DVD and MPEG2 player
108 Requires: %{name} = %{version}
110 The vlc-sdl package includes the Simple DirectMedia Layer plug-in
111 for the VideoLAN client.
112 If you are going to watch DVD with the sdl video plugin, you should
116 Summary: GGI video plug-in for VideoLAN, a DVD and MPEG2 player
118 Requires: %{name} = %{version}
120 The vlc-ggi package includes the GGI plug-in for the VideoLAN client.
121 If you are going to watch DVD with the GGI video plugin, you should
126 Summary: MAD audio codec plug-in for VideoLAN, a DVD and MPEG2 player
128 Requires: %{name} = %{version}
130 The vlc-mad package includes the MAD (MPEG Audio Decoder) plug-in
131 for the VideoLAN client.
132 If you are going to watch DVD with the mad codec plugin, you should
137 Summary: Enlightened Sound Daemon audio plug-in for VideoLAN, a DVD and MPEG2 player
139 Requires: %{name} = %{version}
141 The vlc-esd package includes the Enlightened Sound Daemon plug-in
142 for the VideoLAN client.
143 If you are going to watch DVD with the esd audio plugin, you should
147 Summary: aRts audio plug-in for VideoLAN, a DVD and MPEG2 player
149 Requires: %{name} = %{version}
151 The vlc-arts package includes the aRts audio plug-in
152 for the VideoLAN client.
153 If you are going to watch DVD with the aRts audio plugin, you should
157 Summary: Advanced Linux Sound Architecture audio plug-in for VideoLAN, a DVD and MPGE2 player
159 Requires: %{name} = %{version}
161 The vlc-alsa packages includes the Advanced Linux Sound Architecture plug-in
162 for the VideoLAN client.
163 If you are going to watch DVD with the ALSA audio plugin, you should
168 %setup -q -n %{cvs_name}
170 %setup -q -n %{name}-%{vlc_ver}
174 %configure --enable-release \
175 --enable-dvd --without-dvdcss \
176 --enable-gtk --enable-gnome --disable-qt --disable-kde --enable-ncurses \
177 --enable-x11 --enable-xvideo --enable-ggi --enable-sdl --enable-fb --enable-mga --enable-aa \
178 --enable-esd --enable-alsa --enable-arts \
180 export QTDIR=%{_libdir}/qt2
185 install -d %buildroot/%_mandir/man1
186 install doc/vlc.1 %buildroot/%_mandir/man1
189 mkdir -p %buildroot/%{_menudir}
190 cat > %buildroot/%{_menudir}/vlc << EOF
191 ?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"
193 cat > %buildroot/%{_menudir}/vlc-gtk << EOF
194 ?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"
196 cat > %buildroot/%{_menudir}/vlc-gnome << EOF
197 ?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"
199 cat > %buildroot/%{_menudir}/vlc-qt << EOF
200 ?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"
204 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
205 install -m 644 %buildroot/%_datadir/videolan/vlc16x16.png %buildroot/%{_miconsdir}/vlc.png
206 install -m 644 %buildroot/%_datadir/videolan/vlc32x32.png %buildroot/%{_iconsdir}/vlc.png
207 install -m 644 %buildroot/%_datadir/videolan/vlc48x48.png %buildroot/%{_liconsdir}/vlc.png
208 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc16x16.png %buildroot/%{_miconsdir}/gnome-vlc.png
209 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc32x32.png %buildroot/%{_iconsdir}/gnome-vlc.png
210 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc48x48.png %buildroot/%{_liconsdir}/gnome-vlc.png
211 install -m 644 %buildroot/%_datadir/videolan/gvlc16x16.png %buildroot/%{_miconsdir}/gvlc.png
212 install -m 644 %buildroot/%_datadir/videolan/gvlc32x32.png %buildroot/%{_iconsdir}/gvlc.png
213 install -m 644 %buildroot/%_datadir/videolan/gvlc48x48.png %buildroot/%{_liconsdir}/gvlc.png
214 install -m 644 %buildroot/%_datadir/videolan/kvlc16x16.png %buildroot/%{_miconsdir}/kvlc.png
215 install -m 644 %buildroot/%_datadir/videolan/kvlc32x32.png %buildroot/%{_iconsdir}/kvlc.png
216 install -m 644 %buildroot/%_datadir/videolan/kvlc48x48.png %buildroot/%{_liconsdir}/kvlc.png
217 install -m 644 %buildroot/%_datadir/videolan/qvlc16x16.png %buildroot/%{_miconsdir}/qvlc.png
218 install -m 644 %buildroot/%_datadir/videolan/qvlc32x32.png %buildroot/%{_iconsdir}/qvlc.png
219 install -m 644 %buildroot/%_datadir/videolan/qvlc48x48.png %buildroot/%{_liconsdir}/qvlc.png
230 %defattr(-,root,root)
234 %dir %{_libdir}/videolan/vlc
235 %{_libdir}/videolan/vlc/ac3_spdif.so
236 %{_libdir}/videolan/vlc/dsp.so
237 %{_libdir}/videolan/vlc/dummy.so
238 %{_libdir}/videolan/vlc/dvd.so
239 %{_libdir}/videolan/vlc/fb.so
240 %{_libdir}/videolan/vlc/file.so
241 %{_libdir}/videolan/vlc/filter_deinterlace.so
242 %{_libdir}/videolan/vlc/filter_distort.so
243 %{_libdir}/videolan/vlc/filter_invert.so
244 %{_libdir}/videolan/vlc/filter_transform.so
245 %{_libdir}/videolan/vlc/filter_wall.so
246 %{_libdir}/videolan/vlc/fx_scope.so
247 %{_libdir}/videolan/vlc/http.so
248 %{_libdir}/videolan/vlc/ipv4.so
249 %{_libdir}/videolan/vlc/ipv6.so
250 %{_libdir}/videolan/vlc/logger.so
251 %{_libdir}/videolan/vlc/lpcm_adec.so
252 %{_libdir}/videolan/vlc/memcpy.so
253 %{_libdir}/videolan/vlc/mga.so
254 %{_libdir}/videolan/vlc/mpeg_es.so
255 %{_libdir}/videolan/vlc/mpeg_ps.so
256 %{_libdir}/videolan/vlc/mpeg_ts.so
257 %{_libdir}/videolan/vlc/null.so
258 %{_libdir}/videolan/vlc/rc.so
259 %{_libdir}/videolan/vlc/spudec.so
260 %{_libdir}/videolan/vlc/udp.so
261 %{_libdir}/videolan/vlc/vcd.so
262 %{_libdir}/videolan/vlc/x11.so
263 %{_libdir}/videolan/vlc/xmga.so
267 %{_miconsdir}/vlc.png
269 %{_liconsdir}/vlc.png
274 %defattr(-,root,root)
276 %{_libdir}/videolan/vlc/gtk.so
279 %{_miconsdir}/gvlc.png
280 %{_iconsdir}/gvlc.png
281 %{_liconsdir}/gvlc.png
288 %defattr(-,root,root)
290 %{_libdir}/videolan/vlc/gnome.so
292 %{_menudir}/vlc-gnome
293 %{_miconsdir}/gnome-vlc.png
294 %{_iconsdir}/gnome-vlc.png
295 %{_liconsdir}/gnome-vlc.png
303 %defattr(-,root,root)
305 %{_libdir}/videolan/vlc/qt.so
308 %{_miconsdir}/qvlc.png
309 %{_iconsdir}/qvlc.png
310 %{_liconsdir}/qvlc.png
318 %defattr(-,root,root)
320 %{_libdir}/videolan/vlc/ncurses.so
324 %defattr(-,root,root)
326 %{_libdir}/videolan/vlc/sdl.so
329 %defattr(-,root,root)
331 %{_libdir}/videolan/vlc/ggi.so
334 %defattr(-,root,root)
336 %{_libdir}/videolan/vlc/aa.so
340 %defattr(-,root,root)
342 %{_libdir}/videolan/vlc/mad.so
346 %defattr(-,root,root)
348 %{_libdir}/videolan/vlc/esd.so
351 %defattr(-,root,root)
353 %{_libdir}/videolan/vlc/arts.so
356 %defattr(-,root,root)
358 %{_libdir}/videolan/vlc/alsa.so
361 * Thu Apr 18 2002 Samuel Hocevar <sam@zoy.org> 0.3.1
363 - patch0 is no longer needed.
365 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
366 - version 0.3.1 (hum soon)
367 - removed old %%ifarch ppc
369 * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
370 - added liba52 support (buildrequires).
371 - added vlc-alsa audio plugin.
372 - mad is a codec (audio) plugin. corrected description and summary.
374 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
375 - added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>
377 * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
378 - added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
379 - better summary for plug-in
380 - add packager tag to myself
382 * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
383 - added aa (Asci Art) plugin in vlc-aa rpm
384 - merged with sam's one:
385 * using his plugins list into %%files
386 * removed libdvdcss from the whole tarball.
387 * removed the workaround for vlc's bad /dev/dsp detection.
388 - few spelling corrections in all %%description
389 - added buildrequires on SDL-devel
391 * Thu Apr 06 2002 Samuel Hocevar <sam@zoy.org> 0.3.0
393 - removed libdvdcss from the whole tarball.
394 - removed the workaround for vlc's bad /dev/dsp detection.
396 * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
400 * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
403 * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
404 - mad plugin in vlc-mad rpm
406 * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
407 - synced with main cvs specfile wich "fixed a few minor inaccuracies"
409 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
410 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
411 to build libdvdcss rpm.
413 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
416 - splitted again, added vlc-sdl vlc-esd vlc-ggi
417 - bring back some missing plugins
418 - fixed buildrequires
419 - added menu entries and icons (from cvs)
421 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
422 - rebuild against libpng3
423 - added some doc for sir rpmlint
426 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
428 * Activated subtitles in overlay mode (far from perfect, but this
429 was an often requested feature).
431 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
434 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
438 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
442 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
443 - fix build on ppc (c) dadou
445 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
446 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
447 improvements of the gtk interface.
448 - corrected Summary in vlc-qt
450 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
451 - added qt2 plug-in (vlc-qt)
453 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
455 - you can now get decss threw a plug-in
456 - rewritte srcipt to build vlc (decss plugin)
457 - rebuild with SDL 1.2
459 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
462 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
464 - package split into vlc, vlc-gnome, vlc-gtk
466 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
468 * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
469 shipped with the latest RedHat distributions.
470 * Fixed the BeOS CSS decryption.
471 * Fixed a few issues in IFO parsing.
472 * Fixed XVideo video output.
473 * Updated icons under Linux, BeOS, MacOS X.
475 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
478 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
479 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
480 interface for the Gnome-impaired, an even better DVD support
482 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
483 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
484 DVD decryption, arbitrary, seeking in the stream, pause, fast forward
485 and slow motion, hardware YUV acceleration enhanced CSS support and a few
486 new interface features including drag'n'drop.
487 - first *real* public release (now under the GPL)
489 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
490 - Fix build and use right optimizations on PPC
494 * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
497 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
500 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
501 - first Mandrake package with help of Sam