3 %define version %vlc_ver
7 %define cvsdate 20010619
8 %define release 0.%{cvsdate}mdk
9 %define cvs_name %{name}-snapshot-%{cvsdate}-00
17 Summary: VideoLAN is a free MPEG, MPEG2 and DVD software solution.
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: libggi-devel
40 VideoLAN is a free network-aware MPEG and DVD player.
41 The VideoLAN Client allows to play MPEG2 Transport Streams from the
42 network or from a file, as well as direct DVD playback.
43 VideoLAN is a project of students from the Ecole Centrale Paris.
44 This version add MPEG1 support, direct DVD support, DVD decryption,
45 arbitrary, seeking in the stream, pause, fast forward and slow motion,
46 hardware YUV acceleration and a few new interface features
47 including drag'n'drop.
48 You may install vlc-gnome, vlc-gtk and vlc-qt vlc-gnome vlc-ncurses.
49 This package contains no CSS unscrambling functionality.
50 You need the libdvdcss library available from http://www.videolan.org/libdvdcss/
53 Summary: Gtk plug-in for VideoLAN, a DVD and MPEG2 player
55 Requires: %{name} = %{version}
57 The vlc-gtk packages includes the Gtk plug-in for the VideoLAN client.
58 If you are going to watch DVD with the Gtk front-end, you should
63 Summary: Gnome plug-in for VideoLAN, a DVD and MPEG2 player
65 Requires: %{name} = %{version}
67 The vlc-gnome packages includes the Gnome plug-in for the VideoLAN client.
68 If you are going to watch DVD with the Gnome front-end, you should
72 Summary: Qt2 plug-in for VideoLAN, a DVD and MPEG2 player
74 Requires: %{name} = %{version}
76 The vlc-qt packages includes the Qt2 plug-in for the VideoLAN client.
77 If you are going to watch DVD with the Qt2 front-end, you should
81 Summary: Ncurses console-based plug-in for VideoLAN, a DVD and MPEG2 player
83 Requires: %{name} = %{version}
85 The vlc-ncurses packages includes the ncurses plug-in for the VideoLAN client.
86 If you are going to watch DVD with the ncurses front-end, you should
90 Summary: Simple DirectMedia Layer plug-in for VideoLAN, a DVD and MPEG2 player
92 Requires: %{name} = %{version}
94 The vlc-sdl packages includes the Simple DirectMedia Layer plug-in
95 for the VideoLAN client.
96 If you are going to watch DVD with the sdl plugin, you should
100 Summary: GGI plug-in for VideoLAN, a DVD and MPEG2 player
102 Requires: %{name} = %{version}
104 The vlc-ggi packages includes the GGI plug-in for the VideoLAN client.
105 If you are going to watch DVD with the GGI plugin, you should
109 Summary: Enlightened Sound Daemon plug-in for VideoLAN, a DVD and MPEG2 player
111 Requires: %{name} = %{version}
113 The vlc-esd packages includes the Enlightened Sound Daemon plug-in
114 for the VideoLAN client.
115 If you are going to watch DVD with the esd plugin, you should
119 Summary: Advanced Linux Sound Architecture plug-in for VideoLAN, a DVD and MPEG2 player
121 Requires: %{name} = %{version}
123 The vlc-alsa packages includes the Advanced Linux Sound Architecture plug-in for the VideoLAN client.
124 If you are going to watch DVD with the ALSA plugin, you should install vlc-alsa
128 %setup -q -n %{cvs_name}
130 %setup -q -n %{name}-%{vlc_ver}
135 # Dadou - 0.1.99h-mdk - Don't use configure here. It breaks build at present
137 ./configure --enable-release --enable-dvd --without-dvdcss \
139 --enable-gnome --enable-x11 --enable-gtk --enable-qt \
144 perl -pi -e "s|CFLAGS \+= -mcpu=604e|#CFLAGS \+= -mcpu=604e|" Makefile
145 perl -pi -e "s|#CFLAGS \+= -mcpu=750|CFLAGS \+= -mcpu=750 -mtune=750|" Makefile
147 #export CC="gcc-3.0.1" CXX="g++-3.0.1"
148 %configure --enable-release --enable-dvd --without-dvdcss \
149 --enable-gnome --enable-gtk \
150 --enable-x11 --disable-qt --enable-ncurses \
151 --enable-esd --enable-alsa \
152 --enable-fb --enable-mga \
157 export QTDIR=%{_libdir}/qt2
162 install -d %buildroot/%_mandir/man1
163 install doc/vlc.1 %buildroot/%_mandir/man1
166 mkdir -p $RPM_BUILD_ROOT/%{_menudir}
167 cat > $RPM_BUILD_ROOT/%{_menudir}/vlc << EOF
168 ?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"
170 cat > $RPM_BUILD_ROOT/%{_menudir}/vlc-gtk << EOF
171 ?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"
173 cat > $RPM_BUILD_ROOT/%{_menudir}/vlc-gnome << EOF
174 ?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"
176 cat > $RPM_BUILD_ROOT/%{_menudir}/vlc-qt << EOF
177 ?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"
181 mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
182 install -m 644 %buildroot/%_datadir/videolan/vlc16x16.png %buildroot/%{_miconsdir}/vlc.png
183 install -m 644 %buildroot/%_datadir/videolan/vlc32x32.png %buildroot/%{_iconsdir}/vlc.png
184 install -m 644 %buildroot/%_datadir/videolan/vlc48x48.png %buildroot/%{_liconsdir}/vlc.png
185 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc16x16.png %buildroot/%{_miconsdir}/gnome-vlc.png
186 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc32x32.png %buildroot/%{_iconsdir}/gnome-vlc.png
187 install -m 644 %buildroot/%_datadir/videolan/gnome-vlc48x48.png %buildroot/%{_liconsdir}/gnome-vlc.png
188 install -m 644 %buildroot/%_datadir/videolan/gvlc16x16.png %buildroot/%{_miconsdir}/gvlc.png
189 install -m 644 %buildroot/%_datadir/videolan/gvlc32x32.png %buildroot/%{_iconsdir}/gvlc.png
190 install -m 644 %buildroot/%_datadir/videolan/gvlc48x48.png %buildroot/%{_liconsdir}/gvlc.png
191 install -m 644 %buildroot/%_datadir/videolan/kvlc16x16.png %buildroot/%{_miconsdir}/kvlc.png
192 install -m 644 %buildroot/%_datadir/videolan/kvlc32x32.png %buildroot/%{_iconsdir}/kvlc.png
193 install -m 644 %buildroot/%_datadir/videolan/kvlc48x48.png %buildroot/%{_liconsdir}/kvlc.png
194 install -m 644 %buildroot/%_datadir/videolan/qvlc16x16.png %buildroot/%{_miconsdir}/qvlc.png
195 install -m 644 %buildroot/%_datadir/videolan/qvlc32x32.png %buildroot/%{_iconsdir}/qvlc.png
196 install -m 644 %buildroot/%_datadir/videolan/qvlc48x48.png %buildroot/%{_liconsdir}/qvlc.png
207 %defattr(-,root,root,-)
210 %dir %{_libdir}/videolan/vlc
211 %{_libdir}/videolan/vlc/ac3_spdif.so
212 %{_libdir}/videolan/vlc/dsp.so
213 %{_libdir}/videolan/vlc/dummy.so
214 %{_libdir}/videolan/vlc/dvd.so
215 %{_libdir}/videolan/vlc/fb.so
216 %{_libdir}/videolan/vlc/file.so
217 %{_libdir}/videolan/vlc/filter_deinterlace.so
218 %{_libdir}/videolan/vlc/filter_distort.so
219 %{_libdir}/videolan/vlc/filter_invert.so
220 %{_libdir}/videolan/vlc/filter_transform.so
221 %{_libdir}/videolan/vlc/filter_wall.so
222 %{_libdir}/videolan/vlc/fx_scope.so
223 %{_libdir}/videolan/vlc/http.so
224 %{_libdir}/videolan/vlc/ipv4.so
225 %{_libdir}/videolan/vlc/ipv6.so
226 %{_libdir}/videolan/vlc/logger.so
227 %{_libdir}/videolan/vlc/lpcm_adec.so
228 %{_libdir}/videolan/vlc/memcpy.so
229 %{_libdir}/videolan/vlc/mga.so
230 %{_libdir}/videolan/vlc/mpeg_es.so
231 %{_libdir}/videolan/vlc/mpeg_ps.so
232 %{_libdir}/videolan/vlc/mpeg_ts.so
233 %{_libdir}/videolan/vlc/null.so
234 %{_libdir}/videolan/vlc/rc.so
235 %{_libdir}/videolan/vlc/spudec.so
236 %{_libdir}/videolan/vlc/udp.so
237 %{_libdir}/videolan/vlc/vcd.so
238 %{_libdir}/videolan/vlc/x11.so
239 %{_libdir}/videolan/vlc/xmga.so
240 # nothing useful for the moment.
241 #%dir %{_datadir}/videolan
242 #%{_datadir}/videolan/*
245 %{_miconsdir}/vlc.png
247 %{_liconsdir}/vlc.png
250 %defattr(-,root,root)
252 %{_libdir}/videolan/vlc/gtk.so
255 %{_miconsdir}/gvlc.png
256 %{_iconsdir}/gvlc.png
257 %{_liconsdir}/gvlc.png
264 %defattr(-,root,root)
266 %{_libdir}/videolan/vlc/gnome.so
268 %{_menudir}/vlc-gnome
269 %{_miconsdir}/gnome-vlc.png
270 %{_iconsdir}/gnome-vlc.png
271 %{_liconsdir}/gnome-vlc.png
279 %defattr(-,root,root)
281 %{_libdir}/videolan/vlc/qt.so
284 %{_miconsdir}/qvlc.png
285 %{_iconsdir}/qvlc.png
286 %{_liconsdir}/qvlc.png
294 %defattr(-,root,root)
296 %{_libdir}/videolan/vlc/ncurses.so
299 %defattr(-,root,root)
301 %{_libdir}/videolan/vlc/sdl.so
304 %defattr(-,root,root)
306 %{_libdir}/videolan/vlc/ggi.so
309 %defattr(-,root,root)
311 %{_libdir}/videolan/vlc/esd.so
315 %defattr(-,root,root)
317 %{_libdir}/videolan/vlc/alsa.so
321 * Thu Apr 06 2002 Samuel Hocevar <sam@zoy.org> 0.3.0
323 - removed libdvdcss from the whole tarball.
324 - removed the workaround for vlc's bad /dev/dsp detection.
326 * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
327 - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
328 to build libdvdcss rpm.
330 * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
333 - splitted again, added vlc-sdl vlc-esd vlc-ggi
334 - bring back some missing plugins
335 - fixed buildrequires
336 - added menu entries and icons (from cvs)
338 * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
339 - rebuild against libpng3
340 - added some doc for sir rpmlint
343 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
345 * Activated subtitles in overlay mode (far from perfect, but this
346 was an often requested feature).
348 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
351 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
355 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
359 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
360 - fix build on ppc (c) dadou
362 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
363 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
364 improvements of the gtk interface.
365 - corrected Summary in vlc-qt
367 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
368 - added qt2 plug-in (vlc-qt)
370 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
372 - you can now get decss threw a plug-in
373 - rewritte srcipt to build vlc (decss plugin)
374 - rebuild with SDL 1.2
376 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
379 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
381 - package split into vlc, vlc-gnome, vlc-gtk
383 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
385 * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
386 shipped with the latest RedHat distributions.
387 * Fixed the BeOS CSS decryption.
388 * Fixed a few issues in IFO parsing.
389 * Fixed XVideo video output.
390 * Updated icons under Linux, BeOS, MacOS X.
392 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
395 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
396 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
397 interface for the Gnome-impaired, an even better DVD support
399 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
400 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
401 DVD decryption, arbitrary, seeking in the stream, pause, fast forward
402 and slow motion, hardware YUV acceleration enhanced CSS support and a few
403 new interface features including drag'n'drop.
404 - first *real* public release (now under the GPL)
406 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
407 - Fix build and use right optimizations on PPC
411 * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
414 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
417 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
418 - first Mandrake package with help of Sam