3 %define version %vlc_ver
7 %define cvsdate 20010619
8 %define release 0.%{cvsdate}mdk
9 %define cvs_name %{name}-snapshot-%{cvsdate}-00
17 %define configflags --enable-release \
18 --enable-dvd --without-dvdcss \
19 --enable-gtk --enable-gnome --enable-ncurses \
20 --disable-qt --disable-kde --enable-ncurses \
21 --enable-x11 --enable-xvideo --enable-sdl --enable-fb \
22 --enable-ggi --enable-mga --enable-aa \
23 --enable-esd --enable-alsa --enable-mad
25 Summary: VideoLAN is a free MPEG, MPEG2 and DVD software solution.
31 Source0: http://www.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.gz
33 Source0: http://www.videolan.org/packages/%{version}/%{name}-%{version}.tar.gz
37 URL: http://videolan.org/
38 BuildRoot: %_tmppath/%name-%version-%release-root
39 Buildrequires: libncurses5-devel
40 Buildrequires: libqt2-devel
41 Buildrequires: libgtk+1.2-devel
42 Buildrequires: gnome-libs-devel
43 Buildrequires: db1-devel
44 Buildrequires: alsa-lib-devel
45 Buildrequires: libggi-devel
46 Buildrequires: aalib-devel
47 Buildrequires: SDL-devel
50 VideoLAN is a free network-aware MPEG and DVD player.
51 The VideoLAN Client allows to play MPEG2 Transport Streams from the
52 network or from a file, as well as direct DVD playback.
53 VideoLAN is a project of students from the Ecole Centrale Paris.
54 This version add MPEG1 support, direct DVD support, DVD decryption,
55 arbitrary, seeking in the stream, pause, fast forward and slow motion,
56 hardware YUV acceleration and a few new interface features
57 including drag'n'drop.
58 You may install vlc-gnome, vlc-gtk and vlc-ncurses.
59 This package contains no CSS unscrambling functionality.
60 You need the libdvdcss library available from
61 http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
65 Summary: Gtk plug-in for VideoLAN, a DVD and MPEG2 player
67 Requires: %{name} = %{version}
69 The vlc-gtk package includes the Gtk plug-in for the VideoLAN client.
70 If you are going to watch DVD with the Gtk front-end, you should
74 Summary: Gnome plug-in for VideoLAN, a DVD and MPEG2 player
76 Requires: %{name} = %{version}
78 The vlc-gnome package includes the Gnome plug-in for the VideoLAN client.
79 If you are going to watch DVD with the Gnome front-end, you should
83 Summary: Qt2 plug-in for VideoLAN, a DVD and MPEG2 player
85 Requires: %{name} = %{version}
87 The vlc-qt package includes the Qt2 plug-in for the VideoLAN client.
88 If you are going to watch DVD with the Qt2 front-end, you should
92 Summary: Ncurses console-based plug-in for VideoLAN, a DVD and MPEG2 player
94 Requires: %{name} = %{version}
96 The vlc-ncurses package includes the ncurses plug-in for the VideoLAN client.
97 If you are going to watch DVD with the ncurses front-end, you should
102 Summary: Ascii Art plug-in for VideoLAN, a DVD and MPEG2 player
104 Requires: %{name} = %{version}
106 The vlc-aa package includes the Simple DirectMedia Layer plug-in
107 for the VideoLAN client.
108 If you are going to watch DVD with the aa video plugin, you should
112 Summary: Simple DirectMedia Layer plug-in for VideoLAN, a DVD and MPEG2 player
114 Requires: %{name} = %{version}
116 The vlc-sdl package includes the Simple DirectMedia Layer plug-in
117 for the VideoLAN client.
118 If you are going to watch DVD with the sdl video plugin, you should
122 Summary: GGI plug-in for VideoLAN, a DVD and MPEG2 player
124 Requires: %{name} = %{version}
126 The vlc-ggi package includes the GGI plug-in for the VideoLAN client.
127 If you are going to watch DVD with the GGI video plugin, you should
132 Summary: MAD plug-in for VideoLAN, a DVD and MPEG2 player
134 Requires: %{name} = %{version}
136 The vlc-mad package includes the MAD (MPEG Audio Decoder) plug-in
137 for the VideoLAN client.
138 If you are going to watch DVD with the mad audio plugin, you should
142 Summary: Enlightened Sound Daemon plug-in for VideoLAN, a DVD and MPEG2 player
144 Requires: %{name} = %{version}
146 The vlc-esd packages includes the Enlightened Sound Daemon plug-in
147 for the VideoLAN client.
148 If you are going to watch DVD with the esd audio plugin, you should
152 Summary: Advanced Linux Sound Architecture plug-in for VideoLAN, a DVD and Mpeg-2 player
154 Requires: %{name} = %{version}
156 The vlc-alsa packages includes the Advanced Linux Sound Architecture plug-in
157 for the VideoLAN client.
158 If you are going to watch DVD with the ALSA audio plugin, you should
163 %setup -q -n %{cvs_name}
165 %setup -q -n %{name}-%{vlc_ver}
170 # Dadou - 0.1.99h-mdk - Don't use configure here. It breaks build at present
172 ./configure %{configflags}
173 perl -pi -e "s|CFLAGS \+= -mcpu=604e|#CFLAGS \+= -mcpu=604e|" Makefile
174 perl -pi -e "s|#CFLAGS \+= -mcpu=750|CFLAGS \+= -mcpu=750 -mtune=750|" Makefile
176 %configure %{configflags}
178 export QTDIR=%{_libdir}/qt2
183 install -d %buildroot/%_mandir/man1
184 install doc/vlc.1 %buildroot/%_mandir/man1
187 mkdir -p %buildroot/%{_menudir}
188 cat > %buildroot/%{_menudir}/vlc << EOF
189 ?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"
191 cat > %buildroot/%{_menudir}/vlc-gtk << EOF
192 ?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"
194 cat > %buildroot/%{_menudir}/vlc-gnome << EOF
195 ?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"
197 cat > %buildroot/%{_menudir}/vlc-qt << EOF
198 ?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"
202 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
203 install -m 644 %buildroot/%_datadir/videolan/vlc16x16.png %buildroot/%{_miconsdir}/vlc.png
204 install -m 644 %buildroot/%_datadir/videolan/vlc32x32.png %buildroot/%{_iconsdir}/vlc.png
205 install -m 644 %buildroot/%_datadir/videolan/vlc48x48.png %buildroot/%{_liconsdir}/vlc.png
206 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc16x16.png %buildroot/%{_miconsdir}/gnome-vlc.png
207 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc32x32.png %buildroot/%{_iconsdir}/gnome-vlc.png
208 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc48x48.png %buildroot/%{_liconsdir}/gnome-vlc.png
209 install -m 644 %buildroot/%_datadir/videolan/gvlc16x16.png %buildroot/%{_miconsdir}/gvlc.png
210 install -m 644 %buildroot/%_datadir/videolan/gvlc32x32.png %buildroot/%{_iconsdir}/gvlc.png
211 install -m 644 %buildroot/%_datadir/videolan/gvlc48x48.png %buildroot/%{_liconsdir}/gvlc.png
212 install -m 644 %buildroot/%_datadir/videolan/kvlc16x16.png %buildroot/%{_miconsdir}/kvlc.png
213 install -m 644 %buildroot/%_datadir/videolan/kvlc32x32.png %buildroot/%{_iconsdir}/kvlc.png
214 install -m 644 %buildroot/%_datadir/videolan/kvlc48x48.png %buildroot/%{_liconsdir}/kvlc.png
215 install -m 644 %buildroot/%_datadir/videolan/qvlc16x16.png %buildroot/%{_miconsdir}/qvlc.png
216 install -m 644 %buildroot/%_datadir/videolan/qvlc32x32.png %buildroot/%{_iconsdir}/qvlc.png
217 install -m 644 %buildroot/%_datadir/videolan/qvlc48x48.png %buildroot/%{_liconsdir}/qvlc.png
228 %defattr(-,root,root)
232 %dir %{_libdir}/videolan/vlc
233 %{_libdir}/videolan/vlc/ac3_spdif.so
234 %{_libdir}/videolan/vlc/dsp.so
235 %{_libdir}/videolan/vlc/dummy.so
236 %{_libdir}/videolan/vlc/dvd.so
237 %{_libdir}/videolan/vlc/fb.so
238 %{_libdir}/videolan/vlc/file.so
239 %{_libdir}/videolan/vlc/filter_deinterlace.so
240 %{_libdir}/videolan/vlc/filter_distort.so
241 %{_libdir}/videolan/vlc/filter_invert.so
242 %{_libdir}/videolan/vlc/filter_transform.so
243 %{_libdir}/videolan/vlc/filter_wall.so
244 %{_libdir}/videolan/vlc/fx_scope.so
245 %{_libdir}/videolan/vlc/http.so
246 %{_libdir}/videolan/vlc/ipv4.so
247 %{_libdir}/videolan/vlc/ipv6.so
248 %{_libdir}/videolan/vlc/logger.so
249 %{_libdir}/videolan/vlc/lpcm_adec.so
250 %{_libdir}/videolan/vlc/memcpy.so
251 %{_libdir}/videolan/vlc/mga.so
252 %{_libdir}/videolan/vlc/mpeg_es.so
253 %{_libdir}/videolan/vlc/mpeg_ps.so
254 %{_libdir}/videolan/vlc/mpeg_ts.so
255 %{_libdir}/videolan/vlc/null.so
256 %{_libdir}/videolan/vlc/rc.so
257 %{_libdir}/videolan/vlc/spudec.so
258 %{_libdir}/videolan/vlc/udp.so
259 %{_libdir}/videolan/vlc/vcd.so
260 %{_libdir}/videolan/vlc/x11.so
261 %{_libdir}/videolan/vlc/xmga.so
265 %{_miconsdir}/vlc.png
267 %{_liconsdir}/vlc.png
272 %defattr(-,root,root)
274 %{_libdir}/videolan/vlc/gtk.so
277 %{_miconsdir}/gvlc.png
278 %{_iconsdir}/gvlc.png
279 %{_liconsdir}/gvlc.png
286 %defattr(-,root,root)
288 %{_libdir}/videolan/vlc/gnome.so
290 %{_menudir}/vlc-gnome
291 %{_miconsdir}/gnome-vlc.png
292 %{_iconsdir}/gnome-vlc.png
293 %{_liconsdir}/gnome-vlc.png
301 %defattr(-,root,root)
303 %{_libdir}/videolan/vlc/qt.so
306 %{_miconsdir}/qvlc.png
307 %{_iconsdir}/qvlc.png
308 %{_liconsdir}/qvlc.png
316 %defattr(-,root,root)
318 %{_libdir}/videolan/vlc/ncurses.so
322 %defattr(-,root,root)
324 %{_libdir}/videolan/vlc/sdl.so
327 %defattr(-,root,root)
329 %{_libdir}/videolan/vlc/ggi.so
332 %defattr(-,root,root)
334 %{_libdir}/videolan/vlc/aa.so
338 %defattr(-,root,root)
340 %{_libdir}/videolan/vlc/mad.so
343 %defattr(-,root,root)
345 %{_libdir}/videolan/vlc/esd.so
349 %defattr(-,root,root)
351 %{_libdir}/videolan/vlc/alsa.so
355 * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
356 - added aa (ASCII Art) plugin in vlc-aa rpm
357 - merged with sam's one:
358 * using his plugins list into %%files
359 * removed libdvdcss from the whole tarball.
360 * removed the workaround for vlc's bad /dev/dsp detection.
361 - few spelling corrections in all %%description
362 - added buildrequires on SDL-devel
364 * Thu Apr 06 2002 Samuel Hocevar <sam@zoy.org> 0.3.0
366 - removed libdvdcss from the whole tarball.
367 - removed the workaround for vlc's bad /dev/dsp detection.
369 * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
373 * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
376 * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
377 - mad plugin in vlc-mad rpm
379 * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
380 - synced with main cvs specfile wich "fixed a few minor inaccuracies"
382 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
383 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
384 to build libdvdcss rpm.
386 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
389 - splitted again, added vlc-sdl vlc-esd vlc-ggi
390 - bring back some missing plugins
391 - fixed buildrequires
392 - added menu entries and icons (from cvs)
394 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
395 - rebuild against libpng3
396 - added some doc for sir rpmlint
399 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
401 * Activated subtitles in overlay mode (far from perfect, but this
402 was an often requested feature).
404 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
407 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
411 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
415 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
416 - fix build on ppc (c) dadou
418 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
419 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
420 improvements of the gtk interface.
421 - corrected Summary in vlc-qt
423 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
424 - added qt2 plug-in (vlc-qt)
426 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
428 - you can now get decss threw a plug-in
429 - rewritte srcipt to build vlc (decss plugin)
430 - rebuild with SDL 1.2
432 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
435 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
437 - package split into vlc, vlc-gnome, vlc-gtk
439 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
441 * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
442 shipped with the latest RedHat distributions.
443 * Fixed the BeOS CSS decryption.
444 * Fixed a few issues in IFO parsing.
445 * Fixed XVideo video output.
446 * Updated icons under Linux, BeOS, MacOS X.
448 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
451 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
452 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
453 interface for the Gnome-impaired, an even better DVD support
455 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
456 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
457 DVD decryption, arbitrary, seeking in the stream, pause, fast forward
458 and slow motion, hardware YUV acceleration enhanced CSS support and a few
459 new interface features including drag'n'drop.
460 - first *real* public release (now under the GPL)
462 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
463 - Fix build and use right optimizations on PPC
467 * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
470 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
473 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
474 - first Mandrake package with help of Sam