|
@@ -0,0 +1,1363 @@
+%define libvlc 5
+%define libvlccore 4
+
+Name: vlc
+Version: 1.1.13
+Release: 5.23
+
+License: GNU General Public License (GPL)
+Summary: VLC - Video Lan Client
+Url: http://www.videolan.org/
+Group: Productivity/Multimedia/Video/Players
+
+Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/%{name}-%{version}.tar.bz2
+
+Patch0: vlc-fix_font_path.patch
+Patch1: vlc-no_return_in_non_void.patch
+Patch2: vlc-buildcompare.patch
+Patch3: vlc-opencv22.patch
+Patch4: vlc-errno_h.patch
+Patch5: vlc-asserts_h.patch
+
+Requires: vlc-noX = %{version}
+Requires: vlc-qt = %{version}
+Recommends: freefont
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+### base ###
+BuildRequires: fdupes
+BuildRequires: fribidi-devel
+BuildRequires: liba52-devel
+BuildRequires: libffmpeg_oldabi-devel
+BuildRequires: libgcrypt-devel
+BuildRequires: libmad-devel
+BuildRequires: libqt4-devel
+BuildRequires: lua-devel
+BuildRequires: update-desktop-files
+
+### default enabled ####
+BuildRequires: flac-devel
+BuildRequires: gnome-vfs2-devel
+BuildRequires: gnutls-devel
+%if 0%{?suse_version} >= 1120
+BuildRequires: libass-devel
+%endif
+BuildRequires: libavahi-devel
+BuildRequires: libcaca-devel
+BuildRequires: libcddb-devel
+BuildRequires: libcdio-devel
+BuildRequires: libdvbpsi-devel
+BuildRequires: libdvdnav-devel
+BuildRequires: libdvdread-devel
+%if 0%{?suse_version} >= 1120
+BuildRequires: libebml-devel
+%endif
+BuildRequires: libfaad-devel
+%if 0%{?suse_version} >= 1140
+BuildRequires: libkate-devel
+BuildRequires: libmatroska-devel
+%endif
+BuildRequires: libmodplug-devel
+BuildRequires: libmpcdec-devel
+BuildRequires: libmpeg2-devel
+BuildRequires: libmtp-devel
+BuildRequires: libprojectM-devel
+%if 0%{?suse_version} >= 1120
+BuildRequires: libproxy-devel
+%endif
+BuildRequires: librsvg-devel
+BuildRequires: schroedinger-devel
+BuildRequires: libshout-devel
+BuildRequires: libsmbclient-devel
+BuildRequires: libtag-devel
+BuildRequires: libtwolame-devel
+BuildRequires: libudev-devel
+BuildRequires: libupnp-devel
+BuildRequires: libv4l-devel
+BuildRequires: sqlite3-devel
+BuildRequires: valgrind-devel
+BuildRequires: zvbi-devel
+BuildRequires: libnotify-devel
+BuildRequires: libxml2-devel
+
+%ifnarch ppc
+%if 0%{?suse_version} >= 1120
+BuildRequires: fluidsynth-devel
+%endif
+%endif
+
+%if 0%{?suse_version} >= 1120
+BuildRequires: libva-devel
+BuildRequires: libvdpau-devel
+%endif
+
+%if 0%{?suse_version} <= 1120
+BuildRequires: goom2k4-devel
+%endif
+
+%if 0%{?suse_version} >= 1140
+BuildRequires: libpulse-devel
+%endif
+
+%if 0%{?suse_version} > 1130
+BuildRequires: pkgconfig(gtk+-2.0)
+%endif
+
+BuildRequires: DirectFB-devel
+BuildRequires: aalib-devel
+BuildRequires: libdca-devel
+BuildRequires: libid3tag-devel
+### --enabled ####
+BuildRequires: ncurses-devel
+%if 0%{?suse_version} >= 1120
+%if 0%{?suse_version} == 1140
+BuildRequires: mozilla-xulrunner20-devel
+%else
+BuildRequires: mozilla-xulrunner192-devel
+%endif
+%endif
+%if 0%{?suse_version} >= 1130
+BuildRequires: opencv-devel
+%endif
+BuildRequires: pcre-devel
+BuildRequires: vcdimager-devel
+BuildRequires: xosd-devel
+
+%if 0%{?suse_version} >= 1120
+BuildRequires: lirc-devel
+%else
+BuildRequires: lirc
+%endif
+
+%description
+VLC media player 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.
+
+%package devel
+Summary: VLC Development system
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+Those development headers are required if you plan on coding against VLC
+
+%package -n libvlc%{libvlc}
+Summary: Shared library libvlc
+Group: System/Libraries
+
+%description -n libvlc%{libvlc}
+Shared library libvlc. To be installed by system dependencies
+
+%package -n libvlccore%{libvlccore}
+Summary: Shared library libvlc
+Group: System/Libraries
+
+%description -n libvlccore%{libvlccore}
+Shared library libvlc. To be installed by system dependencies
+
+%package noX
+Summary: VLC: VideoLAN Client - without X dependencies
+Group: Productivity/Multimedia/Video/Players
+Requires: libvlc%{libvlc} = %{version}
+Requires: libvlccore%{libvlccore} = %{version}
+
+%description noX
+This Package of VLC contains the bare requirements you need to install.
+Here is no graphical User Interface included, thus it's also perfectly
+suitable for server installations (Streaming Server for example)
+
+Should you decide to install the GUI modules, %{name}-noX will stay
+installed as a dependency.
+
+%package qt
+Summary: VLC: VideoLAN Client - Qt interface
+Group: Productivity/Multimedia/Video/Players
+Requires: vlc-noX = %{version}
+Supplements: packageand(%{name}-noX:libqt4)
+
+%description qt
+The all new Qt interface for the VLC VideoLAN Client.
+
+%package gnome
+Summary: VLC: VideoLAN Client - Gnome Access Modules
+Group: Productivity/Multimedia/Video/Players
+Requires: vlc-noX = %{version}
+Supplements: packageand(%{name}-noX:gnome-vfs2)
+
+%description gnome
+In order to integrate flawless into GNOME, there are some access modules
+for gnome-vfs2.
+
+%if 0%{?suse_version} >= 1120
+%package mozillaplugin
+Summary: The mozilaplugin enables VLC inside Mozilla Browser
+Group: Productivity/Multimedia/Video/Players
+Requires: vlc-noX = %{version}
|