Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > fa34babe78cfb34315cd7816d33ba8c7 > files > 7

vlc-1.0.6-2mdv2010.1.src.rpm

%define name 		vlc
# (cg) NB WHEN UPDATING to 1.1 have a look in the "phonon" branch
#      here in svn as 99% of the work is already done!!!
%define version 1.0.6
%define cvs		0
%define pre		0
%define rel 2
%if %pre
%define release		%mkrel -c %pre 1
%else
%define release %mkrel %rel
%endif

%define ffsvn		7407

%define	libmajor	2
%define coremajor	0
%if %cvs
%define fname %name-snapshot-%cvs
%else
%if %pre
%define fname %name-%version-%pre
%else
%define fname %name-%version
%endif
%endif

%define with_plf 0

%define with_mozilla 0
%define with_xulrunner 1
%define with_fribidi 1
%define with_xml 1
%define with_ncurses 1
%define with_lirc 1
%define	with_qt4 1
%define	with_svlc 1
%define with_hal 0
%define with_udev 1
%define with_aa 1
%define with_sdl 1
%define with_ggi 1
%define with_svgalib 1
%define with_fb 1
%define with_xosd 1
%define with_xvideo 1
%define with_twolame 1
%define with_schroedinger 1
%define with_fluidsynth 1
%define with_zvbi 1
%define with_kate 1
%define with_lua 1

%ifarch %{ix86}
%define with_loader 1
%else
%define with_loader 0
%endif

%define with_mad 1
%define with_ogg 1
%define with_theora 1
%define with_speex 1
%define with_flac 1
%define with_mkv 1
%define with_a52 1
%define with_vcd 1
%define with_cddax 1
%define with_cddb 1
%define with_dv 1
%define with_dvdnav 1
%define with_dvb 1
%define with_dvbpsi 1
%define with_satellite 0
%define	with_mpeg2dec 1
%define	with_mpc 1
%define	with_faad 0
%define	with_faac 0
%define	with_lame 0
%define	with_dts 0
%define	with_x264 0
%define with_live 1
%define with_libv4l 1
%define with_sysfs 1
%define with_shout 1

%define with_pulse 1
%define with_jack 1
%define with_alsa 1

%define with_bonjour 1
%define with_upnp 1
%define with_smb 1
%define with_tar 1
%define with_mod 1
%define with_gnutls 1

%define libname		%mklibname %name %libmajor
%define libnamecore	%mklibname vlccore %coremajor
%define develname %mklibname -d %name

# without
%{?_without_plf:	%{expand: %%global with_plf 0}}
%{?_without_mozilla:	%{expand: %%global with_mozilla 0}}
%{?_without_xulrunner:	%{expand: %%global with_xulrunner 0}}
%{?_without_fribidi:	%{expand: %%global with_fribidi 0}}
%{?_without_hal:	%{expand: %%global with_hal 0}}
%{?_without_udev:	%{expand: %%global with_udev 0}}
%{?_without_ncurses:	%{expand: %%global with_ncurses 0}}
%{?_without_lirc:	%{expand: %%global with_lirc 0}}
%{?_without_qt4:	%{expand: %%global with_qt4 0}}
%{?_without_svlc:	%{expand: %%global with_svlc 0}}

%{?_without_aa:   	%{expand: %%global with_aa 0}}
%{?_without_sdl:   	%{expand: %%global with_sdl 0}}
%{?_without_ggi:   	%{expand: %%global with_ggi 0}}
%{?_without_svgalib:	%{expand: %%global with_svgalib 0}}
%{?_without_fb:		%{expand: %%global with_fb 0}}
%{?_without_xosd:	%{expand: %%global with_xosd 0}}
%{?_without_xvideo:	%{expand: %%global with_xvideo 0}}
%{?_without_twolame:	%{expand: %%global with_twolame 0}}
%{?_without_schroedinger: %{expand: %%global with_schroedinger 0}}
%{?_without_fluidsynth:	%{expand: %%global with_fluidsynth 0}}
%{?_without_lua:	%{expand: %%global with_lua 0}}
%{?_without_zvbi:	%{expand: %%global with_zvbi 0}}
%{?_without_kate:	%{expand: %%global with_kate 0}}

%{?_without_mad:	%{expand: %%global with_mad 0}}
%{?_without_ogg:	%{expand: %%global with_ogg 0}}
%{?_without_theora:	%{expand: %%global with_theora 0}}
%{?_without_speex:	%{expand: %%global with_speex 0}}
%{?_without_flac:	%{expand: %%global with_flac 0}}
%{?_without_mkv:	%{expand: %%global with_mkv 0}}
%{?_without_mpeg2dec:	%{expand: %%global with_mpeg2dec 0}}
%{?_without_mpc:	%{expand: %%global with_mpc 0}}
%{?_without_faad:	%{expand: %%global with_faad 0}}
%{?_without_faac:	%{expand: %%global with_faac 0}}
%{?_without_x264:	%{expand: %%global with_x264 0}}
%{?_without_lame:	%{expand: %%global with_lame 0}}
%{?_without_dts:	%{expand: %%global with_dts 0}}
%{?_without_live:	%{expand: %%global with_live 0}}
%{?_without_a52:	%{expand: %%global with_a52 0}}
%{?_without_dv:		%{expand: %%global with_dv 0}}
%{?_without_dvdnav:	%{expand: %%global with_dvdnav 0}}
%{?_without_dvb:	%{expand: %%global with_dvb 0}}
%{?_without_dvbpsi:	%{expand: %%global with_dvbpsi 0}}
%{?_without_libv4l:	%{expand: %%global with_libv4l 0}}
%{?_without_sysfs:	%{expand: %%global with_sysfs 0}}
%{?_without_satellite:	%{expand: %%global with_satellite 0}}
%{?_without_vcd:	%{expand: %%global with_vcd 0}}
%{?_without_cddax:	%{expand: %%global with_cddax 0}}
%{?_without_cddb:	%{expand: %%global with_cddb 0}}
%{?_without_shout:	%{expand: %%global with_shout 0}}


%{?_without_pulse:	%{expand: %%global with_pulse 0}}
%{?_without_jack:	%{expand: %%global with_jack 0}}
%{?_without_alsa:	%{expand: %%global with_alsa 0}}

%{?_without_bonjour:	%{expand: %%global with_bonjour 0}}
%{?_without_upnp:	%{expand: %%global with_upnp 0}}
%{?_without_tar:	%{expand: %%global with_tar 0}}
%{?_without_mod:	%{expand: %%global with_mod 0}}
%{?_without_gnutls:	%{expand: %%global with_gnutls 0}}

# with
%{?_with_plf:    	%{expand: %%global with_plf 1}}
%{?_with_mozilla:    	%{expand: %%global with_mozilla 1}}
%{?_with_xulrunner:    	%{expand: %%global with_xulrunner 1}}
%{?_with_fribidi:    	%{expand: %%global with_fribidi 1}}
%{?_with_hal:		%{expand: %%global with_hal 1}}
%{?_with_udev:		%{expand: %%global with_udev 1}}
%{?_with_ncurses:    	%{expand: %%global with_ncurses 1}}
%{?_with_lirc:       	%{expand: %%global with_lirc 1}}
%{?_with_qt4:		%{expand: %%global with_qt4 1}}
%{?_with_svlc:		%{expand: %%global with_svlc 1}}

%{?_with_aa:         	%{expand: %%global with_aa 1}}
%{?_with_sdl:        	%{expand: %%global with_sdl 1}}
%{?_with_ggi:        	%{expand: %%global with_ggi 1}}
%{?_with_svgalib:    	%{expand: %%global with_svgalib 1}}
%{?_with_fb:        	%{expand: %%global with_fb 1}}
%{?_with_xosd:       	%{expand: %%global with_xosd 1}}
%{?_with_xvideo:       	%{expand: %%global with_xvideo 1}}
%{?_with_twolame:      	%{expand: %%global with_twolame 1}}
%{?_with_schroedinger: 	%{expand: %%global with_schroedinger 1}}
%{?_with_fluidsynth:      	%{expand: %%global with_fluidsynth 1}}
%{?_with_lua:      	%{expand: %%global with_lua 1}}
%{?_with_zvbi:      	%{expand: %%global with_zvbi 1}}
%{?_with_kate:      	%{expand: %%global with_kate 1}}

%{?_with_mad:		%{expand: %%global with_mad 1}}
%{?_with_ogg:        	%{expand: %%global with_ogg 1}}
%{?_with_theora:       	%{expand: %%global with_theora 1}}
%{?_with_speex:        	%{expand: %%global with_speex 1}}
%{?_with_flac:        	%{expand: %%global with_flac 1}}
%{?_with_mkv:        	%{expand: %%global with_mkv 1}}
%{?_with_mpeg2dec:     	%{expand: %%global with_mpeg2dec 1}}
%{?_with_mpc:      	%{expand: %%global with_mpc 1}}
%{?_with_faad:      	%{expand: %%global with_faad 1}}
%{?_with_faac:      	%{expand: %%global with_faac 1}}
%{?_with_x264:      	%{expand: %%global with_x264 1}}
%{?_with_lame:      	%{expand: %%global with_lame 1}}
%{?_with_dts:      	%{expand: %%global with_dts 1}}
%{?_with_live:      	%{expand: %%global with_live 1}}
%{?_with_a52:        	%{expand: %%global with_a52 1}}
%{?_with_dv:         	%{expand: %%global with_dv 1}}
%{?_with_dvdnav:       	%{expand: %%global with_dvdnav 1}}
%{?_with_dvb:        	%{expand: %%global with_dvb 1}}
%{?_with_dvbpsi:       	%{expand: %%global with_dvbpsi 1}}
%{?_with_libv4l:       	%{expand: %%global with_libv4l 1}}
%{?_with_sysfs:       	%{expand: %%global with_sysfs 1}}
%{?_with_satellite:    	%{expand: %%global with_satellite 1}}
%{?_with_vcd:		%{expand: %%global with_vcd 1}}
%{?_with_cddax:		%{expand: %%global with_cddax 1}}
%{?_with_cddb:		%{expand: %%global with_cddb 1}}
%{?_with_shout:		%{expand: %%global with_shout 1}}

%{?_with_pulse:       	%{expand: %%global with_pulse 1}}
%{?_with_jack:        	%{expand: %%global with_jack 1}}
%{?_with_alsa:       	%{expand: %%global with_alsa 1}}

%{?_with_bonjour:	%{expand: %%global with_bonjour 1}}
%{?_with_upnp:		%{expand: %%global with_upnp 1}}
%{?_with_tar:		%{expand: %%global with_tar 1}}
%{?_with_mod:		%{expand: %%global with_mod 1}}
%{?_with_gnutls:		%{expand: %%global with_gnutls 1}}

%if %mdvver < 201000
%define with_schroedinger 0
%define with_udev 0
%define with_hal 1
%endif

%if %mdvver < 200900
%define with_xulrunner 0
%define with_mozilla 1
%define with_libv4l 0
%endif

