2 %define ffmpeg_date
20040520
4 Summary: The VideoLAN client
, also a very good standalone video player.
8 Group: Applications
/Multimedia
10 URL: http
://www.videolan.org
/
11 Source0: http
://www.videolan.org
/pub
/videolan
/vlc
/vlc
-%{version}-%{release}.tar.bz2
12 Source1: http
://download.videolan.org
/pub
/videolan
/vlc
/%{version}/contrib/ffmpeg-%{ffmpeg_date}.tar.bz2
14 Buildroot: %{_tmppath}/%{name}-root
15 Packager: Jason Luka
<jason@geshp.com
>
16 Buildrequires
: desktop
-file
-utils
, libpostproc
>= 1.0
17 %{!?_without_dvd:Buildrequires: libdvdcss-devel >= 1.2.8}
18 %{!?_without_dvdread:Buildrequires: libdvdread-devel >= 0.9.4}
19 %{?_with_dvdplay:Buildrequires: libdvdplay-devel >= 1.0.1}
20 %{!?_without_dvdnav:Buildrequires: libdvdnav >= 0.1.10}
21 %{!?_without_dvbpsi:Buildrequires: libdvbpsi-devel >= 0.1.3}
22 %{!?_without_ogg:Buildrequires: libogg-devel}
23 %{!?_without_mad:Buildrequires: libmad-devel >= 0.15.0b}
24 %{?_with_xvid:Buildrequires: xvidcore-devel >= 0.9.2}
25 %{!?_without_a52:Buildrequires: a52dec-devel}
26 %{?_with_dv:Buildrequires: libdv-devel >= 0.99}
27 %{!?_without_flac:Buildrequires: flac-devel >= 1.1.0}
28 %{!?_without_vorbis:Buildrequires: libvorbis-devel}
29 %{!?_without_sdl:Buildrequires: SDL-devel}
30 %{!?_without_aa:Buildrequires: aalib-devel}
31 %{!?_without_esd:Buildrequires: esound-devel}
32 %{!?_without_arts:Buildrequires: arts-devel}
33 %{!?_without_alsa:Buildrequires: alsa-lib-devel}
34 %{?_with_gtk:Buildrequires: gtk+-devel}
35 %{?_with_gnome:Buildrequires: gnome-libs-devel}
36 %{!?_without_lirc:Buildrequires: lirc}
37 %{?_with_qt:Buildrequires: qt-devel}
38 %{?_with_kde:Buildrequires: kdelibs-devel}
39 %{!?_without_ncurses:Buildrequires: ncurses-devel >= 5}
40 %{!?_without_xosd:Buildrequires: xosd-devel >= 2.2.5}
41 %{!?_without_id3tag:BuildRequires: libid3tag-devel}
42 %{!?_without_mpeg2dec:BuildRequires: mpeg2dec-devel >= 0.3.2}
43 %{!?_without_wxwindows:BuildRequires: wxGTK-devel >= 2.4.2}
44 %{!?_without_mozilla:BuildRequires: mozilla-devel >= %{mozver}}
45 %{!?_without_mozilla:BuildRequires: mozplugger >= 1.3.2}
46 %{!?_without_speex:BuildRequires: speex-devel >= 1.0.3}
47 %{!?_without_aa:BuildRequires: aalib >= 1.4}
48 %{!?_without_mkv:BuildRequires: libmatroska-devel}
49 %{!?_without_fribidi:BuildRequires: fribidi-devel}
50 %{!?_without_caca:BuildRequires: libcaca-devel}
52 Obsoletes
: videolan
-client
, matroska
, libebml
, libmatroska
54 Requires: desktop
-file
-utils
55 %{!?_without_dvd:Requires: libdvdcss >= 1.2.8}
56 %{!?_without_dvdread:Requires: libdvdread >= 0.9.4}
57 %{?_with_dvdplay:Requires: libdvdplay >= 1.0.1}
58 %{!?_without_dvbpsi:Requires: libdvbpsi >= 0.1.3}
59 %{!?_without_ogg:Requires: libogg}
60 %{!?_without_mad:Requires: libmad >= 0.15.0b}
61 %{!?_without_xvid:Requires: xvidcore >= 0.9.2}
62 %{!?_without_a52:Requires: a52dec}
63 %{?_with_dv:Requires: libdv >= 0.99}
64 %{!?_without_flac:Requires: flac >= 1.1.0}
65 %{!?_without_vorbis:Requires: libvorbis}
66 %{!?_without_sdl:Requires: SDL}
67 %{!?_without_aa:Requires: aalib >= 1.4}
68 %{!?_without_esd:Requires: esound}
69 %{!?_without_arts:Requires: arts}
70 %{!?_without_alsa:Requires: alsa-lib}
71 %{?_with_gtk:Requires: gtk+}
72 %{?_with_gnome:Requires: gnome-libs}
73 %{?_with_qt:Requires: qt}
74 %{?_with_kde:Requires: kdelibs}
75 %{?_with_ncurses:Requires: ncurses}
76 %{?_with_xosd:Requires: xosd >= 2.2.5}
77 %{!?_without_lirc:Requires: lirc}
78 %{!?_without_mozilla:Requires: mozilla >= %{mozver}}
79 %{!?_without_speex:Requires: speex >= 1.0.3}
80 %{!?_without_wxwindows:Requires: wxGTK >= 2.4.2}
81 %{!?_without_fribidi:Requires: fribidi}
84 VideoLAN Client
(VLC
) is a highly portable multimedia player
for various
85 audio and video formats
(MPEG
-1, MPEG
-2, MPEG
-4, DivX
, mp3
, ogg
, ...
) as
86 well as DVDs
, VCDs
, and various streaming protocols.
88 Available rpmbuild rebuild options
:
89 --without dvd dvdread dvdplay dvbpsi dv v4l avi asf aac ogg rawdv mad ffmpeg xvid
90 mp4 a52 vorbis mpeg2dec flac aa esd arts alsa gtk gnome xosd lsp lirc
91 pth id3tag dv qt kde ncurses faad wxwindows mkv fribidi theora
93 Options that would need not yet existing add
-on packages
:
94 --with tremor tarkin ggi glide svgalib mga
98 Summary: Header files and static library from the Videolan Client.
99 Group: Development
/Libraries
100 Requires: %{name} = %{version}
103 VideoLAN Client
(VLC
) is a highly portable multimedia player
for various
104 audio and video formats
(MPEG
-1, MPEG
-2, MPEG
-4, DivX
, mp3
, ogg
, ...
) as
105 well as DVDs
, VCDs
, and various streaming protocols.
107 Install this package
if you need to build Videolan Client plugins or intend
108 to link statically to it.
112 %setup -q
-n vlc
-%{version} -a
1
114 # Build bundeled ffmpeg first
115 pushd ffmpeg
-%{ffmpeg_date}
120 %{!?_without_lame: --enable-mp3lame} \
121 %{!?_without_vorbis: --enable-vorbis} \
122 %{!?_without_faad: --enable-faad} \
123 %{!?_without_faac: --enable-faac} \
124 %{!?_without_a52dec: --enable-a52}
125 %{__make} %{?_smp_mflags}
128 export XPIDL
=%{_libdir}/mozilla
-%mozver/xpidl
129 export XPIDL_INCL
=-I
%{_includedir}/mozilla
-%mozver
133 cp
%{_libdir}/mozilla/plugins/mozplugger.so %{_libdir}/mozilla-%{mozver}/plugins
/mozplugger.so.bak
-f
134 mv
%{_libdir}/mozilla-%{mozver}/plugins/mozplugger.so.bak %{_libdir}/mozilla-%{mozver}/plugins
/mozplugger.so
-f
135 rm %{_libdir}/mozilla
-fr
136 ln
%{_libdir}/mozilla-%{mozver} %{_libdir}/mozilla
-sf
137 ln
/usr
/share
/idl
/mozilla
-%{mozver} /usr
/share
/idl
/mozilla
-sf
138 #ln %{_libdir}/libxvidcore.so.2 %{_libdir}/libxvidcore.so -sf
148 %{!?_without_dvdread:--enable-dvdread} \
149 %{!?_without_dvdnav:--enable-dvdnav} \
150 %{!?_without_dvbpsi:--enable-dvbpsi} \
151 %{!?_without_v4l:--enable-v4l} \
152 %{!?_without_ffmpeg:--enable-ffmpeg} \
153 %{!?_without_ffmpeg:--with-ffmpeg-tree=ffmpeg-%{ffmpeg_date}} \
154 %{!?_without_flac:--enable-flac} \
155 %{!?_without_theora:--enable-theora} \
156 %{!?_without_mad:--enable-mad} \
157 %{!?_without_faad:--enable-faad} \
158 %{!?_without_aa:--enable-aa} \
159 %{!?_without_caca:--enable-caca} \
160 %{!?_without_dvb:--enable-dvb} \
161 %{!?_without_pvr:--enable-pvr} \
162 %{!?_without_livedotcom:--enable-livedotcom --with-livedotcom-tree=%{_libdir}/live} \
163 %{!?_without_alsa:--enable-alsa} \
164 %{!?_without_esd:--enable-esd} \
165 %{!?_without_arts:--enable-arts} \
166 %{!?_without_fribidi:--enable-fribidi} \
167 %{!?_without_freetype:--enable-freetype} \
168 %{!?_without_wxwindows:--enable-wxwindows} \
169 %{!?_without_ncurses:--enable-ncurses} \
170 %{!?_without_lirc:--enable-lirc} \
171 %{!?_without_mozilla:--enable-mozilla} \
172 %{?_with_xvid:--enable-xvid} \
173 %{?_with_dv:--enable-dv} \
174 %{!?_without_sdl:--enable-sdl} \
175 %{?_with_xosd:--enable-xosd} \
176 %{?_with_slp:--enable-slp} \
177 %{?_without_mkv:--disable-mkv} \
178 %{?_with_tremor:--enable-tremor} \
179 %{?_with_tarkin:--enable-tarkin} \
180 %{?_without_mp4:--disable-mp4} \
181 %{?_without_a52:--disable-a52} \
182 %{?_without_cinepak:--disable-cinepak} \
183 %{?_without_mpeg2dec:--disable-libmpeg2} \
184 %{?_without_vorbis:--disable-vorbis} \
185 %{?_with_mga:--enable-mga} \
186 %{?_with_svgalib:--enable-svgalib} \
187 %{?_with_ggi:--enable-ggi} \
188 %{?_with_glide:--enable-glide} \
192 %{?_with_gtk:--enable-gtk} \
194 %{?_with_gnome:--enable-gnome} \
195 %{?_with_qt:--enable-qt} \
196 %{?_with_kde:--enable-kde} \
201 %{?_with_pth:--enable-pth} \
203 %{?_without_speex:--disable-speex} \
204 --disable
-testsuite \
205 %{?_with_dvdplay:--enable-dvdplay} \
206 %{?_without_dvd:--disable-dvd} \
207 %{?_without_avi:--disable-avi} \
208 %{?_without_asf:--disable-asf} \
209 %{?_without_aac:--disable-aac} \
210 %{?_without_ogg:--disable-ogg} \
211 %{?_without_rawdv:--disable-rawdv}
218 find
%{buildroot}%{_libdir}/vlc
-name "
*.so" | xargs strip
221 cat
> %{name}.desktop
<< EOF
223 Name=VideoLAN Media Player
225 Icon=%{_datadir}/vlc
/vlc48x48.png
231 mv
%{buildroot}%{_libdir}/mozilla %{buildroot}%{_libdir}/mozilla-%{mozver} -f
233 mkdir -p
%{buildroot}%{_datadir}/applications
234 desktop
-file
-install --vendor gnome
--delete
-original \
235 --dir
%{buildroot}%{_datadir}/applications \
236 --add
-category X
-Red
-Hat
-Base \
237 --add
-category Application \
238 --add
-category AudioVideo \
242 ln
/dev
/cdrom
/dev
/dvd
-sf
246 rm /usr
/share
/idl
/mozilla
-fr
250 rm /usr
/share
/idl
/mozilla
-fr
251 rm /usr
/lib
/mozilla
-fr
252 mkdir /usr
/lib
/mozilla
/plugins
-p
--mode
=755
253 mv
%{_libdir}/mozilla-%{mozver}/plugins/mozplugger.so %{_libdir}/mozilla
/plugins
-f
256 %defattr(-, root
, root
)
257 %doc AUTHORS COPYING ChangeLog MAINTAINERS README THANKS
258 %doc doc
/fortunes.txt doc
/intf
-vcd.txt
259 %doc doc
/bugreport
-howto.txt
260 %exclude %{_datadir}/doc
/vlc
/*
263 %{_libdir}/libvlc_pic.a
264 %{_libdir}/mozilla-%{mozver}/components
/vlcintf.xpt
265 %{_libdir}/mozilla-%{mozver}/plugins
/libvlcplugin.so
266 %{_datadir}/applications/gnome-%{name}.desktop
270 %defattr(-, root
, root
)
272 %{_bindir}/vlc
-config
277 * Sun Oct
10 2004 Jason Luka
278 - Update to
0.8.0-test2
279 - Inserted static ffmpeg routine
280 - Removed outdated kde
, qt
, gnome
, and gtk
+ interfaces
281 - Added livedotcom dependancy
282 - Openslp is broken
, temporarily removed
283 - Added EXPORTs and bootstrap
284 - Removed ffmpeg dependancy as the static lib works better
for now
286 * Sun Sep
19 2004 Jason Luka
287 - Update to
0.8.0-test1
289 - Updated Mozilla version
for FC2
291 * Fri Mar
19 2004 Jason Luka
292 - Removed dependancy on XFree86 as FC2 now calls the same package xorg
294 * Mon Mar
15 2004 Jason Luka
297 * Tue Dec
2 2003 Jason Luka
298 - Added fribidi support
299 - Added fribidi and mkv options to configure
301 * Sat Nov
29 2003 Jason Luka
302 - Fixed Matroska
/EBML problem
303 - Updated script
for mozilla plugin installation
305 * Fri Nov
28 2003 Jason Luka
306 - Update to
0.7.0-test1
307 - Updated version numbers on dependancies
308 - Removed ALSA support
until RH
/FC turns to kernel
2.6
309 - Added
--enable-speex and
--enable-pp
310 - Mozilla plugin now built
for 1.4.1
311 - Currently broken
(Matroska
/EBML problems
)
313 * Mon Aug
25 2003 Jason Luka
314 - Added matroska support
315 - Corrected some symlinking problems with the mozilla plugin
317 * Fri Aug
22 2003 Jason Luka
<jason@geshp.com
>
319 - Changed menu item name to VideoLAN Media Player
320 - Added openslp support
321 - Added libtar support
(needed
for skins
)
322 - Added symlink to libxvidcore.so
, thanks to new version of that software
324 * Fri Aug
1 2003 Jason Luka
<jason@geshp.com
>
326 - Fixed file structure problems I created to accomodate the mozilla plugin
327 - Changed vendor name
for desktop
install
328 - Moved vlc to base menu
329 - Moved plugins from
/usr
/lib
/mozilla to
/usr
/lib
/mozilla
-x.x.x
330 - Added custom patch to accomodate mozilla plugin
331 - Added execution of bootstrap since Makefile.am was altered
333 * Tue Jul
8 2003 Jason Luka
<jason@geshp.com
>
335 - Add id3lib
, dv
, faad
, qt
, kde
, and mozilla plugin support
336 - Added script to symlink mozilla
-1.2.1 directories to mozilla so build can complete
338 * Sat Apr
5 2003 Jason Luka
<jason@geshp.com
>
339 - Rebuilt
for Red Hat
9
340 - Changed dependencies
for ffmpeg's new name
341 - Required lirc support at build
-time
343 * Sat Mar
25 2003 Jason Luka
<jason@geshp.com
>
344 - Fixed Buildrequire statements to require all plugins at compile
-time
345 - Fixed Require statements so users don't have to
install every plugin
347 * Thu Mar
23 2003 Jason Luka
<jason@geshp.com
>
348 - Renamed ffmpeg to libffmpeg
349 - Rebuilt
for videolan site
350 - Autolinked
/dev
/dvd to
/dev
/cdrom
352 * Tue Mar
11 2003 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
354 - Fix the dv build dependency
, thanks to Alan Hagge.
355 - Added flac support.
356 - Fixed the libdvbpsi requirements.
358 * Mon Feb
24 2003 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
359 - Rebuilt against the new xosd lib.
361 * Wed Feb
19 2003 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
363 - Major spec file update.
365 * Fri Nov
15 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
368 * Tue Oct
22 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
370 - Minor
--with
/ --without adjustments.
372 * Sun Oct
6 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
373 - Rebuilt
for Red Hat Linux
8.0.
375 - Added all
--without options and
--with qt.
377 * Mon Aug
12 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
380 * Fri Jul
26 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
383 * Fri Jul
12 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
386 * Wed Jun
5 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
389 * Fri May
24 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
391 - Disabled qt interface
, it's hell to build with qt2
/3!
392 - Use %
%find_lang and %
%{?_smp_mflags}.
394 * Fri Apr
19 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
397 * Mon Apr
8 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
400 * Sat Jan
12 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
401 - Removed the dependency on libdvdcss package
, use the built
in one instead
,
402 because
1.x.x is not as good as
0.0.3.ogle3.
404 * Tue Jan
1 2002 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
406 - Build fails with libdvdcss
< 1.0.1.
408 * Tue Nov
13 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
409 - Update to
0.2.91 and now requires libdvdcss
1.0.0.
411 * Mon Oct
22 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
412 - Split libdvdcss into a separate package since it's also needed by the
415 * Thu Oct
11 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
417 - Removed ggi
, svgalib and aalib since they aren't included
in Red Hat
7.2.
419 * Mon Aug
27 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
422 * Sat Aug
11 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
425 * Mon Jul
30 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
427 - Added all the new split libdvdcss.
* files to the %
%files section.
429 * Tue Jun
5 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
430 - Updated to the latest release
, 0.2.80.
432 * Wed May
30 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
433 - Updated to today's CVS version
, works great
! :-)
434 - Fixed the desktop menu entry.
436 * Tue May
22 2001 Matthias Saou
<matthias.saou@est.une.marmotte.net
>
437 - Spec file cleanup to
make it look more like others
do.
438 - Added the use of many macros.
439 - Disabled automatic requires and provides
(the package always needed qt
,
440 gtk
+, gnome etc. otherwise
).
441 - Added a system desktop menu entry.
443 * Mon Apr
30 2001 Arnaud Gomes
-do-Vale
<arnaud@glou.org
>
444 Added relocation support and compile fixes
for Red Hat
7.x.
446 * Sat Apr
28 2001 Henri Fallon
<henri@videolan.org
>
447 New upstream release
(0.2.73)
449 * Mon Apr
16 2001 Samuel Hocevar
<sam@zoy.org
>
450 New upstream release
(0.2.72)
452 * Fri Apr
13 2001 Samuel Hocevar
<sam@zoy.org
>
453 New upstream release
(0.2.71)
455 * Sun Apr
8 2001 Christophe Massiot
<massiot@via.ecp.fr
>
456 New upstream release
(0.2.70)
458 * Fri Feb
16 2001 Samuel Hocevar
<sam@via.ecp.fr
>
461 * Tue Aug
8 2000 Samuel Hocevar
<sam@via.ecp.fr
>
462 Added framebuffer support
464 * Sun Jun
18 2000 Samuel Hocevar
<sam@via.ecp.fr
>
465 Took over the package
467 * Thu Jun
15 2000 Eric Doutreleau
<Eric.Doutreleau@int
-evry.fr
>