Commit bc66bf9e authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

ALT Linux VLC specfile

parent b39946ef
%set_verify_elf_method textrel=relaxed
%define trunk 1
%define revision 16525
%ifndef trunk
%undefine test
%endif
%def_disable debug
%def_disable ggi
%def_disable svg
%def_disable quicktime
%def_disable upnp
%def_enable smb
%def_enable dirac
%def_disable java_bindings
%def_disable mediacontrol_python_bindings
%if_enabled debug
%set_strip_method none
%endif
Name: vlc
Version: 0.8.6
%ifndef trunk
%ifndef test
Release: alt1
%else
Release: alt0.test%test
%endif
%else
Release: alt0.%revision
%endif
Summary: VideoLAN is a free multimedia software solution
License: GPL
Group: Video
Url: http://www.videolan.org
Packager: Pavlov Konstantin <thresh@altlinux.ru>
%ifndef trunk
%ifndef test
Source: %url/pub/%name/%version/%name-%version.tar.bz2
%else
Source: %name-%version-test%test.tar
%endif
%else
Source: vlc-trunk-%version-%revision.tar.bz2
%endif
Source1: vlc.desktop
Patch3: vlc-0.8.5-modules-wxwidgets-wxnoupdates.patch
Patch4: vlc-0.8.5-modules-osdmenu.patch
Patch8: vlc-0.8.5-modules-freetype-font.patch
Patch9: vlc-0.8.5-configure-plugins-accel.patch
Patch11: vlc-0.8.6-configure-pic-matroska.patch
Patch12: vlc-0.8.6-configure-pic-dts.patch
Patch14: vlc-trunk-0.8.6-configure-plugins-livemedia.patch
Obsoletes: %name-mad
Provides: %name-interface = %version-%release
%define libdvdcss_ver 1.2.8
%define ffmpeg_ver 0.5.0-alt1.svn5935
%define mpeg2dec_ver 0.4.0
%define libvcd_ver 0.7.23
%define faad_ver 2.0-alt2.20040923
%define faac_ver 1.24
%define ebml_ver 0.7.6
%define matroska_ver 0.8.0
%define cddb_ver 1.2.1-alt1
%define seamonkey_ver 1.0.4-alt4
%define dirac_ver 0.5.4-alt1
#Requires: libffmpeg >= %ffmpeg_ver
#Requires: libdvdcss >= %libdvdcss_ver
#Requires: libmpeg2 >= %mpeg2dec_ver
Requires: lib%name = %version-%release
BuildPreReq: cvs
BuildPreReq: linux-libc-headers
BuildPreReq: libdvdcss-devel >= %libdvdcss_ver
BuildPreReq: libavcodec-devel >= %ffmpeg_ver
BuildPreReq: libpostproc-devel >= %ffmpeg_ver
BuildPreReq: libavformat-devel >= %ffmpeg_ver
BuildPreReq: libmpeg2-devel >= %mpeg2dec_ver
BuildPreReq: libfaad-devel >= %faad_ver
BuildPreReq: libfaac-devel >= %faac_ver
BuildPreReq: libebml-devel >= %ebml_ver
BuildPreReq: libmatroska-devel >= %matroska_ver
BuildPreReq: seamonkey-devel >= %seamonkey_ver
BuildPreReq: libcddb-devel >= %cddb_ver
%if_enabled mediacontrol_python_bindings
BuildPreReq: python-devel >= 2.4
%endif
BuildPreReq: rpm-build-python
BuildPreReq: liblive-devel >= 0.0.0-alt0.2006.05.17
# Automatically added by buildreq on Tue Dec 13 2005
BuildRequires: ORBit2-devel aalib-devel esound-devel freetype2-devel gcc-c++
BuildRequires: glib2-devel gnome-mime-data gnome-vfs2 gnome-vfs2-devel
BuildRequires: libGConf2-devel libSDL-devel libtwolame-devel
BuildRequires: libSDL_image-devel liba52-devel libalsa-devel libarts-devel
BuildRequires: libaudiofile-devel libbonobo2-devel libcaca-devel
BuildRequires: libcdio-devel libdvbpsi-devel libdvdnav-devel
BuildRequires: libdvdread-devel libflac-devel libgcrypt-devel
%{?_enable_ggi:BuildRequires: libggi-devel libgii-devel}
%{?_enable_svg:BuildRequires: librsvg2-devel}
BuildRequires: libgnutls-devel libgpg-error-devel libgtk+2-devel
BuildRequires: libid3tag-devel libjpeg-devel liblirc-devel
BuildRequires: libmad-devel libmodplug-devel libslang-devel libspeex-devel
BuildRequires: libmpcdec-devel libmpeg2-devel libncurses-devel libogg-devel
BuildRequires: libpango-devel libpng-devel libshout2-devel
BuildRequires: libstdc++-devel libsysfs-devel libtheora-devel libtiff-devel
BuildRequires: libtinfo-devel libvcd-devel libvorbis-devel libxml2-devel
BuildRequires: libxosd-devel pkg-config wxGTK2u-devel
BuildRequires: libnspr-devel libnss-devel libgoom-devel
BuildRequires: libhal-devel libx264-devel subversion vim-devel
BuildRequires: jackit-devel liblame-devel xvid-devel zlib-devel
BuildRequires: libdts-devel libavahi-devel libopendaap-devel
BuildRequires: libqt4-devel libnotify-devel libdbus-glib-devel
BuildRequires: fortune-mod >= 1.0-ipl33mdk
%if_enabled java_bindings
BuildRequires: j2se1.5-sun-devel
%endif
%if_enabled upnp
BuildRequires: libupnp-devel
%endif
%if_enabled smb
BuildRequires: libsmbclient-devel
%endif
%if_enabled dirac
BuildPreReq: libdirac-devel = %dirac_ver
%endif
#xorg7 section
BuildRequires: libX11-devel libXv-devel libmesa-devel libXext-devel
%description
VideoLAN is a free network-aware MPEG1, MPEG2, MPEG4 (aka DivX)
and DVD player.
The VideoLAN Client allows to play MPEG2 Transport Streams from the
network or from a file, as well as direct DVD playback.
VideoLAN is a project of students from the Ecole Centrale Paris.
This version add MPEG1 support, direct DVD support, DVD decryption,
arbitrary, seeking in the stream, pause, fast forward and slow motion,
hardware YUV acceleration and a few new interface features including
drag'n'drop... and more more more. :)
If you want a GUI interface for VLC, install one of interface packages,
the best one is wxwidgets interface.
%package interface-http
Summary: HTTP interface plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Provides: %name-interface = %version-%release
Provides: %name-plugin-http = %version-%release
%description interface-http
VideoLAN is a free multimedia software solution.
This package is an http interface for VLC, the VideoLAN Client.
%package interface-lirc
Summary: Lirc inteface plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Provides: %name-interface = %version-%release
Provides: vlc-plugin-lirc = %version-%release
Obsoletes: vlc-plugin-lirc
%description interface-lirc
VideoLAN is a free multimedia software solution.
This package is an infrared lirc interface for VLC, the
VideoLAN Client. To activate it, use the `--intf lirc' flag.
%package interface-ncurses
Summary: ncurses plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Provides: %name-plugin-ncurses = %version-%release
Provides: %name-interface = %version-%release
%description interface-ncurses
VideoLAN is a free multimedia software solution.
This package is an ncurses interface for VLC, the VideoLAN Client.
%package interface-qt4
Summary: QT4 interface plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Provides: %name-plugin-qt4 = %version-%release
Provides: %name-interface = %version-%release
%description interface-qt4
VideoLAN is a free multimedia software solution.
This package is an QT4 interface for VLC, the VideoLAN Client.
%package interface-skins2
Summary: Skins2 plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Provides: %name-interface = %version-%release
Requires: %name-interface-wxwidgets = %version-%release
%description interface-skins2
VideoLAN is a free multimedia software solution.
This package is an skins2 interface for VLC, the VideoLAN Client.
%package interface-telnet
Summary: Telnet interface plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Provides: %name-interface = %version-%release
%description interface-telnet
VideoLAN is a free multimedia software solution.
This package is a telnet interface for VLC, the VideoLAN Client.
%package interface-wxwidgets
Summary: WXWidgets plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Provides: %name-interface = %version-%release
Provides: %name-plugin-wxwidgets = %version-%release
%description interface-wxwidgets
VideoLAN is a free multimedia software solution.
This package is an wxwidgets interface for VLC, the VideoLAN Client.
%package plugin-a52
Summary: a52 input/decoder plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-a52
VideoLAN is a free multimedia software solution.
This package contains A52 decoder plugin for VLC.
%package plugin-aa
Summary: ASCII art video output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-aa
VideoLAN is a free multimedia software solution.
This is an ASCII art video output plugin for VLC, the VideoLAN
Client. To activate it, use the `--vout aa' flag or select the `aa'
vout plugin from the preferences menu.
%package plugin-alsa
Summary: ALSA audio output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-alsa
VideoLAN is a free multimedia software solution.
This package adds support for the Advanced Linux Sound Architecture to
vlc, the VideoLAN Client. To activate it, use the `--aout alsa' flag or
select the `alsa' aout plugin from the preferences menu.
%package plugin-arts
Summary: aRts audio output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-arts
VideoLAN is a free multimedia software solution.
This package adds support for the aRts Sound System to vlc, the
VideoLAN Client. To activate it, use the `--aout arts' flag or
select the `arts' aout plugin from the preferences menu.
%package plugin-audiocd
Summary: AudioCD access plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-audiocd
VideoLAN is a free multimedia software solution.
This package contains AudioCD access plugin for VLC.
%package plugin-caca
Summary: Colored ASCII art video output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-caca
VideoLAN is a free multimedia software solution.
This is an colored ASCII art video output plugin for VLC, the VideoLAN
Client. To activate it, use the `--vout caca' flag or select the `caca'
vout plugin from the preferences menu.
%package plugin-bonjour
Summary: Bonjour (avahi) services discovery plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-bonjour
VideoLAN is a free multimedia software solution.
This package contains Bonjour (avahi) service discovery plugin for VLC.
%package plugin-cmml
Summary: CMML input/codec plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-cmml
VideoLAN is a free multimedia software solution.
This package contains CMML codec plugin for VLC.
%package plugin-daap
Summary: OpenDAAP SDP plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-daap
VideoLAN is a free multimedia software solution.
This package contains OpenDAAP services discovery plugin for VLC.
%if_enabled dirac
%package plugin-dirac
Summary: Dirac codec plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-dirac
VideoLAN is a free multimedia software solution.
This package contains DIRAC codec plugin for VLC.
%endif
%package plugin-dts
Summary: DTS demuxer plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-dts
VideoLAN is a free multimedia software solution.
This package contains DTS demuxer plugin for VLC.
%package plugin-dvb
Summary: DVB plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Requires: %name-plugin-ts = %version-%release
%description plugin-dvb
VideoLAN is a free multimedia software solution.
This package adds capability of demultiplexing a satellite
DVB stream to VLC.
%package plugin-dvdnav
Summary: DVDNAV input plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-dvdnav
VideoLAN is a free multimedia software solution.
This package adds capability of DVDnav (DVD with menu ) input to vlc,
the VideoLAN Client.
%package plugin-dvdread
Summary: DVDRead input (DVD without a menu) plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-dvdread
VideoLAN is a free multimedia software solution.
This package adds capability of DVDread (DVD without a menu) input to vlc,
the VideoLAN Client.
%package plugin-esd
Summary: ESD audio plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-esd
VideoLAN is a free multimedia software solution.
This package adds support for the Enlightened Sound Daemon to vlc, the
VideoLAN Client. To activate it, use the `--aout esd' flag or select
the `esd' aout plugin from the preferences menu.
%package plugin-faad
Summary: FAAD input plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-faad
VideoLAN is a free multimedia software solution.
This package adds support for FAAD codec in VLC.
%package plugin-ffmpeg
Summary: FFMPeg plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-ffmpeg
VideoLAN is a free multimedia software solution.
This package adds support for ffmpeg codecs/encoders/demuxers in VLC.
%package plugin-framebuffer
Summary: Framebuffer output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-framebuffer
VideoLAN is a free multimedia software solution.
This package adds support for framebuffer video output in VLC.
%package plugin-flac
Summary: FLAC codec plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-flac
VideoLAN is a free multimedia software solution.
This package contains FLAC codec plugin for VLC.
%package plugin-freetype
Summary: FreeType OSD plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Requires: fonts-ttf-dejavu
%description plugin-freetype
VideoLAN is a free multimedia software solution.
This package contains freetype subtitles/osd text output plugin to VLC.
%package plugin-galaktos
Summary: Galaktos visualization plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-galaktos
VideoLAN is a free multimedia software solution.
This package contains Galaktos visualization plugin for VLC.
%if_enabled ggi
%package plugin-ggi
Summary: GGI video output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-ggi
VideoLAN is a free multimedia software solution.
This is a GGI plugin for VLC, the VideoLAN Client. To activate it, use
the `--vout ggi' flag or select the `ggi' vout plugin from the preferences
menu.
%endif
%package plugin-glx
Summary: GLX video output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-glx
VideoLAN is a free multimedia software solution.
This is an GLX video output plugin for VLC, the VideoLAN
Client. To activate it, use the `--vout glx' flag or select the `glx'
vout plugin from the preferences menu.
%package plugin-gnomevfs
Summary: Gnome VFS 2 access plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-gnomevfs
VideoLAN is a free multimedia software solution.
This package contains Gnome VFS 2 access plugin for VLC.
%package plugin-gnutls
Summary: GNU TLS plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-gnutls
VideoLAN is a free multimedia software solution.
This package contains GNU TLS plugin for VLC.
%package plugin-goom
Summary: GOOM plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-goom
VideoLAN is a free multimedia software solution.
This package contains GOOM visualization plugin for VLC.
%package plugin-h264
Summary: h264 output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-h264
VideoLAN is a free multimedia software solution.
This package contains h264 codec/demuxer/packetizer plugin for VLC.
%package plugin-hal
Summary: HAL services discovery plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-hal
VideoLAN is a free multimedia software solution.
This package contains HAL service discovery plugin for VLC.
%package plugin-jack
Summary: Jack audio output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-jack
VideoLAN is a free multimedia software solution.
This package contains Jack audio output plugin for VLC.
%package plugin-image
Summary: Image video output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-image
VideoLAN is a free multimedia software solution.
This is a image video output plugin for VLC, the VideoLAN
Client. To activate it, use the `--vout image' flag or select the `image'
vout plugin from the preferences menu.
%package plugin-live555
Summary: LiveMedia (RTSP) demuxing support for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-live555
VideoLAN is a free multimedia software solution.
This package contains LiveMedia (RTSP) demuxer support for VLC.
%ifnarch x86_64
%package plugin-loader
Summary: DLL Loader plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
Provides: %name-plugin-realaudio = %version-%release
Obsoletes: %name-plugin-realaudio
%description plugin-loader
VideoLAN is a free multimedia software solution.
This package contains windows DLL loader plugin to vlc as well
as support for quicktime and realaudio via those DLL.
%endif
%package plugin-mad
Summary: MAD (MP3/ID3) demuxer plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-mad
VideoLAN is a free multimedia software solution.
This package contains MAD (MP3 demux/ID3 tag) plugin for VLC.
%package plugin-matroska
Summary: Matroska Video demuxer plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-matroska
VideoLAN is a free multimedia software solution.
This package contains Matroska Video demuxing plugin for VLC.
%package plugin-mga
Summary: MGA Matrox video output plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-mga
VideoLAN is a free multimedia software solution.
This package contains MGA Matrox output plugin for VLC.
%package plugin-modplug
Summary: modplug demuxer plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-modplug
VideoLAN is a free multimedia software solution.
This package contains modplug demuxing plugin for VLC.
%package plugin-mpeg2
Summary: MPEG1/2 codec plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-mpeg2
VideoLAN is a free multimedia software solution.
This package contains MPEG1/2 decoder plugin for VLC.
%package plugin-musepack
Summary: Musepack demuxer plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-musepack
VideoLAN is a free multimedia software solution.
This package contains musepack demuxer plugin for VLC.
%package plugin-notify
Summary: Notify SDP plugin for the VideoLAN client
Group: Video
Requires: %name = %version-%release
%description plugin-notify
VideoLAN is a free multimedia software solution.
This package contains notify plugin for VLC.
%package plugin-ogg