%if %with_plf
%define distsuffix plf
%global with_faac 1
%global with_faad 1
%global with_lame 1
%global with_dts 1
%global with_x264 1
%endif

%define git_url git://git.videolan.org/vlc.git

Summary:	MPEG, MPEG2, DVD and DivX player
Name:		%{name}
Version:	%{version}
Release:	%{release}
%if %cvs
Source0:	http://nightlies.videolan.org/build/source/%fname.tar.bz2
%else
Source0:	http://download.videolan.org/pub/videolan/%name/%{version}/%{fname}.tar.bz2
%endif
# (cg) 0.8.6e-2mdv Fix buffering in alsa where people use it over pulseaudio
Patch14: vlc-0.8.6e-alsa-buffer.patch
Patch15: vlc-1.0.6-oldpulse.patch
#gw patches from Debian:
#use absolute paths for OSD menu config
Patch16: 200_osdmenu_paths.diff
# Avoid non-PIC code in asm mmx chroma converter module by letting gcc manage
# the addressing.                                                              # Patch from upstream trac ticket #1383.
Patch17: 401_i420_mmx_pic.diff
Patch18: vlc-1.0.4-new-xulrunner.patch
License:	GPLv2+
Group:		Video
URL:		http://www.videolan.org/
# vlc-mad needed by ffmpeg builtin (i want MPEG4 support out of box)
Suggests:	vlc-plugin-mad
# DVD working out of box.
Suggests:	vlc-plugin-a52
# might be useful too:
Suggests:	vlc-plugin-ogg
Suggests:	vlc-plugin-theora
%if %with_pulse
# needed when using pulseaudio
Suggests:	vlc-plugin-pulse
%endif
Provides:	vlc-plugin-dvb vlc-plugin-mad vlc-plugin-alsa
Obsoletes:	vlc-plugin-dvb vlc-plugin-mad vlc-plugin-alsa
Requires:	fonts-ttf-vera

BuildRoot:	%_tmppath/%name-%version-%release-root
%if %with_sysfs
BuildRequires:  libsysfs-devel
%endif
%if %with_tar
BuildRequires:  libtar-devel
%endif
%if %with_mod
BuildRequires:  libmodplug-devel >= 1:0.7
%endif
%if %with_gnutls
BuildRequires:  libgnutls-devel >= 1.0.17
%endif
BuildRequires:  freetype2-devel
%if %with_fribidi
BuildRequires:  libfribidi-devel
%endif
%if %with_mozilla
Buildrequires:	mozilla-firefox-devel >= 1.0
%endif
%if %with_xulrunner
BuildRequires: xulrunner-devel
%endif
%if %with_libv4l
%if %mdvver >= 201010
BuildRequires: v4l-utils-devel
%else
BuildRequires: libv4l-devel
%endif
%endif
%if %with_udev
BuildRequires: udev-devel >= 142
%endif
Provides: gvlc
Obsoletes: gvlc
Provides: gnome-vlc
Obsoletes: gnome-vlc
Provides: kvlc
Obsoletes: kvlc
%if %with_qt4
Buildrequires:	qt4-devel
%endif
BuildRequires: libmesaglu-devel
BuildRequires: taglib-devel
BuildRequires: libmtp-devel
%if %with_mad
BuildRequires:  libid3tag-devel
BuildRequires:  libmad-devel
%endif
%if %with_ogg
Buildrequires:	libvorbis-devel
Buildrequires:	libogg-devel
%endif
BuildRequires: xpm-devel
BuildRequires: libxcb-util-devel
BuildRequires: libproxy-devel
%if %with_speex
Buildrequires:	libspeex-devel >= 1.1.6
%endif
%if %with_flac
Buildrequires:	libflac-devel
%endif
%if %with_mkv
Buildrequires:	libmatroska-devel >= 0.8.0
%endif
%if %with_dvdnav
Buildrequires:	libdvdnav-devel >= 0.1.9
%endif
%if %with_a52
Buildrequires:	liba52dec-devel
%endif
%if %with_vcd
BuildRequires: libvcd-devel >= 0.7.21
%endif
%if %with_cddax
BuildRequires: libcdio-devel >= 0.72
%if %with_cddb
BuildRequires: libcddb-devel >= 0.9.5
%else
BuildConflicts: libcddb-devel
%endif
%endif
%if %with_smb
BuildRequires: libsmbclient-devel >= 3.0.10
%endif
Buildrequires:	libffmpeg-devel
%if %with_lame
BuildRequires:  liblame-devel
%endif

%if %with_mpeg2dec
Buildrequires:	libmpeg2dec-devel >= 0.4.0
%endif
%if %with_mpc
BuildRequires: libmpcdec-devel
%endif
%if %with_faad
BuildRequires: libfaad2-devel >= 2.0
Provides: vlc-plugin-faad
Obsoletes: vlc-plugin-faad
%endif
%if %with_faac
BuildRequires: libfaac-devel
%endif
%if %with_alsa
Buildrequires:	libalsa-devel
%endif
%if %with_pulse
Buildrequires:	pulseaudio-devel >= 0.9.10
%endif
%if %with_jack
Buildrequires:	libjack-devel
BuildRequires:	libsamplerate-devel
%endif
Provides: vlc-plugin-slp
Obsoletes: vlc-plugin-slp

%if %with_bonjour
BuildRequires: avahi-client-devel
%endif

%if %with_dvbpsi
BuildRequires: libdvbpsi-devel
%endif
BuildRequires: autoconf2.5
BuildRequires: gettext-devel
BuildRequires: automake >= 1.10
BuildRequires: libtool
BuildRequires: cvs
%if %with_dts
BuildRequires:  libdca-devel
%endif
%if %with_x264
BuildRequires:  x264-devel > 0.65.2245
%endif
%if %with_xml
BuildRequires: libxml2-devel >= 2.6
%endif
%if %with_live
BuildRequires: live-devel > 2007.12.27
%endif
%if %with_hal
Buildrequires:	hal-devel >= 0.2.97
%endif
%if %with_xvideo
BuildRequires:	libxv-devel
%endif
BuildRequires: libnotify-devel
BuildRequires: desktop-file-utils
Provides: wxvlc
Obsoletes: wxvlc
BuildRequires:  libdvdread-devel
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils

%description
VideoLAN is an OpenSource streaming solution for every OS developed by
students from the Ecole Centrale Paris and developers from all over the
World.
VLC (VideoLAN Client) is a media player that can play MPEG1, MPEG2 and
MPEG4 (aka DivX) files, DVDs, VCDs, SVCDs, from a satellite card, from
a stream sent by VLS (VideoLAN Server), from another VLC, or from a Web
server.
This package contains no CSS unscrambling functionality for DVDs ;
you need the libdvdcss library available from 
http://www.videolan.org/libdvdcss/

%if %with_plf
This package is in PLF as it is violating software patents.
%endif

#general packages
%package -n %libname
Summary: Shared code for the VLC media player
Group: System/Libraries

%description -n %libname
Shared code for the VLC media player
This package contains code that is shared by different modules of the 
VLC media player.


%package -n %develname
Summary: Development files for the VLC media player
Group: Development/C
Requires: %libname = %version
Provides: %name-devel = %version-%release
Provides: lib%name-devel = %version-%release
Obsoletes: %mklibname -d %name 0

%description -n %develname
Development files for the VLC media player
This package contains headers and a static library required to build plugins
for the VLC media player, or standalone applications using features from VLC.

%package -n mozilla-plugin-vlc
Summary: Multimedia plugin for Mozilla, based on vlc
group: Video
Requires: %name = %version
%if %with_mozilla
%define ff_ver %(rpm -q --queryformat %{VERSION} mozilla-firefox)
%endif
%description -n mozilla-plugin-vlc
This plugin adds support for MPEG, MPEG2, DVD and DivX to your Mozilla
browser. The decoding process is done by vlc and the output window is
embedded in a webpage or directly in the browser window. There is also
support for fullscreen display.
%if %with_plf
This PLF build has additional support for MP3 encoding with lame,
which is covered by software patents.
%endif

%if %with_zvbi
%package plugin-zvbi
Summary: Add Teletext and Closed Caption support to VLC
Group: Video
Requires: %name = %version
BuildRequires: zvbi-devel

%description plugin-zvbi
This package adds support for Raw VBI, Teletext and Closed Caption based on
the ZVBI library to VLC.
%endif

%if %with_kate
%package plugin-kate
Summary: Add subtitle and Karaoke text support to VLC
Group: Video
Requires: %name = %version
BuildRequires: libtiger-devel

%description plugin-kate
This package adds support for subtitles and Karaoke text display based on
the libkate library to VLC.
%endif

%if %with_lua
%package plugin-lua
Summary: Add Lua scripting to vlc
Group: Video
Requires: %name = %version
BuildRequires: lua-devel >= 5.1


%description plugin-lua
This plugin adds lua scripting and provides a few example scripts as well.
%endif

%if %with_ncurses
%package plugin-ncurses
Summary: Ncurses console-based plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Buildrequires:	libncurses-devel

%description plugin-ncurses
This plugin adds a ncurses interface to the VLC media player. To
activate it, use the `--intf ncurses' flag.
%endif

%if %with_lirc
%package plugin-lirc
Summary: Lirc plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-lirc
Provides: vlc-lirc
Buildrequires:	liblirc-devel

%description plugin-lirc
This plugin is an infrared lirc interface for the VLC media player. To
activate it, use the `--extraintf lirc' flag.
%endif

%package -n svlc
Summary: Skinned GUI plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Provides: vlc-gui
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils

%description -n svlc
This plugin adds a skinned GUI interface to the VLC media player. To
activate it, run the `svlc' program.

#
# video plugins
%if %with_aa
%package plugin-aa
Summary: ASCII art video plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-aa
Provides: vlc-aa
Buildrequires:	aalib-devel

%description plugin-aa
This is an ASCII art video output plugin for the VLC media playe. To
activate it, use the `--vout aa' flag or select the `aa' video output
plugin from the preferences menu.
%endif

%if %with_sdl
%package plugin-sdl
Summary: Simple DirectMedia Layer video plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-sdl
Provides: vlc-sdl
Buildrequires:	SDL_image-devel
Buildrequires:	nas-devel

%description plugin-sdl
This plugin adds support for the Simple DirectMedia Layer library to
the VLC media player. To activate it, use the `--vout sdl' or
`--aout sdl' flags or select the `sdl' video or audio output plugin
from the preferences menu.
%endif

%if %with_shout
%package plugin-shout
Summary: Shoutcast and Icecast connector
Group: Sound
Requires: %{name} = %{version}
Buildrequires:	libshout-devel >= 2.1

%description plugin-shout
This plugin adds support for Icecast and Shoutcast servers.
%endif

%package plugin-opengl
Summary: OpenGL video output plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-opengl
This plugin adds support for OpenGL video output to
the VLC media player. 

%if %with_ggi
%package plugin-ggi
Summary: GGI video plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-ggi
Provides: vlc-ggi
Buildrequires:	libggi-devel

