Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
vlc
> vlc.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File vlc.spec of Package vlc (Revision 18)
Currently displaying revision
18
,
show latest
# norootforbuild Name: vlc Group: Productivity/Multimedia/Video/Players License: GPL Summary: The VideoLAN client, also a very good standalone video player. Summary(de): Der VideoLAN Client, auch sehr gut als Standalone Player verwendbar. URL: http://www.videolan.org/ Version: 0.8.6d Release: 1.3 Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}.tar.bz2 Patch0: fix_font_path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: xorg-x11-devel xorg-x11-libs wxGTK-devel libcdio-devel libcddb-devel libdvdread-devel libdvdnav-devel libogg-devel flac-devel libvorbis-devel SDL-devel aalib-devel esound-devel arts-devel alsa-devel lirc ncurses-devel xosd-devel id3lib-devel aalib fribidi-devel libcaca-devel libdca-devel hal hal-devel libgcrypt SDL_image-devel libgcrypt-devel libid3tag-devel libtheora-devel libsmbclient-devel gnutls-devel gnome-vfs2-devel slang-devel libjpeg-devel libebml libmatroska libmpcdec mDNSResponder-devel cvs update-desktop-files BuildRequires: libmp4v2-devel libmpeg2 libmpeg2-devel libdvbpsi5 libdvdplay-devel mad-devel libffmpeg0-devel faad2-devel a52dec libx264-devel xvid-devel speex-devel libmodplug libtar BuildRequires: libjack0 libjack-devel Requires: libmms %if %suse_version >= 1010 BuildRequires: libmpcdec-devel %endif %ifarch %ix86 || x86_64 BuildRequires: live %endif %if %suse_version >= 1010 BuildRequires: libnotify-devel avahi-devel %endif %if %suse_version >= 1030 BuildRequires: libebml-devel %endif # sysfs is only available since 10.0 %if %suse_version >= 1000 BuildRequires: sysfsutils %endif # In 10.1 there is no mozilla anymore only gecko-sdk. Also libdv got splited -devel package %if %suse_version <= 1000 BuildRequires: mozilla mozilla-devel libdv %endif %if %suse_version == 1010 BuildRequires: gecko-sdk libdv-devel %endif %if %suse_version >= 1020 BuildRequires: mozilla-xulrunner181-devel libdv-devel %endif %if %suse_version <= 930 BuildRequires: libvcd-devel %else BuildRequires: vcdimager vcdimager-devel %endif Obsoletes: videolan-client %description VideoLAN is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. It can also be used as a server to stream in unicast or multicast in IPv4 or IPv6 on a high-bandwidth network. %description -l de VideoLAN ist ein einfacher portierbarer Multimedia Player für verschiedene Audio- und Videoformate (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...), DVDs, VCDs, und verschiedene Streaming Protokolle. Er kann auch als Server benutzt werden um per Unicast oder Multicast im Netzwerk in IPv4 oder IPv6 zu streamen. %description -l fr VideoLAN est un lecteur multimedia très portable pour différents formats audio et vidéo (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...), DVDs, VCDs, et de divers protocols de diffusion. Il peut également être utilisé en temps que serveur de diffusion en unicast ou multicast via IPv4 ou IPv6 sur des réseaux haut-debit. %package devel Summary: Header files and static library from the Videolan Client Group: Development/Libraries Requires: %{name} = %{version} %description devel Install this package if you need to build Videolan Client plugins or intend to link statically to it. %package mozillaplugin Summary: A plugin for embedded video playing Summary(de): Ein Plugin zum eingebetteten Video abspielen Summary(fr): Un plugin pour la lecture de vidéos embarquées Group: Productivity/Multimedia/Video/Players Requires: %{name} = %{version} %description mozillaplugin A plugin for embedded video playing. %description -l de mozillaplugin Ein Plugin zum eingebetteten Video abspielen. %description -l fr mozillaplugin Un plugin pour la lecture de vidéos embarquées. %debug_package %prep %setup -q %patch0 -p1 %build %suse_update_libdir configure.ac vlc-config.in.in autoreconf -fi %if %suse_version <= 1000 export XPIDL=/opt/mozilla/%{_lib}/xpidl export XPIDL_INCL=-I/opt/mozilla/share/idl/ export PATH=${PATH}:/opt/mozilla/bin %endif %if %suse_version >= 1010 export XPIDL=%{_libdir}/xulrunner-$(xulrunner-config --version)/xpidl export XPIDL_INCL=$(xulrunner-config --idlflags) %endif %if %suse_version >= 1010 export CFLAGS="$RPM_OPT_FLAGS -fstack-protector" export CXXFLAGS="$RPM_OPT_FLAGS -fstack-protector" %endif %configure \ --enable-mkv \ --enable-dvdread --enable-dvdnav \ --enable-v4l --enable-dvb \ --enable-faad --enable-xvid --enable-flac --enable-theora \ --enable-realrtsp \ --enable-aa \ --enable-esd --enable-arts --enable-jack \ --enable-ncurses --enable-xosd \ --enable-lirc \ --enable-pth --enable-skins2 --enable-release \ --enable-mozilla \ %ifarch %ix86 --enable-live555 \ --with-live555-tree=/usr/%{_lib}/live/ \ --enable-loader \ %endif %__make %{?jobs:-j%jobs} %install %makeinstall %find_lang vlc %suse_update_desktop_file %name -r AudioVideo Player Video mkdir -p %{buildroot}/%{_datadir}/pixmaps %{__ln_s} %{_datadir}/vlc/vlc48x48.png %{buildroot}/%{_datadir}/pixmaps/vlc.png %if %suse_version <= 1000 install -d %{buildroot}/opt/mozilla/%{_lib}/components/ install -d %{buildroot}/opt/mozilla/%{_lib}/plugins/ mv %{buildroot}/usr/%{_lib}/mozilla/plugins/libvlcplugin.so %{buildroot}/opt/mozilla/%{_lib}/plugins/ %endif %if %suse_version > 1000 install -d %{buildroot}/usr/%{_lib}/browser-plugins/ mv %{buildroot}/usr/%{_lib}/mozilla/plugins/libvlcplugin.so %{buildroot}/usr/%{_lib}/browser-plugins/ rm -rf %{buildroot}/usr/%{_lib}/mozilla %endif %clean rm -rf %{buildroot} %files -f vlc.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README THANKS %doc doc/fortunes.txt doc/intf-vcd.txt %doc doc/bugreport-howto.txt %exclude %{_datadir}/doc/vlc/* %{_bindir}/*vlc %{_libdir}/vlc %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/vlc.png %{_datadir}/vlc %files devel %defattr(-,root,root) %doc HACKING %{_bindir}/vlc-config %{_includedir}/vlc %{_libdir}/libvlc.a %if %suse_version <= 1000 %files mozillaplugin %defattr(-,root,root) /opt/mozilla/%{_lib}/plugins/libvlcplugin.so %endif %if %suse_version > 1000 %files mozillaplugin %defattr(-, root, root) /usr/%{_lib}/browser-plugins/* %endif %changelog * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build