1 Summary: vlc - Video Lan Client
5 Source: %{name}-%{version}.tar.bz2
6 Packager: Dominique Leuenberger <dominique-rpm@leuenberger.net>
8 Group: Productivity/Multimedia/Video/Players
9 BuildRoot: %{_tmppath}/%{name}-%{version}-build
10 BuildRequires: libdvdnav-devel gettext-devel libvorbis-devel libogg-devel libtheora-devel
11 BuildRequires: cvs gnome-vfs2-devel libcdio-devel libdvdread-devel libcddb-devel gnutls-devel alsa-devel
12 BuildRequires: xosd-devel aalib-devel gcc-c++ vcdimager-devel xvidcore-devel freetype2-devel slang-devel
13 BuildRequires: libqt4-devel
14 BuildRequires: x264-devel ffmpeg-devel libmad-devel libmpeg2-devel faad2-devel faac-devel libdca-devel a52dec-devel libdvbpsi-devel live555
15 %if %suse_version >= 1010
16 BuildRequires: avahi-devel libnotify-devel
22 %if %suse_version >= 1010
23 BuildRequires: Mesa-devel
25 BuildRequires: xorg-x11-Mesa xorg-x11-Mesa-devel
28 # The requirements for the Mozilla-Plugin (--enable-mozilla)
29 # unfortunately, the mozilla-devel get's changed and renamed all the time. So
30 # this gave a complete if endif structure.
31 # for the releases 10.2 and 10.3, xulrunner provides gecko-sdk
32 %if %suse_version <= 1000
33 BuildRequires: mozilla-devel
35 %if %suse_version >= 1010
36 BuildRequires: gecko-sdk
39 Requires: x264 faac faad2 libmad ffmpeg a52dec libdca xvidcore libdvdcss
41 %package mozillaplugin
42 Summary: enables VLC inside Mozilla Browser
43 Group: Productivity/Multimedia/Video/Players
44 Requires: %{name} = %{version}
46 %description mozillaplugin
47 With this plugin, you enable video content withing the Mozilla Browser Suites
50 VLC media player is a highly portable multimedia player for various
51 audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...)
52 as well as DVDs, VCDs, and various streaming protocols.
53 It can also be used as a server to stream in unicast or multicast
54 in IPv4 or IPv6 on a high-bandwidth network.
62 %if %suse_version <= 1000
63 export XPIDL=/opt/mozilla/%{_lib}/xpidl
64 export PATH=${PATH}:/opt/mozilla/bin
65 export XPIDL_INCL=$( mozilla-config --idlflags )
69 #paths for xpidl on SUSE 10.1 and later
70 %if %suse_version >= 1010
71 export XPIDL=%{_libdir}/xulrunner-$(xulrunner-config --version)/xpidl
72 export XPIDL_INCL=$(xulrunner-config --idlflags)
124 --disable-coreaudio \
144 --disable-testsuite \
145 --enable-optimizations \
159 --with-live555-tree=%{_libdir}/live \
162 # --with-ffmpeg-mp3lame \
163 # --enable-quicktime\
169 make %{?jobs:-j %jobs}
173 make DESTDIR=%{buildroot} install
174 mkdir -p %{buildroot}/%{_datadir}/pixmaps
175 ln -s %{_datadir}/vlc/vlc48x48.png %{buildroot}/%{_datadir}/pixmaps/vlc.png
176 %if %suse_version <= 1000
177 export PATH=${PATH}:/opt/mozilla/bin
178 mkdir -p %{buildroot}/opt/mozilla/%{_lib}/plugins
179 mv %{buildroot}%{_libdir}/mozilla/plugins/libvlc* %{buildroot}/opt/mozilla/%{_lib}/plugins
181 mkdir -p %{buildroot}/%{_libdir}/browser-plugins
182 mv %{buildroot}%{_libdir}/mozilla/plugins/libvlc* %{buildroot}/%{_libdir}/browser-plugins
186 rm -rf "$RPM_BUILD_ROOT"
190 %defattr(-,root,root)
191 %doc %{_datadir}/doc/vlc/
192 %doc NEWS AUTHORS COPYING HACKING THANKS MAINTAINERS README ChangeLog
195 %{_bindir}/vlc-config
199 %{_datadir}/applications/vlc.desktop
200 %{_datadir}/pixmaps/vlc.png
202 %{_libdir}/libvlc-control.so.0
203 %{_libdir}/libvlc-control.so.0.0.0
204 %{_libdir}/libvlc.so.1
205 %{_libdir}/libvlc.so.1.0.0
206 %{_libdir}/browser-plugins/libvlcplugin.la
207 %{_libdir}/libvlc-control.la
208 %{_libdir}/libvlc-control.so
214 %if %suse_version <= 1000
215 /opt/mozilla/%{_lib}/plugins/libvlc*
217 /usr/%{_lib}/browser-plugins/libvlcplugin.so
221 * Sat May 19 2007 - Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
222 - Updated to SVN Version 20199
223 * Fri Apr 13 2007 - Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
224 - Added support for Theora Video Files
225 * Mon Apr 02 2007 - Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
226 - initial build of 0.9, named as beta
227 - disable wxGTK interface
228 - enable Qt4 interface
229 * Thu Jan 18 2007 - Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
230 - added live555 support
231 - added --enable-real and --enable-realrtsp to the configure script
232 * Thu Jan 4 2007 - Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
233 - added --enable-dvbpsi to support streaming video
234 * Wed Jan 3 2007 - Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
235 - Upgrade to Version 0.8.6a
236 - security fix for cdda & vcdx, VideoLAN-SA0701
237 * Sun Dec 10 2006 - Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
238 - upgraded to public release version 0.8.6
239 * Sun Dec 3 2006 - Dominique Leuenberger <dominique-rpm@leuenberger.net>
240 - Fixed group memberships for Yast tools
241 - First public released package
242 * Fri Oct 20 2006 - Dominique Leuenberger <dominique-rpm@leuenberger.net>
243 - Initial internal release of v0.8.6