1 # This is borrowed and adapted from Mandrake's Cooker
4 %define version %vlc_ver
9 %define lib_name libdvdcss%{major}
14 %define cvsdate 20011002
15 %define release 0.%{cvsdate}
16 %define cvs_name %{name}-snapshot-%{cvsdate}-00
21 Summary: VideoLAN is a free MPEG, MPEG-2 and DVD software solution.
27 Source0: http://www.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.bz2
29 Source0: http://www.videolan.org/pub/videolan/vlc/%{version}/%{name}-%{version}.tar.bz2
33 URL: http://videolan.org/
34 BuildRoot: %_tmppath/%name-%version-%release-root
35 #This is for Mandrake :
36 #Buildrequires: libncurses5-devel
37 #Buildrequires: libqt2-devel
38 #Buildrequires: libgtk+1.2-devel
39 #Buildrequires: gnome-libs-devel
40 #Buildrequires: db1-devel
42 Buildrequires: ncurses-devel
43 Buildrequires: qt-devel
44 Buildrequires: gtk+-devel
45 Buildrequires: gnome-libs-devel
46 Buildrequires: SDL-devel
50 VideoLAN is a free network-aware MPEG and DVD player.
51 The VideoLAN Client allows to play MPEG-2 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 MPEG-1 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-qt vlc-gnome vlc-ncurses.
61 Summary: Gtk plug-in for VideoLAN, a DVD and MPEG-2 player
63 Requires: %{name} = %{version}
65 The vlc-gtk packages includes the Gtk plug-in for the VideoLAN client.
66 If you are going to watch DVD with the Gtk front-end, you should
71 Summary: Gnome plug-in for VideoLAN, a DVD and MPEG-2 player
73 Requires: %{name} = %{version}
75 The vlc-gnome packages includes the Gnome plug-in for the VideoLAN client.
76 If you are going to watch DVD with the Gnome front-end, you should
80 Summary: Qt2 plug-in for VideoLAN, a DVD and MPEG-2 player
82 Requires: %{name} = %{version}
84 The vlc-qt packages includes the Qt2 plug-in for the VideoLAN client.
85 If you are going to watch DVD with the Qt2 front-end, you should
89 Summary: Ncurses console-based plug-in for VideoLAN, a DVD and MPEG-2 player
91 Requires: %{name} = %{version}
93 The vlc-ncurses packages includes the ncurses plug-in for the VideoLAN client.
94 If you are going to watch DVD with the ncurses front-end, you should
100 %setup -q -n %{cvs_name}
102 %setup -q -n %{name}-%{vlc_ver}
106 export QTDIR=%{_libdir}/qt-2.3.0/
107 %configure --with-dvdcss=local-shared \
108 --enable-gnome --enable-gtk \
109 --enable-x11 --enable-qt --enable-ncurses \
110 --enable-esd --disable-alsa \
118 install -d %buildroot/%_mandir/man1
119 install doc/vlc.1 %buildroot/%_mandir/man1
125 %defattr(-,root,root,-)
129 %{_libdir}/videolan/vlc/dsp.so
130 %{_libdir}/videolan/vlc/esd.so
131 %{_libdir}/videolan/vlc/fb.so
132 %{_libdir}/videolan/vlc/sdl.so
133 %{_libdir}/videolan/vlc/x*.so
135 %dir %{_datadir}/videolan
136 %{_datadir}/videolan/*
140 %defattr(-,root,root)
141 %{_libdir}/videolan/vlc/gtk.so
145 %defattr(-,root,root)
146 %{_libdir}/videolan/vlc/gnome.so
150 %defattr(-,root,root)
151 %{_libdir}/videolan/vlc/qt.so
155 %defattr(-,root,root)
156 %{_libdir}/videolan/vlc/ncurses.so
160 * Wed Oct 10 2001 Christophe Massiot <massiot@via.ecp.fr> 0.2.90-1
163 * Tue Oct 02 2001 Christophe Massiot <massiot@via.ecp.fr>
164 - Imported Mandrake's vlc.spec into the CVS
166 * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
168 * Activated subtitles in overlay mode (far from perfect, but this
169 was an often requested feature).
171 * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
174 * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
178 * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
182 * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
183 - fix build on ppc (c) dadou
185 * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
186 - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
187 improvements of the gtk interface.
188 - corrected Summary in vlc-qt
190 * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
191 - added qt2 plug-in (vlc-qt)
193 * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
195 - you can now get decss threw a plug-in
196 - rewritte srcipt to build vlc (decss plugin)
197 - rebuild with SDL 1.2
199 * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
202 * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
204 - package split into vlc, vlc-gnome, vlc-gtk
206 * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
208 * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
209 shipped with the latest RedHat distributions.
210 * Fixed the BeOS CSS decryption.
211 * Fixed a few issues in IFO parsing.
212 * Fixed XVideo video output.
213 * Updated icons under Linux, BeOS, MacOS X.
215 * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
218 * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
219 - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+
220 interface for the Gnome-impaired, an even better DVD support
222 * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
223 - new version for all the DVD fans (add MPEG1 support, direct DVD support,
224 DVD decryption, arbitrary, seeking in the stream, pause, fast forward
225 and slow motion, hardware YUV acceleration enhanced CSS support and a few
226 new interface features including drag'n'drop.
227 - first *real* public release (now under the GPL)
229 * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
230 - Fix build and use right optimizations on PPC
234 * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
237 * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
240 * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
241 - first Mandrake package with help of Sam