%description plugin-ggi
This is a GGI plugin for the VLC media player. To activate it, use
the `--vout ggi' flag or select the `ggi' video output plugin from
the preferences menu.
%endif

%if %with_svgalib
%package plugin-svgalib
Summary: SVGAlib video plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Buildrequires:	svgalib-devel

%description plugin-svgalib
This plugin adds support for SVGAlib to the VLC media player. To
activate it, use the `--vout svgalib' flag or select the `svgalib' video
output plugin from the preferences menu. Note that you will need root
permissions to use SVGAlib.
%endif


#
# visualization plugins

%if %with_xosd
%package plugin-xosd
Summary: X On-Screen Display plugin for the VLC media player
Group: Video
Buildrequires:	libxosd-devel >= 2
Requires: %{name} = %{version}
%description plugin-xosd
This is an On-Screen Display plugin for the VLC media player. To activate
it, use the `--extraintf xosd' flag or select the `xosd' interface plugin
from the preferences menu.
%endif


%package plugin-ogg
Summary: Ogg demuxer and Vorbis codec plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-ogg
These plugins add support for the Ogg bitstream format and the Ogg Vorbis
compressed audio format to the VLC media player. They are autodetected.

%if %with_theora
%package plugin-theora
Summary: Theora video codec for the VLC media player
Group: Video
Requires: %{name} = %{version}
Buildrequires:	libtheora-devel

%description plugin-theora
These plugin adds support for the Ogg Theora video format to the VLC
media player. They are autodetected.
%endif

%if %with_twolame
%package plugin-twolame
Summary: MP2 encoder plugin for VLC
Group: Sound
Requires: %{name} = %{version}
BuildRequires:  libtwolame-devel

%description plugin-twolame
These plugins add support for the Twolame MPEG Audio Layer 2 encoder
to the VLC media player. They are autodetected.
%endif

%if %with_fluidsynth
%package plugin-fluidsynth
Summary: Add MIDI playback support to VLC based on Fluidsynth
Group: Sound
Requires: %{name} = %{version}
BuildRequires: libfluidsynth-devel

%description plugin-fluidsynth
This plugin adds support for MIDI playback to VLC based on the Fluidsynth
library.
%endif

%if %with_schroedinger
%package plugin-schroedinger
Summary: Dirac plugin for VLC based on Schroedinger
Group: Video
Requires: %{name} = %{version}
BuildRequires: libschroedinger-devel >= 1.0.6

%description plugin-schroedinger
These plugins add support for the Dirac video format based on Schroedinger.
to the VLC media player.
%endif

%package plugin-speex
Summary: Ogg Speex codec plugin for the VLC media player
Group: Sound
Requires: %{name} = %{version}
%description plugin-speex
These plugins add support for the Ogg Speex codec to the VLC media
player. They are autodetected.


%package plugin-flac
Summary: Flac codec plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-flac
These plugins add support for the FLAC compressed audio format to the
VLC media player.

%package plugin-a52
Summary: A-52 (AC-3) codec plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-a52
This plugin adds support for the ATSC A-52 (aka. AC-3) audio format to
the VLC media player. The plugin is autodetected.

%if %with_dv
%package plugin-dv
Summary: DV codec plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Buildrequires:	libdv-devel
%if %mdvver >= 200910
BuildRequires:  libraw1394_8-devel
%else
BuildRequires:  libraw1394-devel
%endif
BuildRequires:  libavc1394-devel

%description plugin-dv
This plugin adds support for the DV video format to the VLC media player.
The plugin is autodetected.
%endif

%package plugin-mod
Summary: MOD audio decoder plugin for the VLC media player
Group: Sound
Requires: %{name} = %{version}
%description plugin-mod
This plugin adds support for music module playback based on libmodplug
to the VLC media player.

%package plugin-mpc
Summary: MPC audio decoder plugin for the VLC media player
Group: Sound
Requires: %{name} = %{version}
%description plugin-mpc
This plugin adds support for Musepack audio playback based on libmpcdec
to the VLC media player.

#
# audio plugins
%if %with_pulse
%package plugin-pulse
Summary: PulseAudio plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-pulse
Provides: vlc-pulse
%description plugin-pulse
This plugin adds support for the PulseAudio Sound Daemon to the VLC
media player. To activate it, use the `--aout pulse' flag or select the
`pulse' audio output plugin from the preferences menu.
%endif

%package plugin-jack
Summary: Jack audio plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-jack
Provides: vlc-jack
%description plugin-jack
This plugin adds support for the Jack Audio Connection Kit to the VLC
media player. To activate it, use the `--aout jack' flag or select the
`jack' audio output plugin from the preferences menu.

%package plugin-bonjour
Summary: Bonjour service discovery plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-bonjour
This plugin adds support for Bonjour service discovery to
the VLC media player.

%if %with_upnp
%package plugin-upnp
Summary: UPNP service discovery plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
BuildRequires: libupnp-devel
%description plugin-upnp
This plugin adds support for UPNP service discovery to
the VLC media player.
%endif

%package plugin-gnutls
Summary: Secure Socket Layer plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-gnutls
This plugin adds support for SSL/TLS to the VLC media player.


%package plugin-dvdnav
Summary: DVD plugin with menu support for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-dvdnav
This plugin adds support for the DVD including naviation menus to
the VLC media player.

%package plugin-libnotify
Summary: Notification popup plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-libnotify
This plugin adds support for notification popup messages to
the VLC media player.


%prep
%if %cvs
%setup -q -n %name-%version-svn
%else
%setup -q -n %fname
%endif
#gw if we want to regenerate libtool, we must remove the local versions of
# the libtool m4 files, aclocal will replace them
cd m4
rm -fv argz.m4 libtool.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4
cd ..
%if %mdkversion >= 200700
perl -pi -e "s^/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf^/usr/share/fonts/TTF/VeraBd.ttf^" modules/misc/freetype.c
%else
perl -pi -e "s^/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf^/usr/X11R6/lib/X11/fonts/TTF/VeraBd.ttf^" modules/misc/freetype.c
%endif
rm -rf doc/skins/curve_maker/CVS
#%patch14 -p1 -b .alsabuffer
# (gg) this is an hack to allow vlc supporting pulseaudio in older
# distro, like vlc 0.9.8a; pulseaudio newer than 0.9.11
# (which is adviced) supports the flag: PA_STREAM_ADJUST_LATENCY,
# older pulseaudio versions don't.
%patch15 -p1 -b .oldpulse
%patch16 -p1
%patch17 -p1
%if %mdvver >= 201000
%patch18 -p1
%endif
%if %mdvver <= 200900
libtoolize --copy --force
%else
libtoolize --install --force
%endif
aclocal -I m4 
autoconf 
automake

%build
# gw flags for the mozilla build 
export CPPFLAGS="$CPPFLAGS -DOJI -DMOZ_X11"
# add missing ebml include dir
export CPPFLAGS="$CPPFLAGS -I/usr/include/ebml"
#gw the speex headers have moved
export CPPFLAGS="$CPPFLAGS -I%_includedir/speex"
%configure2_5x  --enable-release --enable-pvr --disable-dependency-tracking \
%if %with_bonjour
	--enable-bonjour \
%else
	--disable-bonjour \
%endif
%if %with_smb
	--enable-smb \
%else
	--disable-smb \
%endif
%if %with_mozilla || %with_xulrunner
	--enable-mozilla \
%else
	--disable-mozilla \
%endif
%if %with_ncurses
	--enable-ncurses \
%endif
%if !%with_hal
       --disable-hal \
%endif
%if %with_lirc
	--enable-lirc \
%endif
	--enable-x11 --enable-xvideo \
%if %with_fb
	--enable-fb \
%else
	--disable-fb \
%endif
	--disable-mga \
%if %with_aa
	--enable-aa \
%endif
%if %with_sdl
	--enable-sdl \
%endif
%if %with_ggi
	--enable-ggi \
%endif
%if %with_svgalib
        --enable-svgalib \
%endif
%if %with_xosd
	--enable-xosd \
%else
	--disable-xosd \
%endif
%if %with_mad
        --enable-mad \
%endif  
%if %with_ogg
	--enable-vorbis \
	--enable-ogg \
%else
	--disable-vorbis \
	--disable-ogg \
%endif
%if %with_theora
	--enable-theora \
%endif
%if %with_speex
	--enable-speex \
%else
	--disable-speex \
%endif
%if %with_flac
	--enable-flac \
%else
	--disable-flac \
%endif
%if %with_mkv
	--enable-mkv \
%else
	--disable-mkv \
%endif	
%if %with_dv
	--enable-dv \
%else
	--disable-dv \
%endif
%if %with_dvbpsi
	--enable-dvbpsi \
%else
	--disable-dvbpsi \
%endif
%if %with_shout
        --enable-shout \
%endif
%if %with_dvb
	--enable-dvb \
%if %with_satellite
--enable-satellite \
%endif
%else
	--disable-dvb --disable-satellite \
%endif
%if %with_pulse
	--enable-pulse \
%endif
%if %with_jack
	--enable-jack \
%endif
%if %with_alsa
	--enable-alsa \
%endif
%if %with_mpeg2dec
	--enable-libmpeg2 \
%else
	--disable-libmpeg2 \
%endif
%if %with_faad
	--enable-faad \
%endif
%if %with_dts
	--enable-dca \
%else
	--disable-dca \
%endif
%if ! %with_svlc
	--disable-skins2 \
%endif
%if ! %with_dvdnav
	--disable-dvdnav \
%endif
%if %with_live
	--enable-live555 --with-live555-tree=%_libdir/live \
%endif
        --enable-v4l \
%if %with_gnutls
	--enable-gnutls \
%endif
	--disable-rpath \
%if %with_vcd
	--enable-vcdx \
%endif
%if %with_cddax 
	--enable-cddax \
%if %with_cddb
	--enable-libcddb \
%else
	--disable-libcddb \
%endif
%endif
%if %with_x264
	--enable-x264 \
%else
	--disable-x264 \
%endif
%if %with_loader
	--enable-loader \
%endif
%if %with_twolame
	--enable-twolame \
%endif
%ifarch x86_64
        --with-pic
%endif

%make

%install
rm -rf %buildroot
mkdir -p %buildroot%_libdir
%makeinstall_std transform=""
find %buildroot%_libdir/vlc -name \*.la|xargs rm -f
rm -f %buildroot%_libdir/mozilla/plugins/libvlcplugin.la
%find_lang %name
install -d %buildroot/%_mandir/man1
install doc/vlc.1 %buildroot/%_mandir/man1
install doc/vlc-config.1 %buildroot/%_mandir/man1
rm -rf installed-docs
mv %buildroot%_datadir/doc/vlc installed-docs
%if ! %with_svlc
rm -rf %buildroot%_datadir/vlc/skin*
%endif
# menu

