Commit 55f5b751 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Remove outdated altlinux spec file

parent 270dc6a4
%set_verify_elf_method textrel=relaxed
%define svnrevision 20348
%def_disable debug
%def_disable ggi
%def_disable svg
%def_disable upnp
%def_disable gnomevfs
%def_enable smb
%def_disable dca
%def_disable libid3tag
%def_disable java_bindings
%def_disable mediacontrol_python_bindings
%if_enabled debug
%set_strip_method none
%endif
Name: vlc
Version: 0.9.0
Release: alt0.svn%svnrevision
Summary: VLC Media Player
License: GPL
Group: Video
Url: http://www.videolan.org
Packager: Pavlov Konstantin <thresh@altlinux.ru>
Source: vlc-%version.tar.bz2
Obsoletes: %name-mad
Provides: %name-interface = %version-%release
%define libdvdcss_ver 1.2.8
%define ffmpeg_ver 0.5.0-alt1.svn6729
%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
Requires: lib%name = %version-%release
BuildPreReq: cvs
BuildPreReq: glibc-kernheaders
BuildPreReq: libdvdcss-devel >= %libdvdcss_ver
BuildPreReq: libavcodec-devel >= %ffmpeg_ver
BuildPreReq: libpostproc-devel >= %ffmpeg_ver
BuildPreReq: libavformat-devel >= %ffmpeg_ver
BuildPreReq: libswscale-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.10.18a
BuildRequires: ORBit2-devel aalib-devel esound-devel freetype2-devel gcc-c++
BuildRequires: glib2-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: libjpeg-devel liblirc-devel
BuildRequires: libmad-devel libmodplug-devel libslang-devel libspeex-devel
BuildRequires: libmpcdec-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 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: libavahi-devel
BuildRequires: libnotify-devel libdbus-glib-devel
BuildRequires: fortune-mod >= 1.0-ipl33mdk
BuildRequires: libraw1394-devel libdc1394-devel libavc1394-devel
BuildRequires: browser-plugins-npapi-devel
%if_enabled libid3tag
BuildRequires: libid3tag-devel
%endif
%if_enabled dca
BuildRequires: libdca-devel
%endif
%if_enabled gnomevfs
BuildRequires: gnome-vfs2-devel gnome-vfs2 gnome-mime-data libGConf2-devel
%endif
%if_enabled java_bindings
BuildRequires: j2se1.5-sun-devel
%endif
%if_enabled upnp
BuildRequires: libupnp-devel
%endif
%if_enabled smb
BuildRequires: libsmbclient-devel
%endif
BuildRequires: libX11-devel libXv-devel libmesa-devel libXext-devel
BuildRequires: libXt-devel
BuildRequires: libqt4-devel liblua5-devel
%description
VLC Media Player is a free network-aware MPEG1, MPEG2, MPEG4 (aka DivX),
DVD and many-many-more-player-and-streamer.
The VLC Media Player allows to play MPEG2 Transport Streams from the
network or from a file, as well as direct DVD playback.
This version includes 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 VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-interface = %version-%release
Provides: %name-plugin-http = %version-%release
%description interface-http
This package is an http interface for VLC Media Player.
%package interface-lirc
Summary: Lirc inteface plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-interface = %version-%release
Provides: vlc-plugin-lirc = %version-%release
Obsoletes: vlc-plugin-lirc
%description interface-lirc
This package is an infrared lirc interface for
VLC Media Player. To activate it, use the `--intf lirc' flag.
%package interface-ncurses
Summary: ncurses plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-plugin-ncurses = %version-%release
Provides: %name-interface = %version-%release
%description interface-ncurses
This package is an ncurses interface for VLC Media Player.
%package interface-skins2
Summary: Skins2 plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-interface = %version-%release
Requires: %name-interface-wxwidgets = %version-%release
%description interface-skins2
This package is an skins2 interface for VLC Media Player.
%package interface-telnet
Summary: Telnet interface plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-interface = %version-%release
%description interface-telnet
This package is a telnet interface for VLC Media Player.
%package interface-wxwidgets
Summary: WXWidgets plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-interface = %version-%release
Provides: %name-plugin-wxwidgets = %version-%release
%description interface-wxwidgets
This package is an wxwidgets interface for VLC Media Player.
%package interface-qt4
Summary: QT4 interface plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-interface = %version-%release
Provides: %name-plugin-qt4 = %version-%release
%description interface-qt4
This package is an qt4 interface for VLC Media Player.
%package plugin-a52
Summary: a52 input/decoder plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-a52
This package contains A52 decoder plugin for VLC Media Player.
%package plugin-aa
Summary: ASCII art video output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-aa
This is an ASCII art video output plugin for VLC Media Player.
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 VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-alsa
This package adds support for Advanced Linux Sound Architecture to
VLC Media Player. 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 VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-arts
This package adds support for aRts Sound System to VLC Media Player.
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 VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-audiocd
This package contains AudioCD access plugin for VLC Media Player.
%package plugin-caca
Summary: Colored ASCII art video output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-caca
This is an colored ASCII art video output plugin for VLC Media Player.
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 VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-bonjour
This package contains Bonjour (avahi) service discovery plugin for VLC Media Player.
%package plugin-cmml
Summary: CMML input/codec plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-cmml
This package contains CMML codec plugin for VLC Media Player.
%package plugin-dv
Summary: DC1394/DV (firewire) plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-dv
This package contains DC1394/DV (firewire) access plugin for VLC Media Player.
%if_enabled dca
%package plugin-dca
Summary: DTS demuxer plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: vlc-plugin-dts = %version-%release
Obsoletes: vlc-plugin-dts < %version-%release
%description plugin-dca
This package contains DTS demuxer plugin for VLC Media Player.
%endif
%package plugin-dvb
Summary: DVB plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Requires: %name-plugin-ts = %version-%release
%description plugin-dvb
This package adds capability of demultiplexing a satellite DVB stream to VLC Media Player.
%package plugin-dvdnav
Summary: DVDNav input plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-dvdnav
This package adds capability of DVDNav (DVD w/ menu) input to VLC Media Player.
%package plugin-dvdread
Summary: DVDRead input (DVD without a menu) plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-dvdread
This package adds support of DVDRead (DVD w/o menu) input to VLC Media Player.
%package plugin-esd
Summary: ESD audio plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-esd
This package adds support for Enlightened Sound Daemon to VLC Media Player.
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 VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-faad
This package adds support for FAAD codec in VLC Media Player.
%package plugin-ffmpeg
Summary: FFMPeg plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Requires: libavcodec >= 0.5.0-alt1.svn8045
%description plugin-ffmpeg
This package adds support for ffmpeg decoders, encoders and demuxers
in VLC Media Player.
%package plugin-framebuffer
Summary: Framebuffer output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-framebuffer
This package adds support for framebuffer video output in VLC Media Player.
%package plugin-flac
Summary: FLAC codec plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-flac
This package contains FLAC codec plugin for VLC Media Player.
%package plugin-freetype
Summary: FreeType OSD plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Requires: fonts-ttf-dejavu
%description plugin-freetype
This package contains freetype subtitles and OSD text output plugin
to VLC Media Player.
%if_enabled ggi
%package plugin-ggi
Summary: GGI video output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-ggi
This is a GGI plugin for VLC Media Player. 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 VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-glx
This is an GLX video output plugin for VLC Media Player.
To activate it, use the `--vout glx' flag or select the `glx'
vout plugin from the preferences menu.
%if_enabled gnomevfs
%package plugin-gnomevfs
Summary: Gnome VFS 2 access plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-gnomevfs
This package contains Gnome VFS 2 access plugin for VLC Media Player.
%endif
%package plugin-gnutls
Summary: GNU TLS plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-gnutls
This package contains GNU TLS plugin for VLC Media Player.
%package plugin-goom
Summary: GOOM plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-goom
This package contains GOOM visualization plugin for VLC Media Player.
%package plugin-h264
Summary: h264 output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-h264
This package contains h264 coder/packetizer plugin for VLC Media Player.
%package plugin-hal
Summary: HAL services discovery plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-hal
This package contains HAL service discovery plugin for VLC Media Player.
%package plugin-jack
Summary: Jack audio output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-jack
This package contains Jack audio output plugin for VLC Media Player.
%package plugin-image
Summary: Image video output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-image
This is a image video output plugin for VLC Media Player.
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 VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-live555
This package contains LiveMedia (RTSP) demuxer support for VLC Media Player.
%ifnarch x86_64
%package plugin-loader
Summary: DLL Loader plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
Provides: %name-plugin-realaudio = %version-%release
Obsoletes: %name-plugin-realaudio
%description plugin-loader
This package contains windows DLL loader plugin to VLC Media Player as well
as support for realaudio via those DLL.
%endif
%package plugin-mad
Summary: MAD (MP3/ID3) demuxer plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-mad
This package contains MAD (MP3 demux/ID3 tag) plugin for VLC Media Player.
%package plugin-matroska
Summary: Matroska Video demuxer plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-matroska
This package contains Matroska Video demuxing plugin for VLC Media Player.
%package plugin-mga
Summary: MGA Matrox video output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-mga
This package contains MGA Matrox output plugin for VLC Media Player.
%package plugin-modplug
Summary: modplug demuxer plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-modplug
This package contains modplug demuxing plugin for VLC Media Player.
%package plugin-mpeg2
Summary: MPEG1/2 codec plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-mpeg2
This package contains MPEG1/2 decoder plugin for VLC Media Player.
%package plugin-musepack
Summary: Musepack demuxer plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-musepack
This package contains musepack demuxer plugin for VLC Media Player.
%package plugin-notify
Summary: Notify SDP plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-notify
This package contains notify plugin for VLC Media Player.
%package plugin-ogg
Summary: OGG codec plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-ogg
This package contains OGG codec and Vorbis muxer/demuxer
plugin for VLC Media Player.
%package plugin-opengl
Summary: OpenGL video output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-opengl
This is an OpenGL video output plugin for VLC Media Player.
To activate it, use the `--vout opengl' flag or select the `opengl'
vout plugin from the preferences menu.
%package plugin-osd
Summary: OSD plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-osd
This package adds support for OSD visualization for VLC Media Player.
%package plugin-oss
Summary: OSS audio output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-oss
This package adds support for OSS to VLC Media Player.
To activate it, use the `--aout oss' flag or select the `oss'
aout plugin from the preferences menu.
%package plugin-png
Summary: PNG plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-png
This package contains PNG codec plugin for VLC Media Player.
%package plugin-podcast
Summary: Podcast SDP plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-podcast
This package contains podcast discovery plugin for VLC Media Player.
%package plugin-realrtsp
Summary: REAL RTSP access plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-realrtsp
This package contains REAL RTSP access plugin for VLC Media Player.
%package plugin-screen
Summary: Screen capture plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-screen
This package contains screen capture plugin for VLC Media Player.
%package plugin-sdl
Summary: Simple DirectMedia Layer video output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-sdl
This package adds support for Simple DirectMedia Layer library to
VLC Media Player. To activate it, use the `--vout sdl' or
`--aout sdl' flags or select the `sdl' vout or aout plugin from the
preferences menu.
%package plugin-sdlimage
Summary: SDL Image codec plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-sdlimage
This package contains SDL Image codec plugin for VLC Media Player.
%package plugin-shout
Summary: SHOUT access output plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-shout
This package adds support for SHOUT output access/services
discovery to VLC Media Player.
%if_enabled smb
%package plugin-smb
Summary: SMB access plugin for VLC Media Player
Group: Video
Requires: lib%name = %version-%release
%description plugin-smb
This package contains SMB access plugin to VLC Media Player.
%endif
%package plugin-snapshot
</