1 Summary: The VideoLAN client, also a very good standalone video player.
5 Group: Applications/Multimedia
7 URL: http://www.videolan.org/
8 Source: http://www.videolan.org/pub/videolan/vlc/vlc-%{version}.tar.bz2
9 Buildroot: %{_tmppath}/%{name}-root
10 Packager: Jason Luka <jason@geshp.com>
11 Requires: XFree86, desktop-file-utils
12 %{!?_without_dvd:Requires: libdvdcss}
13 %{!?_without_dvdread:Requires: libdvdread}
14 %{!?_without_dvdplay:Requires: libdvdplay}
15 %{!?_without_dvbpsi:Requires: libdvbpsi}
16 %{!?_without_ogg:Requires: libogg}
17 %{!?_without_mad:Requires: libmad}
18 %{!?_without_ffmpeg:Requires: libffmpeg}
19 %{!?_without_xvid:Requires: xvidcore}
20 %{!?_without_a52:Requires: a52dec}
21 %{?_with_dv:Requires: libdv}
22 %{!?_without_flac:Requires: flac}
23 %{!?_without_vorbis:Requires: libvorbis}
24 %{!?_without_sdl:Requires: SDL}
25 %{!?_without_aa:Requires: aalib}
26 %{!?_without_esd:Requires: esound}
27 %{!?_without_arts:Requires: arts}
28 %{!?_without_alsa:Requires: alsa-lib}
29 %{!?_without_gtk:Requires: gtk+}
30 %{!?_without_gnome:Requires: gnome-libs}
31 %{?_with_qt:Requires: qt}
32 %{?_with_kde:Requires: kdelibs}
33 %{?_with_ncurses:Requires: ncurses}
34 %{!?_without_xosd:Requires: xosd}
35 %{!?_without_lirc:Requires: lirc}
36 %{?_with_mozilla:Requires: mozilla}
38 Requires: XFree86, desktop-file-utils
39 %{!?_without_dvd:Requires: libdvdcss}
40 %{!?_without_dvdread:Requires: libdvdread}
41 %{!?_without_dvdplay:Requires: libdvdplay}
42 %{!?_without_dvbpsi:Requires: libdvbpsi}
43 %{!?_without_ogg:Requires: libogg}
44 %{!?_without_mad:Requires: libmad}
45 %{!?_without_ffmpeg:Requires: libffmpeg}
46 %{!?_without_xvid:Requires: xvidcore}
47 %{!?_without_a52:Requires: a52dec}
48 %{?_with_dv:Requires: libdv}
49 %{!?_without_flac:Requires: flac}
50 %{!?_without_vorbis:Requires: libvorbis}
51 %{!?_without_sdl:Requires: SDL}
52 %{!?_without_aa:Requires: aalib}
53 %{!?_without_esd:Requires: esound}
54 %{!?_without_arts:Requires: arts}
55 %{!?_without_alsa:Requires: alsa-lib}
56 %{!?_without_gtk:Requires: gtk+}
57 %{!?_without_gnome:Requires: gnome-libs}
58 %{?_with_qt:Requires: qt}
59 %{?_with_kde:Requires: kdelibs}
60 %{?_with_ncurses:Requires: ncurses}
61 %{!?_without_xosd:Requires: xosd}
62 %{!?_without_lirc:Requires: lirc}
63 %{?_with_mozilla:Requires: mozilla}
66 VideoLAN Client (VLC) is a highly portable multimedia player for various
67 audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as
68 well as DVDs, VCDs, and various streaming protocols.
70 Available rpmbuild rebuild options :
71 --with dv mga qt kde ncurses
72 --without dvd dvdread dvdplay dvbpsi v4l avi asf aac ogg rawdv mad ffmpeg xvid
73 mp4 a52 vorbis flac aa esd arts alsa gtk gnome xosd lsp lirc pth
75 Options that would need not yet existing add-on packages :
76 --with faad tremor tarkin theora svgalib ggi glide wxwindows
80 Summary: Header files and static library from the Videolan Client.
81 Group: Development/Libraries
82 Requires: %{name} = %{version}
85 VideoLAN Client (VLC) is a highly portable multimedia player for various
86 audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as
87 well as DVDs, VCDs, and various streaming protocols.
89 Install this package if you need to build Videolan Client plugins or intend
90 to link statically to it.
94 %setup -q -n vlc-%{version}
99 %{?_without_dvd:--disable-dvd} \
100 %{!?_without_dvdread:--enable-dvdread} \
101 %{!?_without_dvdplay:--enable-dvdplay} \
102 %{!?_without_dvbpsi:--enable-dvbpsi} \
103 %{!?_without_v4l:--enable-v4l} \
105 %{?_without_avi:--disable-avi} \
106 %{?_without_asf:--disable-asf} \
107 %{?_without_aac:--disable-aac} \
108 %{?_without_ogg:--disable-ogg} \
109 %{?_without_rawdv:--disable-rawdv} \
110 %{!?_without_mad:--enable-mad} \
111 %{!?_without_ffmpeg:--enable-ffmpeg --with-ffmpeg=%{_prefix}} \
112 %{?_with_faad:--enable-faad} \
113 %{!?_without_xvid:--enable-xvid} \
114 %{?_without_mp4:--disable-mp4} \
115 %{?_without_a52:--disable-a52} \
116 %{?_without_cinepak:--disable-cinepak} \
117 %{?_with_dv:--enable-dv} \
118 %{!?_without_flac:--enable-flac} \
119 %{?_without_vorbis:--disable-vorbis} \
120 %{?_with_tremor:--enable-tremor} \
121 %{?_with_tarkin:--enable-tarkin} \
122 %{?_with_theora:--enable-theora} \
125 %{?_without_sdl:--disable-sdl} \
129 %{?_with_mga:--enable-mga} \
130 %{?_with_svgalib:--enable-svgalib} \
131 %{?_with_ggi:--enable-ggi} \
132 %{?_with_glide:--enable-glide} \
133 %{!?_without_aa:--enable-aa} \
136 %{!?_without_esd:--enable-esd} \
137 %{!?_without_arts:--enable-arts} \
138 %{!?_without_alsa:--enable-alsa} \
140 %{!?_without_gtk:--enable-gtk} \
142 %{!?_without_gnome:--enable-gnome} \
143 %{!?_with_wxwindows:--disable-wxwindows} \
144 %{?_with_qt:--enable-qt} \
145 %{?_with_kde:--enable-kde} \
150 %{?_with_ncurses:--enable-ncurses} \
151 %{!?_without_xosd:--enable-xosd} \
152 %{?_without_slp:--disable-slp} \
153 %{!?_without_lirc:--enable-lirc} \
154 %{!?_without_pth:--enable-pth} \
156 %{?_with_mozilla:--enable-mozilla} \
157 --disable-testsuite \
164 find %{buildroot}%{_libdir}/vlc -name "*.so" | xargs strip
167 cat > %{name}.desktop << EOF
171 Icon=%{_datadir}/vlc/vlc48x48.png
177 mkdir -p %{buildroot}%{_datadir}/applications
178 desktop-file-install --vendor %{desktop_vendor} --delete-original \
179 --dir %{buildroot}%{_datadir}/applications \
180 --add-category X-Red-Hat-Extra \
181 --add-category Application \
182 --add-category AudioVideo \
186 ln /dev/cdrom /dev/dvd -sf
195 %defattr(-, root, root)
196 %doc AUTHORS COPYING ChangeLog MAINTAINERS README THANKS
197 %doc doc/fortunes.txt doc/web-streaming.html
200 %{_datadir}/applications/%{desktop_vendor}-%{name}.desktop
204 %defattr(-, root, root)
206 %{_bindir}/vlc-config
211 * Thu Mar 23 2003 Jason Luka <jason@geshp.com>
212 - Renamed ffmpeg to libffmpeg
213 - Rebuilt for videolan site
214 - Autolinked /dev/dvd to /dev/cdrom
216 * Tue Mar 11 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
218 - Fix the dv build dependency, thanks to Alan Hagge.
219 - Added flac support.
220 - Fixed the libdvbpsi requirements.
222 * Mon Feb 24 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
223 - Rebuilt against the new xosd lib.
225 * Wed Feb 19 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
227 - Major spec file update.
229 * Fri Nov 15 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
232 * Tue Oct 22 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
234 - Minor --with / --without adjustments.
236 * Sun Oct 6 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
237 - Rebuilt for Red Hat Linux 8.0.
239 - Added all --without options and --with qt.
241 * Mon Aug 12 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
244 * Fri Jul 26 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
247 * Fri Jul 12 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
250 * Wed Jun 5 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
253 * Fri May 24 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
255 - Disabled qt interface, it's hell to build with qt2/3!
256 - Use %%find_lang and %%{?_smp_mflags}.
258 * Fri Apr 19 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
261 * Mon Apr 8 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
264 * Sat Jan 12 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
265 - Removed the dependency on libdvdcss package, use the built in one instead,
266 because 1.x.x is not as good as 0.0.3.ogle3.
268 * Tue Jan 1 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
270 - Build fails with libdvdcss < 1.0.1.
272 * Tue Nov 13 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
273 - Update to 0.2.91 and now requires libdvdcss 1.0.0.
275 * Mon Oct 22 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
276 - Split libdvdcss into a separate package since it's also needed by the
279 * Thu Oct 11 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
281 - Removed ggi, svgalib and aalib since they aren't included in Red Hat 7.2.
283 * Mon Aug 27 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
286 * Sat Aug 11 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
289 * Mon Jul 30 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
291 - Added all the new split libdvdcss.* files to the %%files section.
293 * Tue Jun 5 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
294 - Updated to the latest release, 0.2.80.
296 * Wed May 30 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
297 - Updated to today's CVS version, works great! :-)
298 - Fixed the desktop menu entry.
300 * Tue May 22 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
301 - Spec file cleanup to make it look more like others do.
302 - Added the use of many macros.
303 - Disabled automatic requires and provides (the package always needed qt,
304 gtk+, gnome etc. otherwise).
305 - Added a system desktop menu entry.
307 * Mon Apr 30 2001 Arnaud Gomes-do-Vale <arnaud@glou.org>
308 Added relocation support and compile fixes for Red Hat 7.x.
310 * Sat Apr 28 2001 Henri Fallon <henri@videolan.org>
311 New upstream release (0.2.73)
313 * Mon Apr 16 2001 Samuel Hocevar <sam@zoy.org>
314 New upstream release (0.2.72)
316 * Fri Apr 13 2001 Samuel Hocevar <sam@zoy.org>
317 New upstream release (0.2.71)
319 * Sun Apr 8 2001 Christophe Massiot <massiot@via.ecp.fr>
320 New upstream release (0.2.70)
322 * Fri Feb 16 2001 Samuel Hocevar <sam@via.ecp.fr>
325 * Tue Aug 8 2000 Samuel Hocevar <sam@via.ecp.fr>
326 Added framebuffer support
328 * Sun Jun 18 2000 Samuel Hocevar <sam@via.ecp.fr>
329 Took over the package
331 * Thu Jun 15 2000 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>