desktop-file-install --vendor="" \
  --add-mime-type="x-content/video-dvd" \
  --add-mime-type="x-content/video-vcd" \
  --add-mime-type="x-content/video-svcd" \
  --add-mime-type="x-content/audio-cdda" \
  --add-category="Qt" \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/*


%if %with_svlc
cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-svlc.desktop << EOF
[Desktop Entry]
Name=VLC skinned GUI media player
Comment=VLC is a free MPEG, MPEG2, DVD and DivX player
Exec=%{_bindir}/svlc %U
Icon=%{name}
Terminal=false
Type=Application
StartupNotify=true
Categories=AudioVideo;Audio;Video;Player;
EOF
fgrep MimeType= %buildroot%_datadir/applications/vlc.desktop >> %buildroot%{_datadir}/applications/mandriva-svlc.desktop
%endif

# icons
%define pngdir %buildroot/%_datadir/vlc
mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
install -m 644 %pngdir/vlc16x16.png %buildroot/%_miconsdir/vlc.png
install -m 644 %pngdir/vlc32x32.png %buildroot/%_iconsdir/vlc.png
install -m 644 %pngdir/vlc48x48.png %buildroot/%_liconsdir/vlc.png


%if %mdkversion < 200900
%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig
%post
%update_menus
%update_desktop_database
%postun
%clean_menus
%clean_desktop_database
%endif

%clean
rm -fr %buildroot

%files -f %name.lang
%defattr(-,root,root)
%doc NEWS README COPYING AUTHORS MAINTAINERS THANKS
%doc installed-docs/* doc/lirc/
%_bindir/cvlc
%_bindir/qvlc
%_bindir/rvlc
%_bindir/vlc
%_bindir/vlc-wrapper
%dir %_datadir/vlc/
%_datadir/vlc/*.*
%_datadir/vlc/http
%_datadir/vlc/osdmenu/
%_datadir/vlc/utils
%dir %_libdir/vlc

%dir %_libdir/vlc/access
%_libdir/vlc/access/libaccess_alsa_plugin.so
%_libdir/vlc/access/libaccess_bd_plugin.so
%_libdir/vlc/access/libaccess_mmap_plugin.so
%_libdir/vlc/access/libaccess_mtp_plugin.so
%_libdir/vlc/access/libaccess_oss_plugin.so
%if %with_cddax
%_libdir/vlc/access/libcddax_plugin.so*
%endif
%_libdir/vlc/access/libcdda_plugin.so*
%_libdir/vlc/access/libaccess_directory_plugin.so*
%_libdir/vlc/access/libaccess_fake_plugin.so*
%_libdir/vlc/access/libaccess_file_plugin.so*
%_libdir/vlc/access/libaccess_ftp_plugin.so*
%_libdir/vlc/access/libaccess_http_plugin.so*
%_libdir/vlc/access/libaccess_mms_plugin.so*
%if %with_smb
%_libdir/vlc/access/libaccess_smb_plugin.so*
%endif
%_libdir/vlc/access/libaccess_tcp_plugin.so*
%_libdir/vlc/access/libaccess_udp_plugin.so*
%if %with_dvb
%_libdir/vlc/access/libdvb_plugin.so*
%endif
%_libdir/vlc/access/librtp_plugin.so
%_libdir/vlc/access/libv4l_plugin.so*
%_libdir/vlc/access/libv4l2_plugin.so*
%_libdir/vlc/access/libdvdread_plugin.so*
%_libdir/vlc/access/libpvr_plugin.so
%if %with_vcd
%_libdir/vlc/access/libvcdx_plugin.so*
%endif
%_libdir/vlc/access/libvcd_plugin.so*
%_libdir/vlc/access/libx11_screen_plugin.so
%_libdir/vlc/access/libzip_plugin.so


%dir %_libdir/vlc/access_output/
%_libdir/vlc/access_output/libaccess_output_dummy_plugin.so*
%_libdir/vlc/access_output/libaccess_output_file_plugin.so*
%_libdir/vlc/access_output/libaccess_output_http_plugin.so*
%_libdir/vlc/access_output/libaccess_output_udp_plugin.so*

%dir %_libdir/vlc/audio_filter
%_libdir/vlc/audio_filter/libaudio_format_plugin.so*
%_libdir/vlc/audio_filter/libbandlimited_resampler_plugin.so*
%_libdir/vlc/audio_filter/libconverter_fixed_plugin.so
%_libdir/vlc/audio_filter/libconverter_float_plugin.so
%if %with_dts
%_libdir/vlc/audio_filter/libdtstofloat32_plugin.so*
%endif
%_libdir/vlc/audio_filter/libdolby_surround_decoder_plugin.so*
%_libdir/vlc/audio_filter/libdtstospdif_plugin.so*
%_libdir/vlc/audio_filter/libequalizer_plugin.so*
%_libdir/vlc/audio_filter/libheadphone_channel_mixer_plugin.so*
%_libdir/vlc/audio_filter/liblinear_resampler_plugin.so*
%_libdir/vlc/audio_filter/libmono_plugin.so
%_libdir/vlc/audio_filter/libnormvol_plugin.so*
%_libdir/vlc/audio_filter/libparam_eq_plugin.so*
%_libdir/vlc/audio_filter/libscaletempo_plugin.so
%_libdir/vlc/audio_filter/libsimple_channel_mixer_plugin.so*
%_libdir/vlc/audio_filter/libspatializer_plugin.so
%_libdir/vlc/audio_filter/libtrivial_channel_mixer_plugin.so*
%_libdir/vlc/audio_filter/libtrivial_resampler_plugin.so*
%_libdir/vlc/audio_filter/libugly_resampler_plugin.so*

%dir %_libdir/vlc/audio_mixer
%_libdir/vlc/audio_mixer/libfloat32_mixer_plugin.so*
%_libdir/vlc/audio_mixer/libspdif_mixer_plugin.so*
%_libdir/vlc/audio_mixer/libtrivial_mixer_plugin.so*

%dir %_libdir/vlc/audio_output
%_libdir/vlc/audio_output/libaout_file_plugin.so*
%_libdir/vlc/audio_output/liboss_plugin.so*

%dir %_libdir/vlc/codec
%_libdir/vlc/codec/liba52_plugin.so*
%_libdir/vlc/codec/libadpcm_plugin.so*
%_libdir/vlc/codec/libaes3_plugin.so
%_libdir/vlc/codec/libaraw_plugin.so*
%_libdir/vlc/codec/libavcodec_plugin.so
%_libdir/vlc/codec/libcc_plugin.so
%_libdir/vlc/codec/libcdg_plugin.so
%_libdir/vlc/codec/libcmml_plugin.so*
%_libdir/vlc/codec/libcvdsub_plugin.so*
%_libdir/vlc/codec/libfake_plugin.so*
%_libdir/vlc/codec/libinvmem_plugin.so
%_libdir/vlc/codec/librawvideo_plugin.so*
%_libdir/vlc/codec/libsubsusf_plugin.so
%_libdir/vlc/codec/libsvcdsub_plugin.so*
%_libdir/vlc/codec/libt140_plugin.so
%_libdir/vlc/codec/libdts_plugin.so*
%_libdir/vlc/codec/liblpcm_plugin.so*
%_libdir/vlc/codec/liblibmpeg2_plugin.so*
%_libdir/vlc/codec/libmpeg_audio_plugin.so*
%_libdir/vlc/codec/libpng_plugin.so*
%_libdir/vlc/codec/libsubsdec_plugin.so*
%if %with_x264
%_libdir/vlc/codec/libx264_plugin.so*
%endif
%_libdir/vlc/codec/libspudec_plugin.so*
%_libdir/vlc/codec/libdvbsub_plugin.so*
%if %with_faad
%_libdir/vlc/codec/libfaad_plugin.so*
%endif
%if %with_loader
%_libdir/vlc/codec/libdmo_plugin.so*
%endif
%_libdir/vlc/codec/libtelx_plugin.so
%dir %_libdir/vlc/control
%_libdir/vlc/control/libdbus_plugin.so
%_libdir/vlc/control/libglobalhotkeys_plugin.so
%_libdir/vlc/control/libhotkeys_plugin.so*
%_libdir/vlc/control/libhttp_plugin.so*
%_libdir/vlc/control/libmotion_plugin.so
%_libdir/vlc/control/librc_plugin.so*
%_libdir/vlc/control/libshowintf_plugin.so*
%_libdir/vlc/control/libsignals_plugin.so
%_libdir/vlc/control/libtelnet_plugin.so*
%_libdir/vlc/control/libgestures_plugin.so*

%dir %_libdir/vlc/demux
%_libdir/vlc/demux/libaiff_plugin.so*
%_libdir/vlc/demux/libasf_plugin.so*
%_libdir/vlc/demux/libau_plugin.so*
%_libdir/vlc/demux/libavformat_plugin.so
%_libdir/vlc/demux/libavi_plugin.so*
%_libdir/vlc/demux/libdemux_cdg_plugin.so
%_libdir/vlc/demux/libdemuxdump_plugin.so*
%_libdir/vlc/demux/libdirac_plugin.so
%_libdir/vlc/demux/libes_plugin.so
%_libdir/vlc/demux/libh264_plugin.so*
%if %with_live
%_libdir/vlc/demux/liblive555_plugin.so
%endif
%_libdir/vlc/demux/libm4v_plugin.so*
%_libdir/vlc/demux/libmjpeg_plugin.so*
%_libdir/vlc/demux/libmkv_plugin.so
%_libdir/vlc/demux/libmp4_plugin.so*
%_libdir/vlc/demux/libmpgv_plugin.so*
%_libdir/vlc/demux/libnsc_plugin.so*
%_libdir/vlc/demux/libnsv_plugin.so*
%_libdir/vlc/demux/libnuv_plugin.so*
%_libdir/vlc/demux/libplaylist_plugin.so*
%_libdir/vlc/demux/libps_plugin.so*
%_libdir/vlc/demux/libpva_plugin.so*
%_libdir/vlc/demux/librawaud_plugin.so
%_libdir/vlc/demux/librawdv_plugin.so*
%_libdir/vlc/demux/librawvid_plugin.so
%_libdir/vlc/demux/libreal_plugin.so*
%_libdir/vlc/demux/libsmf_plugin.so
%_libdir/vlc/demux/libsubtitle_plugin.so*
%_libdir/vlc/demux/libtta_plugin.so
%_libdir/vlc/demux/libty_plugin.so*
%_libdir/vlc/demux/libvobsub_plugin.so*
%_libdir/vlc/demux/libvc1_plugin.so
%_libdir/vlc/demux/libvoc_plugin.so*
%_libdir/vlc/demux/libwav_plugin.so*
%if %with_dvbpsi
%_libdir/vlc/demux/libts_plugin.so*
%endif
%_libdir/vlc/demux/libxa_plugin.so*

%if %with_satellite
%_libdir/vlc/access/libsatellite_plugin.so*
%endif
%dir %_libdir/vlc/meta_engine
%_libdir/vlc/meta_engine/libfolder_plugin.so
%_libdir/vlc/meta_engine/libtaglib_plugin.so
%dir %_libdir/vlc/misc
%_libdir/vlc/misc/libaudioscrobbler_plugin.so
%_libdir/vlc/misc/libdummy_plugin.so*
%_libdir/vlc/misc/libexport_plugin.so*
%_libdir/vlc/misc/libfreetype_plugin.so*
%_libdir/vlc/misc/libinhibit_plugin.so
%_libdir/vlc/misc/liblogger_plugin.so*
%_libdir/vlc/misc/libmemcpy*_plugin.so*
%_libdir/vlc/misc/libosd_parser_plugin.so
%_libdir/vlc/misc/libscreensaver_plugin.so*
%_libdir/vlc/misc/libstats_plugin.so
%_libdir/vlc/misc/libtelepathy_plugin.so
%_libdir/vlc/misc/libvod_rtsp_plugin.so*
%if %with_xml
%_libdir/vlc/misc/libxml_plugin.so*
%endif
%_libdir/vlc/misc/libxtag_plugin.so*

%dir %_libdir/vlc/mux
%_libdir/vlc/mux/libmux_asf_plugin.so*
%_libdir/vlc/mux/libmux_avi_plugin.so*
%_libdir/vlc/mux/libmux_dummy_plugin.so*
%_libdir/vlc/mux/libmux_mp4_plugin.so*
%_libdir/vlc/mux/libmux_mpjpeg_plugin.so*
%if %with_ogg
%_libdir/vlc/mux/libmux_ogg_plugin.so*
%endif
%_libdir/vlc/mux/libmux_ps_plugin.so*
%_libdir/vlc/mux/libmux_ts_plugin.so
%_libdir/vlc/mux/libmux_wav_plugin.so*
%dir %_libdir/vlc/gui/
%_libdir/vlc/gui/libqt4_plugin.so
%dir %_libdir/vlc/packetizer
%_libdir/vlc/packetizer/libpacketizer_copy_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_dirac_plugin.so
%_libdir/vlc/packetizer/libpacketizer_h264_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_mlp_plugin.so
%_libdir/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_mpeg4video_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_mpegvideo_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_vc1_plugin.so

%dir %_libdir/vlc/services_discovery/
%_libdir/vlc/services_discovery/libmtp_plugin.so
%_libdir/vlc/services_discovery/libpodcast_plugin.so*
%_libdir/vlc/services_discovery/libsap_plugin.so*
%_libdir/vlc/services_discovery/libshout_plugin.so*
%if %with_hal
%_libdir/vlc/misc/libprobe_hal_plugin.so
%_libdir/vlc/services_discovery/libhal_plugin.so*
%endif
%if %with_udev
%_libdir/vlc/services_discovery/libudev_plugin.so*
%endif
%dir %_libdir/vlc/stream_filter/
%_libdir/vlc/stream_filter/libdecomp_plugin.so
%_libdir/vlc/stream_filter/libstream_filter_rar_plugin.so
%_libdir/vlc/stream_filter/libstream_filter_record_plugin.so

%dir %_libdir/vlc/stream_out
%_libdir/vlc/stream_out/libstream_out_autodel_plugin.so
%_libdir/vlc/stream_out/libstream_out_bridge_plugin.so*
%_libdir/vlc/stream_out/libstream_out_description_plugin.so*
%_libdir/vlc/stream_out/libstream_out_display_plugin.so*
%_libdir/vlc/stream_out/libstream_out_dummy_plugin.so*
%_libdir/vlc/stream_out/libstream_out_duplicate_plugin.so*
%_libdir/vlc/stream_out/libstream_out_es_plugin.so*
%_libdir/vlc/stream_out/libstream_out_gather_plugin.so*
%_libdir/vlc/stream_out/libstream_out_mosaic_bridge_plugin.so*
%_libdir/vlc/stream_out/libstream_out_raop_plugin.so
%_libdir/vlc/stream_out/libstream_out_record_plugin.so
%_libdir/vlc/stream_out/libstream_out_rtp_plugin.so*
%_libdir/vlc/stream_out/libstream_out_standard_plugin.so*
%_libdir/vlc/stream_out/libstream_out_transcode_plugin.so*

%dir %_libdir/vlc/video_chroma
%_libdir/vlc/video_chroma/libgrey_yuv_plugin.so
%_libdir/vlc/video_chroma/libi420_rgb_*plugin.so*
%_libdir/vlc/video_chroma/libi420_ymga_*plugin.so*
%_libdir/vlc/video_chroma/libi420_yuy2_*plugin.so*
%_libdir/vlc/video_chroma/libi422_i420_plugin.so
%_libdir/vlc/video_chroma/libi422_yuy2_*plugin.so*
%_libdir/vlc/video_chroma/libyuy2_i420_plugin.so
%_libdir/vlc/video_chroma/libyuy2_i422_plugin.so


%dir %_libdir/vlc/video_filter
%_libdir/vlc/video_filter/libadjust_plugin.so*
%_libdir/vlc/video_filter/libalphamask_plugin.so
%_libdir/vlc/video_filter/libatmo_plugin.so
%_libdir/vlc/video_filter/libblendbench_plugin.so
%_libdir/vlc/video_filter/libblend_plugin.so*
%_libdir/vlc/video_filter/libbluescreen_plugin.so
%_libdir/vlc/video_filter/libcanvas_plugin.so
%_libdir/vlc/video_filter/libchain_plugin.so
%_libdir/vlc/video_filter/libclone_plugin.so*
%_libdir/vlc/video_filter/libcolorthres_plugin.so
%_libdir/vlc/video_filter/libcroppadd_plugin.so
%_libdir/vlc/video_filter/libcrop_plugin.so*
%_libdir/vlc/video_filter/libdeinterlace_plugin.so*
%_libdir/vlc/video_filter/libdynamicoverlay_plugin.so
%_libdir/vlc/video_filter/liberase_plugin.so
%_libdir/vlc/video_filter/libextract_plugin.so
%_libdir/vlc/video_filter/libgaussianblur_plugin.so
%_libdir/vlc/video_filter/libgradient_plugin.so
%_libdir/vlc/video_filter/libgrain_plugin.so
%_libdir/vlc/video_filter/libinvert_plugin.so*
%_libdir/vlc/video_filter/liblogo_plugin.so*
%_libdir/vlc/video_filter/libmagnify_plugin.so*
%_libdir/vlc/video_filter/libmarq_plugin.so*
%_libdir/vlc/video_filter/libmosaic_plugin.so*
%_libdir/vlc/video_filter/libmotionblur_plugin.so*
%_libdir/vlc/video_filter/libmotiondetect_plugin.so*
%_libdir/vlc/video_filter/libnoise_plugin.so
%_libdir/vlc/video_filter/libosdmenu_plugin.so*
%_libdir/vlc/video_filter/libpanoramix_plugin.so
%_libdir/vlc/video_filter/libpostproc_plugin.so
%_libdir/vlc/video_filter/libpsychedelic_plugin.so
%_libdir/vlc/video_filter/libpuzzle_plugin.so
%_libdir/vlc/video_filter/libremoteosd_plugin.so
%_libdir/vlc/video_filter/libripple_plugin.so
%_libdir/vlc/video_filter/librotate_plugin.so
%_libdir/vlc/video_filter/librss_plugin.so*
%_libdir/vlc/video_filter/librv32_plugin.so*
%_libdir/vlc/video_filter/libscale_plugin.so*
%_libdir/vlc/video_filter/libscene_plugin.so
%_libdir/vlc/video_filter/libsharpen_plugin.so
%_libdir/vlc/video_filter/libswscale_plugin.so
%_libdir/vlc/video_filter/libtransform_plugin.so*
%_libdir/vlc/video_filter/libwall_plugin.so*
%_libdir/vlc/video_filter/libwave_plugin.so
%_libdir/vlc/video_filter/libyuvp_plugin.so

%dir %_libdir/vlc/video_output
%_libdir/vlc/video_output/libdrawable_plugin.so
%if %with_fb
%_libdir/vlc/video_output/libfb_plugin.so*
%endif
%_libdir/vlc/video_output/libvmem_plugin.so
%_libdir/vlc/video_output/libx11_plugin.so*
%if %with_xvideo
%_libdir/vlc/video_output/libxvideo_plugin.so*
%endif
%_libdir/vlc/video_output/libyuv_plugin.so
%dir %_libdir/vlc/visualization
%_libdir/vlc/visualization/libvisual_plugin.so*
%if %with_mad
%_libdir/vlc/audio_filter/libmpgatofixed32_plugin.so*
%endif
%if %with_alsa
%_libdir/vlc/audio_output/libalsa_plugin.so*
%endif
%_mandir/man1/vlc.*
%_mandir/man1/vlc-wrapper.1*
%_datadir/applications/vlc.desktop
%_miconsdir/vlc.png
%_iconsdir/vlc.png
%_liconsdir/vlc.png

%files -n %libname
%defattr(-,root,root)
%_libdir/libvlc.so.%{libmajor}*
%_libdir/libvlccore.so.%{libmajor}*

%files -n %develname
%defattr(-,root,root)
%doc README doc/release-howto.txt doc/skins doc/Configure.help
%doc doc/arm-crosscompile-howto.sgml
%dir %_includedir/vlc
%_libdir/libvlc.so
%_libdir/libvlccore.so
%_includedir/vlc/*
%attr(644,root,root) %_libdir/*.la
%_mandir/man1/vlc-config*
%_libdir/pkgconfig/*


%if %with_shout
%files plugin-shout
%defattr(-,root,root)
%doc README
%_libdir/vlc/access_output/libaccess_output_shout_plugin.so
%endif

%if %with_mozilla || %with_xulrunner
%files -n mozilla-plugin-vlc
%defattr(-,root,root)
%doc README
%_datadir/vlc/mozilla
%_libdir/mozilla/plugins/libvlcplugin.so
%endif

# intf plugins
%if %with_svlc
%files -n svlc
%defattr(-,root,root)
%doc README
%_bindir/svlc
%_libdir/vlc/gui/libskins2_plugin.so*
%_datadir/applications/mandriva-svlc.desktop
%_datadir/vlc/skins2
%if %mdkversion < 200900
%post   -n svlc
%update_menus
%update_desktop_database
%endif

%if %mdkversion < 200900
%postun -n svlc
%clean_menus
%clean_desktop_database
%endif
%endif

%if %with_zvbi
%files plugin-zvbi
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libzvbi_plugin.so
%endif

%if %with_kate
%files plugin-kate
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libkate_plugin.so
%endif

%if %with_lua
%files plugin-lua
%defattr(-,root,root)
%doc README
%_libdir/vlc/misc/liblua_plugin.so
%_datadir/vlc/lua
%endif

%if %with_ncurses
%files plugin-ncurses
%defattr(-,root,root)
%doc README
%_bindir/nvlc
%_libdir/vlc/gui/libncurses_plugin.so*
%endif

%if %with_lirc
%files plugin-lirc
%defattr(-,root,root)
%doc README
%_libdir/vlc/control/liblirc_plugin.so*
%endif

# video plugins
%if %with_sdl
%files plugin-sdl
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libsdl_image_plugin.so*
%_libdir/vlc/audio_output/libaout_sdl_plugin.so*
%_libdir/vlc/video_output/libvout_sdl_plugin.so*
%endif

%files plugin-opengl
%defattr(-,root,root)
%doc README
%_libdir/vlc/video_output/libglx_plugin.so*
%_libdir/vlc/video_output/libopengl_plugin.so*

%if %with_ggi
%files plugin-ggi
%defattr(-,root,root)
%doc README
%{_libdir}/vlc/video_output/libggi_plugin.so*
%endif

%if %with_aa
%files plugin-aa
%defattr(-,root,root)
%doc README
%{_libdir}/vlc/video_output/libaa_plugin.so*
%endif

%if %with_svgalib
%files plugin-svgalib
%defattr(-,root,root)
%doc README
%_libdir/vlc/video_output/libsvgalib_plugin.so*
%endif

# visualization plugin
%if %with_xosd
%files plugin-xosd
%defattr(-,root,root)
%doc README
%_libdir/vlc/misc/libxosd_plugin.so*
%endif

%if %with_ogg
%files plugin-ogg
%defattr(-,root,root)
%doc README
%_libdir/vlc/demux/libogg_plugin.so*
%_libdir/vlc/codec/libvorbis_plugin.so*
%endif

%if %with_theora
%files plugin-theora
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libtheora_plugin.so
%endif

%if %with_fluidsynth
%files plugin-fluidsynth
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libfluidsynth_plugin.so
%endif

%if %with_schroedinger
%files plugin-schroedinger
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libschroedinger_plugin.so
%endif

%if %with_twolame
%files plugin-twolame
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libtwolame_plugin.so*
%endif

%if %with_speex
%files plugin-speex
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libspeex_plugin.so*
%endif


%files plugin-flac
%defattr(-,root,root)
%doc README
%_libdir/vlc/demux/libflacsys_plugin.so
%_libdir/vlc/codec/libflac_plugin.so*


%if %with_dv
%files plugin-dv
%defattr(-,root,root)
%doc README
%_libdir/vlc/access/libaccess_dv_plugin.so
%endif

%if %with_a52
%files plugin-a52
%defattr(-,root,root)
%doc README
%_libdir/vlc/audio_filter/liba52tofloat32_plugin.so*
%_libdir/vlc/audio_filter/liba52tospdif_plugin.so*
%endif


%if %with_mod
%files plugin-mod
%defattr(-,root,root)
%doc README
%_libdir/vlc/demux/libmod_plugin.so*
%endif

%if %with_mpc
%files plugin-mpc
%defattr(-,root,root)
%doc README
%_libdir/vlc/demux/libmpc_plugin.so*
%endif

#audio plugins
%if %with_pulse
%files plugin-pulse
%defattr(-,root,root)
%doc README
%_libdir/vlc/audio_output/libpulse_plugin.so*
%endif


%if %with_jack
%files plugin-jack
%defattr(-,root,root)
%doc README
%_libdir/vlc/access/libaccess_jack_plugin.so
%_libdir/vlc/audio_output/libjack_plugin.so*
%endif


%if %with_bonjour
%files plugin-bonjour
%defattr(-,root,root)
%doc README
%_libdir/vlc/services_discovery/libbonjour_plugin.so*
%endif

%if %with_upnp
%files plugin-upnp
%defattr(-,root,root)
%doc README
%_libdir/vlc/services_discovery/libupnp_intel_plugin.so*
%endif

%if %with_gnutls
%files plugin-gnutls
%defattr(-,root,root)
%doc README
%_libdir/vlc/misc/libgnutls_plugin.so*
%endif

%if %with_dvdnav
%files plugin-dvdnav
%defattr(-,root,root)
%doc README
%_libdir/vlc/access/libdvdnav_plugin.so*
%endif

%files plugin-libnotify
%defattr(-,root,root)
%doc README
%_libdir/vlc/misc/libnotify_plugin.so*


%changelog
* Wed May 05 2010 Götz Waschk <waschk@mandriva.org> 1.0.6-2mdv2010.1
+ Revision: 542341
- rebuild
- apply xulrunner patch for 2010.0 backports as well
- bump x264 dep
- fix libv4l build dep for backports

* Thu Apr 22 2010 Funda Wang <fwang@mandriva.org> 1.0.6-1mdv2010.1
+ Revision: 537905
- update file list
- rediff oldpulse patch
- patch13 merge
- new version 1.0.6

* Sun Apr 04 2010 Colin Guthrie <cguthrie@mandriva.org> 1.1.0-0.20100404.1mdv2010.1
+ Revision: 531411
- Fix BR after v4l-utils rename

* Thu Mar 11 2010 Götz Waschk <waschk@mandriva.org> 1.0.5-2mdv2010.1
+ Revision: 517991
- disable hal for udev builds
- move nvlc wrapper to the vlc-plugin-ncurses package

* Sun Jan 31 2010 Funda Wang <fwang@mandriva.org> 1.0.5-1mdv2010.1
+ Revision: 498691
- New version 1.0.5

  + Götz Waschk <waschk@mandriva.org>
    - rebuild

* Thu Jan 07 2010 Götz Waschk <waschk@mandriva.org> 1.0.4-2mdv2010.1
+ Revision: 487090
- patch for new xulrunner
- add libkate subtitle plugin
- add Icecast plugin (bug #56510)
- add shoutcast plugin (bug #56510)
- don't build udev support on 2009.1

* Thu Dec 10 2009 Götz Waschk <waschk@mandriva.org> 1.0.4-1mdv2010.1
+ Revision: 476082
- new version
- rediff patch 13

* Thu Dec 10 2009 Götz Waschk <waschk@mandriva.org> 1.0.3-3mdv2010.1
+ Revision: 475966
- rebuild

* Mon Nov 09 2009 Götz Waschk <waschk@mandriva.org> 1.0.3-2mdv2010.1
+ Revision: 463359
- update build deps
- rebuild for new libcdio

* Sat Nov 07 2009 Götz Waschk <waschk@mandriva.org> 1.0.3-1mdv2010.1
+ Revision: 462446
- new version
- add udev plugin

* Mon Sep 21 2009 Götz Waschk <waschk@mandriva.org> 1.0.2-1mdv2010.0
+ Revision: 446937
- new version
- drop patch 0
- update file list

* Tue Sep 01 2009 Götz Waschk <waschk@mandriva.org> 1.0.1-3mdv2010.0
+ Revision: 423400
- revert v4l2 changes (bug #52259)
- update menu categories (bug #53216)

* Mon Aug 03 2009 Götz Waschk <waschk@mandriva.org> 1.0.1-2mdv2010.0
+ Revision: 408218
- add debian patches for the OSD menu and asm MMX chroma converter
- move libnotify plugin to extra package (bug  #52559)
- fix libtoolize call for 2009.0

* Wed Jul 29 2009 Götz Waschk <waschk@mandriva.org> 1.0.1-1mdv2010.0
+ Revision: 402911
- new version

* Mon Jul 13 2009 Götz Waschk <waschk@mandriva.org> 1.0.0-3mdv2010.0
+ Revision: 395704
- add libtoolize call to fix build
- fix build deps for 2009.0
- disable pulseaudio on 2009.0

  + Giuseppe Ghibò <ghibo@mandriva.com>
    - Added libtool to BuildRequires.
    - Add Patch15 to allow pulseaudio support in distro version 2009.0 (better than nothing).
    - Temporary disable Patch13 which reduces the buffer size.

* Wed Jul 08 2009 Götz Waschk <waschk@mandriva.org> 1.0.0-2mdv2010.0
+ Revision: 393440
- rebuild for missing package
- new version
- drop patch 0

* Fri Jun 26 2009 Götz Waschk <waschk@mandriva.org> 1.0.0-0.rc4.1mdv2010.0
+ Revision: 389420
- new version

* Thu Jun 25 2009 Frederic Crozat <fcrozat@mandriva.com> 1.0.0-0.rc3.2mdv2010.0
+ Revision: 389053
- Fix patch0 which was breaking dialog (upstream bug #2857)
- Fix space changes in format-security patch and sent it upstream [prw]

  + Götz Waschk <waschk@mandriva.org>
    - disable schroedinger for older distros

* Mon Jun 08 2009 Götz Waschk <waschk@mandriva.org> 1.0.0-0.rc3.1mdv2010.0
+ Revision: 383865
- new version
- remove arts and esd plugins
- remove vlvc sources
- rediff patches 0,13
- drop patch 3
- update file list
- update build deps
- update build deps

* Fri Apr 24 2009 Götz Waschk <waschk@mandriva.org> 0.9.9-5mdv2010.0
+ Revision: 368985
- new version
- rediff patch 0
- drop patch 17

* Fri Feb 20 2009 Frederic Crozat <fcrozat@mandriva.com> 0.9.8a-5mdv2009.1
+ Revision: 343305
- Patch17: don't clean libxml2, vlc code isn't threadsafe (Mdv bug #47169)
- add git url

* Wed Feb 11 2009 Götz Waschk <waschk@mandriva.org> 0.9.8a-4mdv2009.1
+ Revision: 339355
- rebuild for new libfaad

* Sat Jan 31 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 0.9.8a-3mdv2009.1
+ Revision: 335904
- Rebuild against new qt4

* Wed Jan 07 2009 Götz Waschk <waschk@mandriva.org> 0.9.8a-2mdv2009.1
+ Revision: 326461
- fix format strings
- build against the right libraw1394

* Sun Dec 07 2008 Götz Waschk <waschk@mandriva.org> 0.9.8a-1mdv2009.1
+ Revision: 311570
- new version

* Tue Dec 02 2008 Götz Waschk <waschk@mandriva.org> 0.9.7-3mdv2009.1
+ Revision: 309440
- reenable embedding the video (bug #46140 fo)

* Mon Dec 01 2008 Götz Waschk <waschk@mandriva.org> 0.9.7-2mdv2009.1
+ Revision: 308804
- rebuild
- new version
- suggest theora package as well

* Thu Nov 06 2008 Götz Waschk <waschk@mandriva.org> 0.9.6-1mdv2009.1
+ Revision: 300258
- new version
- fix build

* Tue Oct 28 2008 Götz Waschk <waschk@mandriva.org> 0.9.5-2mdv2009.1
+ Revision: 298000
- rebuild
- rebuild

* Sat Oct 25 2008 Götz Waschk <waschk@mandriva.org> 0.9.5-1mdv2009.1
+ Revision: 297244
- new version
- drop patches 17,18

* Mon Oct 13 2008 Götz Waschk <waschk@mandriva.org> 0.9.4-2mdv2009.1
+ Revision: 293114
- fix build with new x264

* Sat Oct 11 2008 Götz Waschk <waschk@mandriva.org> 0.9.4-1mdv2009.1
+ Revision: 292164
- new version

* Mon Sep 29 2008 Götz Waschk <waschk@mandriva.org> 0.9.3-2mdv2009.0
+ Revision: 289796
- useless rebuild
- disable libv4l patch if libv4l is not requested
- new version

* Sun Sep 28 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 0.9.2-3mdv2009.0
+ Revision: 288978
- Do some changes based on feedback from libv4l maintainer, Hans de
  Goede:
  * Remove libv4l1 patch: libv4l1 is to make v4l1 applications work with
    v4l2 devices, as vlc now has a v4l2 plugin there is no need to keep
    it;
  * Add updated libv4l2 patch, with bugfixes from him.

* Fri Sep 26 2008 Götz Waschk <waschk@mandriva.org> 0.9.2-2mdv2009.0
+ Revision: 288522
- put back libv4l patches (Herton Ronaldo Krzesinski)
- fix dca build dep
- merge patch 2 into patch 3
- fix libv4l and live build conditionals
- bump live-devel dep
- reenable bootstrap and parallel make
- remove old mozilla plugin build fixes
- fix lua build deps

* Fri Sep 19 2008 Götz Waschk <waschk@mandriva.org> 0.9.2-1mdv2009.0
+ Revision: 285905
- new version, based on QT4 instead of wxGTK
- drop gnomevfs, slp, daap, vlvc, libv4l
- reenable svgalib, dv, libtar
- add schroedinger, fluidsynth, zvbi, lua, theora
- drop patches 0,1,4,5,6,7,8,11,12,16
- update patch 13
- patch to fix with new fribidi

* Mon Sep 01 2008 Götz Waschk <waschk@mandriva.org> 0.8.6i-6mdv2009.0
+ Revision: 278320
- rebuild for new libdvdread
- rebuild for new libdvdread

* Fri Aug 08 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 0.8.6i-5mdv2009.0
+ Revision: 269040
- Rename vlc-0.8.6-libv4l1.patch to vlc-0.8.6i-libv4l1.patch
- Fix libv4l1 patch added in previous release to make v4l plugin to
  properly link with libv4l. Bug report by Christiaan Welvaart on
  cooker ML.

* Fri Aug 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 0.8.6i-4mdv2009.0
+ Revision: 259102
- Added patch from libv4l to add support to libv4l1.

* Thu Jul 31 2008 Götz Waschk <waschk@mandriva.org> 0.8.6i-3mdv2009.0
+ Revision: 257501
- patch for xulrunner
- patch for wxgtk 2.8

* Fri Jul 25 2008 Götz Waschk <waschk@mandriva.org> 0.8.6i-2mdv2009.0
+ Revision: 249132
- update file list
- patch for libdca detection

* Sun Jul 13 2008 Götz Waschk <waschk@mandriva.org> 0.8.6i-1mdv2009.0
+ Revision: 234386
- new version
- fix linking

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Sat Jun 07 2008 Götz Waschk <waschk@mandriva.org> 0.8.6h-1mdv2009.0
+ Revision: 216676
- new version
- drop patch 4
- update vlvc patch
- don't call autotools twice

* Thu May 15 2008 Götz Waschk <waschk@mandriva.org> 0.8.6g-1mdv2009.0
+ Revision: 207509
- new version
- drop patch 5

* Wed May 14 2008 Götz Waschk <waschk@mandriva.org> 0.8.6f-4mdv2009.0
+ Revision: 207103
- fix buildrequires for arts
- enable twolame plugin
- remove unused configure options

* Thu Apr 24 2008 Götz Waschk <waschk@mandriva.org> 0.8.6f-3mdv2009.0
+ Revision: 197209
- fix build with new ffmpeg
- small fix for auto* build
- rebuild

* Mon Apr 14 2008 Götz Waschk <waschk@mandriva.org> 0.8.6f-2mdv2009.0
+ Revision: 193288
- rebuild

* Tue Apr 08 2008 Götz Waschk <waschk@mandriva.org> 0.8.6f-1mdv2009.0
+ Revision: 192385
- add removable media mime types for nautilus

* Thu Apr 03 2008 Götz Waschk <waschk@mandriva.org> 0.8.6f-1mdv2008.1
+ Revision: 192075
- new version 0.8.6f (security update)
- drop patch 0

* Wed Mar 26 2008 Götz Waschk <waschk@mandriva.org> 0.8.6e-2mdv2008.1
+ Revision: 190429
- fix build of the mkv demuxer

  + Colin Guthrie <cguthrie@mandriva.org>
    - Fix from debian to fix alsa buffering when used with pulseaudio alsa plugin (not our default setup but still a valid config)

* Thu Feb 28 2008 Götz Waschk <waschk@mandriva.org> 0.8.6e-1mdv2008.1
+ Revision: 175980
- new version
- drop source 1
- drop patches 0,9,10
- clean up spec file by removing support for jurassic distributions

* Thu Feb 21 2008 Colin Guthrie <cguthrie@mandriva.org> 0.8.6d-9mdv2008.1
+ Revision: 173574
- Fix package naming error in suggests for PA.

* Wed Feb 20 2008 Colin Guthrie <cguthrie@mandriva.org> 0.8.6d-8mdv2008.1
+ Revision: 173167
- Really fix pulseaudio plugin.

* Tue Feb 19 2008 Colin Guthrie <cguthrie@mandriva.org> 0.8.6d-7mdv2008.1
+ Revision: 172648
- Resurrect some fixes I thought were upstream but weren't (needed for 0.8.6 compilation)
- Use the (now committed) upstream version of pulseaudio support.

  + Thierry Vignaud <tv@mandriva.org>
    - summary is not licence tag
    - fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake

* Sun Feb 17 2008 Colin Guthrie <cguthrie@mandriva.org> 0.8.6d-6mdv2008.1
+ Revision: 170011
- Set priority of pulseaudio plugin to 200 (so it's default)
- Fix issues with upstream patch
- Add native pulseaudio support (upstream ticket #1215)

* Thu Feb 14 2008 Götz Waschk <waschk@mandriva.org> 0.8.6d-5mdv2008.1
+ Revision: 168112
- readd vlvc and upgrade to 0.8

* Wed Feb 13 2008 Frederic Crozat <fcrozat@mandriva.com> 0.8.6d-4mdv2008.1
+ Revision: 167004
- Patch10: bump priority of esd backend for pulseaudio (Mdv bug #36706)
- Patch11 (SVN): various ALSA fixes
- add suggests on esd plugin

  + Thierry Vignaud <tv@mandriva.org>
    - fix spacing at top of description

* Thu Jan 17 2008 Götz Waschk <waschk@mandriva.org> 0.8.6d-3mdv2008.1
+ Revision: 154481
- rebuild

  + Thierry Vignaud <tv@mandriva.org>
    - drop old menu
    - fix mesaglu-devel BR

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Wed Jan 02 2008 Götz Waschk <waschk@mandriva.org> 0.8.6d-2mdv2008.1
+ Revision: 140442
- fix build with new ffmpeg
- rebuild for new ffmpeg
- suggest ogg plugin
- fix path to the Vera font

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request
    - do not advertize plf

* Sat Dec 01 2007 Götz Waschk <waschk@mandriva.org> 0.8.6d-1mdv2008.1
+ Revision: 114277
- new version
- new devel name

* Tue Nov 06 2007 Funda Wang <fwang@mandriva.org> 0.8.6c-7mdv2008.1
+ Revision: 106496
- rebuild for new lzma

* Thu Nov 01 2007 Götz Waschk <waschk@mandriva.org> 0.8.6c-6mdv2008.1
+ Revision: 104337
- add pvr module (bug #35186)

* Mon Oct 22 2007 Götz Waschk <waschk@mandriva.org> 0.8.6c-5mdv2008.1
+ Revision: 101294
- rebuild for new libdvbpsi

* Fri Oct 12 2007 Götz Waschk <waschk@mandriva.org> 0.8.6c-4mdv2008.1
+ Revision: 97442
- patch from debian: disable update in the help menu
- replace some requires by suggests

  + Thierry Vignaud <tv@mandriva.org>
    - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'

* Sun Aug 19 2007 Götz Waschk <waschk@mandriva.org> 0.8.6c-3mdv2008.0
+ Revision: 67142
- rebuild

* Wed Jul 25 2007 Götz Waschk <waschk@mandriva.org> 0.8.6c-2mdv2008.0
+ Revision: 55289
- add jack plugin (bug #32092)

* Mon Jun 18 2007 Götz Waschk <waschk@mandriva.org> 0.8.6c-1mdv2008.0
+ Revision: 40692
- fix desktop entry
- new version
- drop patch 0
- disable vlvc

* Thu Apr 19 2007 Götz Waschk <waschk@mandriva.org> 0.8.6b-1mdv2008.0
+ Revision: 14978
- new version
- rediff patch 3
- update file list


* Fri Feb 23 2007 Götz Waschk <waschk@mandriva.org> 0.8.6a-2mdv2007.0
+ Revision: 124956
- rebuild for new libmpcdec

  + Olivier Thauvin <nanardon@mandriva.org>
    - add with condition for vlvc
    - add vlvc patch (for Scara)

* Thu Jan 04 2007 Götz Waschk <waschk@mandriva.org> 0.8.6a-1mdv2007.1
+ Revision: 104188
- new version
- update ffmpeg snapshot and patch 9

* Mon Dec 11 2006 Götz Waschk <waschk@mandriva.org> 0.8.6-2mdv2007.1
+ Revision: 95020
- patch for new libflac

* Sun Dec 10 2006 Götz Waschk <waschk@mandriva.org> 0.8.6-1mdv2007.1
+ Revision: 94507
- new version
- disable flac for new
- fix build with firefox 2.0 on Cooker
- update file list

* Fri Nov 17 2006 Götz Waschk <waschk@mandriva.org> 0.8.6-0.test2a.1mdv2007.1
+ Revision: 85209
- new version
- update file list

* Thu Nov 09 2006 Götz Waschk <waschk@mandriva.org> 0.8.6-0.test1.5mdv2007.1
+ Revision: 79173
- update ffmpeg snapshot and patch 9

* Fri Nov 03 2006 Götz Waschk <waschk@mandriva.org> 0.8.6-0.test1.4mdv2007.1
+ Revision: 76244
- bot rebuild
- bot rebuild
- bot rebuild
- new version
- update ffmpeg snapshot
- update patch 9
- drop patch 3
- add libvlc package
- use upstream desktop file
- add new plugins

* Fri Nov 03 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-14mdv2007.1
+ Revision: 76146
- fix build with new libcdio
- fix description

* Fri Oct 20 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-13mdv2007.0
+ Revision: 71227
- update patch 3 for new x264

* Fri Oct 20 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-12mdv2007.1
+ Revision: 71188
- Import vlc

* Fri Oct 20 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-12mdv2007.1
- unpack patches
- rebuild

* Mon Sep 04 2006 Anssi Hannula <anssi@mandriva.org> 0.8.5-11mdv2007.0
- fix buildrequires

* Thu Aug 31 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-10mdv2007.0
- merge mad and alsa plugins in the main package
- don't run bootstrap, it needs network access

* Wed Aug 30 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-9mdv2007.0
- patch for new x264
- rediff patch 0
- update ffmpeg snapshot
- depend on wxgtk < 2.7 for now

* Fri Aug 04 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1mdv2007.0
- rebuild for new dbus

* Sun Jul 02 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-7mdv2007.0
- spec cleanup

* Tue Jun 27 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-6mdv2007.0
- add xdg menu

* Mon Jun 26 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-5mdv2007.0
- drop patch 10
- update ffmpeg to svn snapshot

* Wed May 31 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-4mdv2007.0
- fix default font with new X

* Tue May 30 2006 Frederic Crozat <fcrozat@mandriva.com> 0.8.5-3mdv2007.0
- Regenerate patch1
- Patch10: add H264 MBAFF decoding for non-cooker build
- Use ffmpeg snapshot 20060519 for non-cooker build
- update buildrequires for cooker
- Enable win32 codec loader on x86 arch

* Mon May 08 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-2mdk
- drop patch 10
- drop patch 0
- new version

* Sat May 06 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1.test4.1mdk
- new snapshot
- enable daap
- move the mozilla files all to the mozilla plugin directory

* Fri May 05 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1.test3.4mdk
- fix mozilla plugin

* Fri May 05 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1.test3.3mdk
- rebuild

* Sat Apr 22 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1.test3.2mdk
- update ffmpeg snapshot
- rebuild for new firefox

* Sat Apr 22 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1.test3.1mdk
- update patch 10
- new version
- use seamonkey instead of mozilla in Cooker

* Thu Apr 06 2006 Pascal Terjan <pterjan@mandriva.org>  0.8.5-1.test2.2mdk
- drop patch 11 (upstream now allow chosing port)

* Mon Apr 03 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1.test2.1mdk
- rediff patch 9
- drop patch 7
- update ffmpeg snapshot
- new version

* Sat Mar 18 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1.test1.2mdk
- rebuild for new libcdio
- merge faad in main vlc if enabled

* Tue Mar 14 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-1.test1.1mdk
- reenable cddb plugin
- update file list
- fix shared libvlc build
- drop patch 0
- build with system ffmpeg on Cooker
- new snapshot

* Mon Feb 20 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-0.20060220.2mdk
- fix linkage of vlc

* Mon Feb 20 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-0.20060220.1mdk
- add upnp plugin
- update file list
- fix default font (bug 21195)
- new snapshot

* Fri Feb 03 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-0.20060202.1mdk
- update file list
- new snapshot

* Wed Jan 25 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-0.20060125.1mdk
- new snapshot

* Mon Jan 23 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-0.20060123.1mdk
- update patch 10
- disable bonjour for everything older than cooker
- new snapshot

* Mon Jan 23 2006 Olivier Blin <oblin@mandriva.com> 0.8.5-0.20060111.2mdk
- enable bonjour!
- fix typo in slp plugin summary

* Wed Jan 11 2006 Götz Waschk <waschk@mandriva.org> 0.8.5-0.20060111.1mdk
- update file list
- update patches 2,10
- drop merged patch 3
- new snapshot

* Sun Dec 25 2005 Pascal Terjan <pterjan@mandriva.org> 0.8.4a-2mdk
- Allow chosing rtsp local port

* Tue Dec 13 2005 Götz Waschk <waschk@mandriva.org> 0.8.4a-1mdk
- drop merged patch 0
- new version

* Mon Nov 28 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-2mdk
- from Annsi:
 - remove x264 ldflags, fixed upstream
 - fix patch 9
 - use glibc dvb headers, remove buildrequires kernel-source

* Sun Nov 27 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-1mdk
- update patch 9
- upgrade ffmpeg snapshot
- new version

* Fri Nov 11 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test2.2mdk
- from Annsi: fix x264 build

* Thu Nov 10 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test2.1mdk
- update file list
- new version

* Wed Nov 02 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test1.20051101.1mdk
- add new files
- add musepack plugin
- switch to unicode wxGTK
- update patch 3
- new snapshot

* Tue Nov 01 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test1.20051002.5mdk
- build fix for dts on x86_64 (Anssi Hannula)

* Mon Oct 31 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test1.20051002.4mdk
- enable shared libvlc

* Fri Oct 28 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test1.20051002.3mdk
- patch for new hal

* Wed Oct 26 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test1.20051002.2mdk
- rebuild for new mozilla

* Tue Oct 11 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test1.20051002.1mdk
- nightly build

* Wed Sep 28 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-0.test1.1mdk
- enable vcd and cddax, but disable cddb on 2006 (libcddb is too new)
- build fix
- add new plugins
- rediff patches 7,9
- drop patch 8
- drop merged patches 0,4,5,6
- update ffmpeg snapshot
- new version

* Wed Sep 07 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-8mdk
- patch for new samba
- fix ffmpeg configuration
- disable x264

* Sat Jul 30 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-7mdk
- rebuild for new firefox

* Fri Jul 22 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 0.8.2-6mdk
- 64-bit, lib64 and x86_64 fixes
- don't use libtar, it's not fully 64-bit clean though it could work
  as is on x86_64, an API change is necessary to fix that

* Sun Jul 10 2005 Frederic Crozat <fcrozat@mandriva.com> 0.8.2-5mdk
- Patch6 (SVN): add support for restricting httpd access using .host file

* Fri Jul 08 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-4mdk
- rebuild for new dvbpsi

* Thu Jul 07 2005 Frederic Crozat <fcrozat@mandriva.com> 0.8.2-3mdk
- Patch5 : Google Video support

* Wed Jul 06 2005 Frederic Crozat <fcrozat@mandriva.com> 0.8.2-2mdk
- downgrade ffmpeg to 20050427 CVS snapshot, fix mpeg2 encoder,
  needed for Freeplayer
- Update patch4 to fix build with gcc4

* Mon Jun 27 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-1mdk
- new version

* Fri Jun 24 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test3.1mdk
- update x264
- new version

* Fri Jun 10 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test2.3mdk
- disable speex for 10.0
- fix wx deps for the backports
- disable gnutls on 10.1

* Thu Jun 09 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test2.2mdk
- build fixes for mdk 9.2

* Thu Jun 09 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test2.1mdk
- drop patch 0
- new version

* Thu May 26 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test1.6mdk
- rebuild for new firefox

* Tue May 24 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test1.5mdk
- fix buildrequires

* Fri May 20 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test1.4mdk
- fix mkrel

* Fri May 20 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test1.3mdk
- simplify mozilla build
- fix buildrequires

* Thu May 19 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test1.2mdk
- fix deps

* Wed May 18 2005 Götz Waschk <waschk@mandriva.org> 0.8.2-0.test1.1mdk
- update file list
- workaround mozilla-firefox-config bug
- workaround wx-config problem
- update patch 4
- new ffmpeg
- new x264
- new prerelease

* Wed Apr 27 2005 Götz Waschk <waschk@mandriva.org> 0.8.1-11mdk
- rebuild for new wxGTK

* Tue Apr 26 2005 Götz Waschk <waschk@mandriva.org> 0.8.1-10mdk
- rebuild for new libtheora

* Tue Apr 19 2005 Götz Waschk <waschk@linux-mandrake.com> 0.8.1-9mdk
- rebuild for new libcdio

* Thu Apr 07 2005 Götz Waschk <waschk@linux-mandrake.com> 0.8.1-8mdk
- use mkrel macro

* Wed Mar 30 2005 Götz Waschk <waschk@linux-mandrake.com> 0.8.1-7mdk
- build with firefox 1.0.2

* Sat Feb 26 2005 Götz Waschk <waschk@linux-mandrake.com> 0.8.1-6mdk
- build with firefox

* Fri Feb 04 2005 Götz Waschk <waschk@linux-mandrake.com> 0.8.1-5mdk
- reenable wx gui

* Thu Feb 03 2005 Charles A Edwards <eslrahc@mandrake.org>  0.8.1-4mdk
- rebuild for new libcdio 
- multiarch
- temp disable wx..binaries not created

* Tue Dec 21 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.1-3mdk
- rebuild for new mozilla

* Mon Nov 22 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.1-2mdk
- rebuild for new libcdio

* Tue Nov 16 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.1-1mdk
- requires new live
- build with gnutls
- new ffmpeg snapshot
- new version

* Wed Nov 10 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-3mdk
- build with libcdio on Cooker
- new mozilla

* Mon Nov 08 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-2mdk
- fix buildrequires

* Wed Nov 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-1mdk
- add static x264 library
- disable dts
- drop patches 2,3 (obsolete)
- drop merged patch 0
- update ffmpeg
- new version

* Fri Oct 29 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-0.test2.5mdk
- fix deps

* Fri Oct 29 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-0.test2.4mdk
- move wxvlc to the main package

* Sun Oct 17 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-0.test2.3mdk
- enable dvbpsi

* Wed Oct 06 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-0.test2.2mdk
- call automake
- drop support for mdk 9.0
- fix mdk 9.1 build
- fix update from 0.7

* Sat Oct 02 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-0.test2.1mdk
- new plugins: m4a, vobsub, vod_rtsp, stream_out_description, marq, scale, time
- disable parallel build
- make it short-circuit compatible
- fix sysfs linkage
- new prerelease

* Sat Sep 04 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.0-0.test1.1mdk
- add disable rpath option
- disable vcd, cddax, slp, dvbpsi, dvdplay, kde, gnome, gtk
- add opengl plugin package
- drop patches 0,4
- rediff patch 3
- update ffmpeg snapshot
- new prerelease

* Thu Aug 19 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-8mdk
- new mozilla

* Tue Aug 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-7mdk
- fix for speex header location
- patch for new live.com
- rebuild for new flac

* Wed Jul 21 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-6mdk
- enable parallel build
- patch for changed dvb api
- reenable kvlc alias

* Thu Jun 24 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-5mdk
- rebuild for new mozilla

* Sat Jun 12 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-4mdk
- rebuild for new libdvdnav

* Tue Jun 08 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-3mdk
- drop ffmpeg build workaround for Cooker
- new g++
- fix kvlc menu entry

* Thu Jun 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-2mdk
- remove skins if the skins plugin wasn't build
- fix mozilla installation
- disable speex on 9.2
- fix speex deps

* Sun May 23 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-1mdk
- reenable vcd
- fix ffmpeg build
- update ffmpeg
- fix browser plugin
- fix source url
- new version

* Tue May 04 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-0.test2.2mdk
- build with sysfs

* Mon May 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-0.test2.1mdk
- new mozilla
- add new plugins: cdda, cmml, telnet, h264, sgimb, packetizer_h264
- remove missing plugins
- disable external vcd for now
- fix installation
- allow build with wxGTK 2.5.1
- requires new libvcdinfo
- new version

* Sat Apr 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.1-4mdk
- new libvcd

* Sat Apr 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.1-3mdk
- enable theora
- fix skin location

* Mon Mar 15 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.7.1-2mdk 
- add --with-v4l (enable by default)

* Tue Mar 02 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.1-1mdk
- add modplug plugin
- requires new dtsdec
- new ffmpeg
- new version

* Thu Feb 26 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.1-0.test1.4mdk
- use Bitstream Vera Sans Bold as default font (bug 8420)
- fix xosd requirement
- disable mozilla plugin on mdk 9.0
- fix fribidi requirement