Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > dbaecc0cd0e07fd338aee938b6b843c3 > files > 8

vlc-0.8.6d-1mdv2008.0.src.rpm

%define name 		vlc
%define version 0.8.6d
%define vlvc_version 0.7
%define cvs		0
%define pre		0
%if %pre
%define rel		0.%pre.1
%else
%define rel 1
%endif
%define release 	%mkrel %rel
%define ffsvn		7407

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

#fixed2
%{?!mkrel:%define mkrel(c:) %{-c: 0.%{-c*}.}%{!?_with_unstable:%(perl -e '$_="%{1}";m/(.\*\\D\+)?(\\d+)$/;$rel=${2}-1;re;print "$1$rel";').%{?subrel:%subrel}%{!?subrel:1}.%{?distversion:%distversion}%{?!distversion:%(echo $[%{mdkversion}/10])}}%{?_with_unstable:%{1}}%{?distsuffix:%distsuffix}%{?!distsuffix:mdk}}

%define with_plf 0

%define with_mozilla 1
%define with_fribidi 1
%define with_gnomevfs 1
%define with_xml 1
%define with_ncurses 1
%define with_lirc 1
%define	with_wx 1
%define	with_svlc 1
%define with_hal 1
%define with_aa 1
%define with_sdl 1
%define with_ggi 1
%define with_svgalib 0
%define with_fb 1
%define with_xosd 1
%define with_xvideo 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 0
%define with_dvdnav 1
%define with_dvb 1
%define with_dvbpsi 1
%define with_satellite 0
%define	with_ffmpeg 1
%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_v4l 1
%define with_sysfs 1

%define with_esd 1
%define with_jack 1
%define with_arts 1
%define with_alsa 1

%define with_slp 0
%define with_bonjour 1
%define with_daap 1
%define with_upnp 1
%define with_smb 1
%define with_tar 0
%define with_mod 1
%define with_gnutls 1
%define with_vlvc 0

%define libname		%mklibname %name %libmajor
%define develname %mklibname -d %name

%if %mdkversion <= 910
%define with_dvdnav 0
%endif

%if %mdkversion <= 920
%define with_dvb 0
%define with_xml 0
%define with_svlc 0
%define with_theora 0
%define with_sysfs 0
%define with_smb 0
%define with_gnomevfs 0
%endif

%if %mdkversion <= 1000
%define with_speex 0
%define __libtoolize /bin/true
%define with_hal 0
%endif

%if %mdkversion <= 1010
%define with_gnutls 0
%define with_cddax 0
%define with_vcd 0
%define with_daap 0
%endif

%if %mdkversion <= 1020
%define with_xvideo 0
%define with_upnp 0
%endif

%if %mdkversion <= 200600
%define with_bonjour 0
%endif

%if %mdkversion == 200600
#gw we cannot simply update the shared libmatroska on 2006.0, as it is
#incompatible with the version already in main. mkvtoolnix depends on it
%define with_mkv 0
%endif

# without
%{?_without_plf:	%{expand: %%global with_plf 0}}
%{?_without_mozilla:	%{expand: %%global with_mozilla 0}}
%{?_without_fribidi:	%{expand: %%global with_fribidi 0}}
%{?_without_hal:	%{expand: %%global with_hal 0}}
%{?_without_gnomevfs:	%{expand: %%global with_gnomevfs 0}}
%{?_without_ncurses:	%{expand: %%global with_ncurses 0}}
%{?_without_lirc:	%{expand: %%global with_lirc 0}}
%{?_without_wx:		%{expand: %%global with_wx 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_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_ffmpeg:	%{expand: %%global with_ffmpeg 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_v4l:	%{expand: %%global with_v4l 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_esd:	%{expand: %%global with_esd 0}}
%{?_without_jack:	%{expand: %%global with_jack 0}}
%{?_without_arts:	%{expand: %%global with_arts 0}}
%{?_without_alsa:	%{expand: %%global with_alsa 0}}

%{?_without_slp:	%{expand: %%global with_slp 0}}
%{?_without_bonjour:	%{expand: %%global with_bonjour 0}}
%{?_without_daap:	%{expand: %%global with_daap 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}}
%{?_without_vlvc:	%{expand: %%global with_vlvc 0}}

# with
%{?_with_plf:    	%{expand: %%global with_plf 1}}
%{?_with_mozilla:    	%{expand: %%global with_mozilla 1}}
%{?_with_fribidi:    	%{expand: %%global with_fribidi 1}}
%{?_with_hal:		%{expand: %%global with_hal 1}}
%{?_with_gnomevfs:	%{expand: %%global with_gnomevfs 1}}
%{?_with_ncurses:    	%{expand: %%global with_ncurses 1}}
%{?_with_lirc:       	%{expand: %%global with_lirc 1}}
%{?_with_wx:		%{expand: %%global with_wx 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_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_ffmpeg:      	%{expand: %%global with_ffmpeg 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_v4l:       	%{expand: %%global with_v4l 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_esd:        	%{expand: %%global with_esd 1}}
%{?_with_jack:        	%{expand: %%global with_jack 1}}
%{?_with_arts:       	%{expand: %%global with_arts 1}}
%{?_with_alsa:       	%{expand: %%global with_alsa 1}}

%{?_with_slp:		%{expand: %%global with_slp 1}}
%{?_with_bonjour:	%{expand: %%global with_bonjour 1}}
%{?_with_daap:		%{expand: %%global with_daap 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}}
%{?_with_vlvc:		%{expand: %%global with_vlvc 1}}

%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

Summary:	VLC is a free 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
Source1:	ftp://ftp.videolan.org/pub/videolan/vlc/%version/contrib/ffmpeg-%ffsvn.tar.bz2

# vlvc patch
# From https://pfe.epitech.net/frs/?group_id=21&release_id=209
# it is impossible to factorize source url :\
Source2:    vlvc_source-%{vlvc_version}.tar.bz2
# gw use Bistream Vera Sans Bold as default subtitle font
Patch1:	vlc-snapshot-20060219-font.patch
Patch2: vlc-snapshot-20060111-firefox.patch
Patch3: vlc-0.8.6b-firefox.patch
Patch4: vlc-0.8.5-new-cdio.patch
# (gb) 0.8.2-6mdk build built-in static libraries with PIC on non-x86 arches
Patch9: ffmpeg-pic.patch
# Videoconf path from http://www.vlvc.net/

License:	GPLv2+
Group:		Video
URL:		http://www.videolan.org/
#gw readd this when wxvlc is moved back to it's own package
#Requires:	vlc-gui
# 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
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
%ifarch %ix86
BuildRequires: nasm
%endif
%ifarch x86_64
BuildRequires: yasm
%endif
%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
%if %mdkversion >= 1020
Buildrequires:	mozilla-firefox-devel >= 1.0
%else
Buildrequires:	mozilla-devel >= 1.3
%endif
%endif
Provides: gvlc
Obsoletes: gvlc
Provides: gnome-vlc
Obsoletes: gnome-vlc
Provides: kvlc
Obsoletes: kvlc
%if %with_ncurses
Buildrequires:	libncurses-devel
%endif
%if %with_wx
Buildrequires:	wxgtku-devel < 2.7
%endif
%if %with_lirc
Buildrequires:	liblirc-devel
%endif
%if %with_aa
Buildrequires:	aalib-devel
%endif
%if %with_sdl
Buildrequires:	SDL_image-devel
%endif
%if %with_ggi
Buildrequires:	libggi-devel
%endif
%if %with_svgalib
Buildrequires:	svgalib-devel
%endif
%if %mdkversion <= 200610
BuildRequires: libMesaGLU-devel
%else
BuildRequires: libmesaglu-devel
%endif
%if %with_xosd
Buildrequires:	libxosd-devel >= 2
%endif
%if %with_mad
%if %mdkversion >= 920
BuildRequires:  libid3tag-devel
%endif
Buildrequires:	libmad-devel
%endif
%if %with_ogg
Buildrequires:	libvorbis-devel
Buildrequires:	libogg-devel
%endif
%if %with_theora
Buildrequires:	libtheora-devel
%endif
%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_dv
Buildrequires:	libdv-devel
%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
%if %with_ffmpeg
%if %mdkversion >= 200610
Buildrequires:	libffmpeg-devel
%else
%if %mdkversion >= 1000
#gw we don't want to link to the wrong version
#gw we use included cvs version
BuildConflicts: libffmpeg-devel
%else
BuildConflicts: libffmpeg
%endif
%endif
%if %with_lame
BuildRequires:  liblame-devel
%endif
%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_esd
Buildrequires:	libesound-devel
%endif
%if %with_jack
Buildrequires:	libjack-devel
%endif
%if %with_arts
Buildrequires:	libarts-devel
%endif

%if %with_slp
Buildrequires:	libopenslp-devel
%else
Provides: vlc-plugin-slp
Obsoletes: vlc-plugin-slp
%endif

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

%if %with_daap
BuildRequires: libopendaap-devel >= 0.3.0
%endif

%if %with_dvbpsi
BuildRequires: libdvbpsi-devel
%endif
BuildRequires: autoconf2.5
%if %mdkversion <= 910
#BuildRequires: automake1.6
%else
BuildRequires: gettext-devel
BuildRequires: automake1.8
BuildRequires: cvs
%endif
%if %with_dts
BuildRequires:  dtsdec-devel >= 0.0.2
%endif
%if %with_x264
BuildRequires:  x264-devel
%endif
%if %with_xml
BuildRequires: libxml2-devel >= 2.6
%endif
%if %with_live
BuildRequires: live-devel >= 0-0.2004.11.11a
%endif
%if %with_hal
Buildrequires:	hal-devel >= 0.2.97
%endif
%if %with_gnomevfs
BuildRequires: libgnome-vfs2-devel
%endif
%if %with_xvideo
%if %mdkversion >= 200700
BuildRequires:	libxv-devel
%else
BuildRequires:	X11-devel
%endif
%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_vlvc
This package contains the vlvc patch from http://www.vlvc.net/
%endif

%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: A multimedia plugin for Mozilla, based on vlc
group: Video
Requires: %name = %version
%if %mdkversion >= 1020
%define ff_ver %(rpm -q --queryformat %{VERSION} mozilla-firefox)
%else
%define moz_ver %(rpm -q --queryformat %{VERSION} mozilla)
%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

%package plugin-ncurses
Summary: Ncurses console-based plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-ncurses
This plugin adds a ncurses interface to the VLC media player. To
activate it, use the `--intf ncurses' flag.

%package plugin-lirc
Summary: Lirc plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-lirc
Provides: vlc-lirc
%description plugin-lirc
This plugin is an infrared lirc interface for the VLC media player. To
activate it, use the `--extraintf lirc' flag.

%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
%package plugin-aa
Summary: ASCII art video plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-aa
Provides: vlc-aa
%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.


%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
%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.

%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. 

%package plugin-ggi
Summary: GGI video plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-ggi
Provides: vlc-ggi
%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.

%package plugin-svgalib
Summary: SVGAlib video plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%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.


#
# visualization plugins
%package plugin-xosd
Summary: X On-Screen Display plugin for the VLC media player
Group: Video
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.


%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.

%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.

%package plugin-dv
Summary: DV codec plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-dv
This plugin adds support for the DV video format to the VLC media player.
The plugin is autodetected.

%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
%package plugin-esd
Summary: Enlightened Sound Daemon audio plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-esd
Provides: vlc-esd
%description plugin-esd
This plugin adds support for the Enlightened Sound Daemon to the VLC
media player. To activate it, use the `--aout esd' flag or select the
`esd' audio output plugin from the preferences menu.

%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-arts
Summary: Arts audio plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
Obsoletes: vlc-arts
Provides: vlc-arts
%description plugin-arts
This plugin adds support for the aRts Sound System to the VLC media
player. To activate it, use the `--aout arts' flag or select the `arts'
audio output plugin from the preferences menu.



%package plugin-slp
Summary: Service Location Protocol access plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-slp
This plugin adds support for the Service Location Protocol to
the VLC media player.

%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.

%package plugin-daap
Summary: DAAP service discovery plugin for the VLC media player
Group: Video
Requires: %{name} = %{version}
%description plugin-daap
This plugin adds support for DAAP service discovery to the VLC media
player. This allows the connection to iTunes music shares.

%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.


%prep
%if %cvs
%setup -q -n %name-%version-svn -a 1
%else
%setup -q -n %fname -a 1
%endif
%patch1 -p1 -b .font
%if %mdkversion >= 200700
perl -pi -e "s^xDEFAULT_FONTx^/usr/lib/X11/fonts/TTF/VeraBd.ttf^" modules/misc/freetype.c
%else
%if %mdkversion >= 1020
perl -pi -e "s^xDEFAULT_FONTx^/usr/X11R6/lib/X11/fonts/TTF/VeraBd.ttf^" modules/misc/freetype.c
%else
perl -pi -e "s^xDEFAULT_FONTx^/usr/share/fonts/ttf/vera/VeraBd.ttf^" modules/misc/freetype.c
%endif
%endif
rm -rf doc/skins/curve_maker/CVS
%if %mdkversion >= 1020
%if %mdkversion <= 200700
%patch2 -p1
%else
%patch3 -p1 -b .firefox
%endif
%patch4 -p1 -b .cdio
%patch9 -p0 -b .pic

%if %with_vlvc
%setup -q -D -T -a 2 -q

patch -p1 < vlvc-%{vlvc_version}/vlvc.diff
%endif

./bootstrap
aclocal-1.8 -I m4
autoconf
automake-1.8
%endif

%build
# yves 0.4.0-1mdk
# ffmpeg: static linking cause no official ffmpeg release with a stable ABI
# ffmpeg:no plugin posible on ia64 due to the static linking (can not put .a in a .so)
%if %mdkversion < 200610
cd ffmpeg
./configure --libdir=%_libdir --enable-pp --enable-gpl \
%if %with_faad
--enable-faad  \
%endif
%if %with_faac
--enable-faac \
%endif
%if %with_a52
--enable-a52 \
%endif
%if %with_dts
--enable-dts \
%endif
%if %with_lame
--enable-mp3lame
%endif

%if %mdkversion <= 1000
#gw there's an ICE with gcc 3.3.2 and -O3
cd libavcodec
make ffv1.o OPTFLAGS=-O2
cd ..
%endif
#gw parallel build did not work
make lib
cd ..
%endif
#gw work around broken mozilla-*config in all mozilla packages
#gw they don't support the --idlflags option properly
%if %mdkversion >= 200710
export XPIDL="%_libdir/firefox-%ff_ver/xpidl"
%else
%if %mdkversion >= 1020
export XPIDL="%_libdir/mozilla-firefox-%ff_ver/xpidl"
%else
export XPIDL="%_libdir/mozilla-%moz_ver/xpidl -I%_datadir/idl/mozilla-%moz_ver"
%endif
%endif
export QTDIR=%{_libdir}/qt3
# 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"
#gw stupid multiarch needs additional includes
export CPPFLAGS="$CPPFLAGS -I%_libdir/wx/include"
# NO empty line or comments for the configure --switch or it won't work.
# wx-config workaround
export PATH=%_libdir/wx/config/:$PATH
%configure2_5x  --enable-release --enable-pvr \
	--enable-dvd --without-dvdcss \
%if %with_bonjour
	--enable-bonjour \
%else
	--disable-bonjour \
%endif
%if %with_daap
	--enable-daap \
%else
	--disable-daap \
%endif
%if %with_smb
	--enable-smb \
%else
	--disable-smb \
%endif
%if %with_mozilla
	--enable-mozilla \
%else
	--disable-mozilla \
%endif
%if %with_ncurses
	--enable-ncurses \
%endif
%if %with_lirc
	--enable-lirc \
%endif
%if %with_wx
	--enable-wxwidgets \
%if %mdkversion >= 1000
	--with-wx-config=gtk2-unicode-release-2.6 \
%endif
%else 
	--disable-wxwidgets \
%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_ffmpeg
        --enable-pp --enable-ffmpeg \
%if %mdkversion < 200610
        --with-ffmpeg-tree=ffmpeg \
%endif
%if %with_lame
	--with-ffmpeg-mp3lame \
%endif
%else
        --disable-ffmpeg \
%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_dvb
	--enable-dvb \
%if %with_satellite
--enable-satellite \
%endif
%else
	--disable-dvb --disable-satellite \
%endif
%if %with_esd
	--enable-esd \
%endif
%if %with_jack
	--enable-jack \
%endif
%if %with_alsa
	--enable-alsa \
%endif
%if %with_arts
	--enable-arts \
%endif
%if %with_mpeg2dec
	--enable-libmpeg2 \
%else
	--disable-libmpeg2 \
%endif
%if %with_faad
	--enable-faad \
%endif
%if %with_dts
	--enable-dts \
%else
	--disable-dts \
%endif
%if ! %with_svlc
	--disable-skins2 \
%endif
%if ! %with_dvdnav
	--disable-dvdnav \
%endif
%if %with_live
	--enable-live555 --with-live555-tree=%_libdir/live \
%endif
%if %with_v4l
        --enable-v4l \
%endif
%if %with_gnutls
	--enable-gnutls \
%endif
	--disable-rpath \
%if %with_vcd
	--enable-vcdx \
%endif
%if %with_cddax 
	--enable-cddax \
%if %with_cddb
	--enable-cddb \
%else
	--disable-cddb \
%endif
%endif
	--enable-libtool \
%if %with_x264
	--enable-x264 \
%else
	--disable-x264 \
%endif
%if %with_loader
	--enable-loader \
%endif
%ifarch x86_64
        --with-pic
%endif


%if %mdkversion >= 1020
#gw the broken mozilla-firefox-config produced broken makefile
perl -pi -e "s°%%{idldir}°%_datadir/idl/mozilla-firefox-%ff_ver°" mozilla/Makefile
%endif
#gw problem with parallel build in 0.8.1
make XPIDL="$XPIDL"
rm -f vlc
make vlc 
%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
mkdir -p %buildroot/%_menudir
cat > %buildroot/%_menudir/vlc << EOF
?package(vlc): command="%_bindir/vlc" hotkey="V" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC media player" icon="vlc.png" hints="Video" \
mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
accept_url="true"\
multiple_files="true" xdg="true"
EOF

%if %with_svlc
cat > %buildroot/%_menudir/svlc << EOF
?package(svlc): command="%_bindir/svlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC skinned GUI media player" icon="vlc.png" hints="Video" \
mimetypes="video/mpeg,video/msvideo,video/quicktime,video/x-avi,video/x-ms-asf,video/x-ms-wmv,video/x-msvideo,application/x-ogg,application/ogg,audio/x-mp3,audio/x-mpeg,video/x-fli,audio/x-wav"\
accept_url="true"\
multiple_files="true" xdg="true"
EOF
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=GTK;AudioVideo;Audio;Video;Player;X-MandrivaLinux-Multimedia-Video;
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 >= 1020
%multiarch_binaries $RPM_BUILD_ROOT%{_bindir}/vlc-config
%endif

%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig

%post
%update_menus
%update_desktop_database

%postun
%clean_menus
%clean_desktop_database

%clean
rm -fr %buildroot

%files -f %name.lang
%defattr(-,root,root)
%doc NEWS README COPYING AUTHORS MAINTAINERS THANKS
%doc installed-docs/* doc/lirc/
%if %with_wx
%_bindir/wxvlc
%_libdir/vlc/gui/libwxwidgets_plugin.so*
%endif
%_bindir/vlc
%dir %_datadir/vlc/
%_datadir/vlc/*.*
%_datadir/vlc/http
%_datadir/vlc/osdmenu/
%dir %_libdir/vlc

%dir %_libdir/vlc/access
%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*
%if %with_gnomevfs
%_libdir/vlc/access/libaccess_gnomevfs_plugin.so*
%endif
%_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
%if %with_v4l
%_libdir/vlc/access/libv4l_plugin.so*
%endif
%_libdir/vlc/access/libdvdread_plugin.so*
%_libdir/vlc/access/libpvr_plugin.so
%_libdir/vlc/access/libscreen_plugin.so*
%if %with_vcd
%_libdir/vlc/access/libvcdx_plugin.so*
%endif
%_libdir/vlc/access/libvcd_plugin.so*

%dir %_libdir/vlc/access_filter
%_libdir/vlc/access_filter/libaccess_filter_dump_plugin.so
%_libdir/vlc/access_filter/libaccess_filter_record_plugin.so*
%_libdir/vlc/access_filter/libaccess_filter_timeshift_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*
%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/libfixed32tofloat32_plugin.so*
%_libdir/vlc/audio_filter/libfixed32tos16_plugin.so*
%_libdir/vlc/audio_filter/libfloat32tos16_plugin.so*
%_libdir/vlc/audio_filter/libfloat32tos8_plugin.so*
%_libdir/vlc/audio_filter/libfloat32tou16_plugin.so*
%_libdir/vlc/audio_filter/libfloat32tou8_plugin.so*
%_libdir/vlc/audio_filter/libheadphone_channel_mixer_plugin.so*
%_libdir/vlc/audio_filter/liblinear_resampler_plugin.so*
%_libdir/vlc/audio_filter/libnormvol_plugin.so*
%_libdir/vlc/audio_filter/libparam_eq_plugin.so*
%_libdir/vlc/audio_filter/libs16tofixed32_plugin.so*
%_libdir/vlc/audio_filter/libs16tofloat32_plugin.so*
%_libdir/vlc/audio_filter/libs16tofloat32swab_plugin.so*
%_libdir/vlc/audio_filter/libs8tofloat32_plugin.so*
%_libdir/vlc/audio_filter/libsimple_channel_mixer_plugin.so*
%_libdir/vlc/audio_filter/libtrivial_channel_mixer_plugin.so*
%_libdir/vlc/audio_filter/libtrivial_resampler_plugin.so*
%_libdir/vlc/audio_filter/libu8tofixed32_plugin.so*
%_libdir/vlc/audio_filter/libu8tofloat32_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/libaraw_plugin.so*
%_libdir/vlc/codec/libcinepak_plugin.so*
%_libdir/vlc/codec/libcmml_plugin.so*
%_libdir/vlc/codec/libcvdsub_plugin.so*
%_libdir/vlc/codec/libfake_plugin.so*
%_libdir/vlc/codec/librawvideo_plugin.so*
%_libdir/vlc/codec/libsvcdsub_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
%if %with_ffmpeg
%_libdir/vlc/codec/libffmpeg_plugin.so
	%ifarch %ix86
#	%_libdir/vlc/codec/libpostprocessing_mmx_plugin.so*
#	%_libdir/vlc/codec/libpostprocessing_mmxext_plugin.so*
	%endif
%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*
%_libdir/vlc/codec/libquicktime_plugin.so*
%endif
%_libdir/vlc/codec/libtelx_plugin.so
%dir %_libdir/vlc/control
%_libdir/vlc/control/libhotkeys_plugin.so*
%_libdir/vlc/control/libhttp_plugin.so*
%_libdir/vlc/control/libnetsync_plugin.so*
%_libdir/vlc/control/librc_plugin.so*
%_libdir/vlc/control/libshowintf_plugin.so*
%_libdir/vlc/control/libtelnet_plugin.so*
%_libdir/vlc/control/libgestures_plugin.so*

%dir %_libdir/vlc/demux
#%_libdir/vlc/demux/libaac_plugin.so*
%_libdir/vlc/demux/libaiff_plugin.so*
%_libdir/vlc/demux/libasf_plugin.so*
%_libdir/vlc/demux/libau_plugin.so*
%_libdir/vlc/demux/libavi_plugin.so*
%_libdir/vlc/demux/liba52sys_plugin.so*
%_libdir/vlc/demux/libdemuxdump_plugin.so*
%_libdir/vlc/demux/libdtssys_plugin.so*
%_libdir/vlc/demux/libh264_plugin.so*
#%_libdir/vlc/demux/libid3_plugin.so*
%_libdir/vlc/demux/libm3u_plugin.so*
%_libdir/vlc/demux/libm4a_plugin.so*
%_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/libmpga_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/librawdv_plugin.so*
%_libdir/vlc/demux/libreal_plugin.so*
%_libdir/vlc/demux/libsgimb_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/libvoc_plugin.so*
%_libdir/vlc/demux/libwav_plugin.so*
%if %with_dvbpsi
%_libdir/vlc/demux/libts_plugin.so*
#%_libdir/vlc/mux/libmux_ts_plugin.so*
%endif
%_libdir/vlc/demux/libxa_plugin.so*

%if %with_satellite
%_libdir/vlc/access/libsatellite_plugin.so*
%endif

%dir %_libdir/vlc/misc
%_libdir/vlc/misc/libdummy_plugin.so*
%_libdir/vlc/misc/libexport_plugin.so*
%_libdir/vlc/misc/libfreetype_plugin.so*
%_libdir/vlc/misc/libipv4_plugin.so*
%_libdir/vlc/misc/libipv6_plugin.so*
%_libdir/vlc/misc/liblogger_plugin.so*
%_libdir/vlc/misc/libmemcpy_plugin.so*
%_libdir/vlc/misc/libnotify_plugin.so*
%_libdir/vlc/misc/libscreensaver_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*
%_libdir/vlc/misc/libgrowl_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_wav_plugin.so*
%dir %_libdir/vlc/gui/
%dir %_libdir/vlc/packetizer
%_libdir/vlc/packetizer/libpacketizer_copy_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_h264_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_mpeg4video_plugin.so*
%_libdir/vlc/packetizer/libpacketizer_mpegvideo_plugin.so*

%dir %_libdir/vlc/services_discovery/
%_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/services_discovery/libhal_plugin.so*
%endif

%dir %_libdir/vlc/stream_out
%_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_rtp_plugin.so*
%_libdir/vlc/stream_out/libstream_out_standard_plugin.so*
%_libdir/vlc/stream_out/libstream_out_switcher_plugin.so
%_libdir/vlc/stream_out/libstream_out_transcode_plugin.so*

%dir %_libdir/vlc/video_chroma
%_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_yuy2_plugin.so*

%dir %_libdir/vlc/video_filter
%_libdir/vlc/video_filter/libadjust_plugin.so*
%_libdir/vlc/video_filter/libblend_plugin.so*
%_libdir/vlc/video_filter/libclone_plugin.so*
%_libdir/vlc/video_filter/libcrop_plugin.so*
%_libdir/vlc/video_filter/libdeinterlace_plugin.so*
%_libdir/vlc/video_filter/libdistort_plugin.so*
%_libdir/vlc/video_filter/libinvert_plugin.so*
%if %mdkversion > 910
%_libdir/vlc/video_filter/liblogo_plugin.so*
%endif
%_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/libosdmenu_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/libtime_plugin.so*
%_libdir/vlc/video_filter/libtransform_plugin.so*
%_libdir/vlc/video_filter/libwall_plugin.so*

%dir %_libdir/vlc/video_output
%if %with_fb
%_libdir/vlc/video_output/libfb_plugin.so*
%endif
%_libdir/vlc/video_output/libimage_plugin.so*
%_libdir/vlc/video_output/libx11_plugin.so*
%if %with_xvideo
%_libdir/vlc/video_output/libxvideo_plugin.so*
%endif
%dir %_libdir/vlc/visualization
%_libdir/vlc/visualization/libvisual_plugin.so*
%if %with_mad
%_libdir/vlc/audio_filter/libmpgatofixed32_plugin.so*
%_libdir/vlc/demux/libid3tag_plugin.so*
%endif
%if %with_alsa
%_libdir/vlc/audio_output/libalsa_plugin.so*
%endif
%_mandir/man1/vlc.*
%_menudir/vlc
%_datadir/applications/vlc.desktop
%_miconsdir/vlc.png
%_iconsdir/vlc.png
%_liconsdir/vlc.png

%files -n %libname
%defattr(-,root,root)
%_libdir/libvlc.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
%_includedir/vlc/*
%attr(644,root,root) %_libdir/libvlc.la
%_bindir/vlc-config
%if %mdkversion >= 1020
%multiarch %{multiarch_bindir}/vlc-config
%endif
%_mandir/man1/vlc-config*

%if %with_mozilla
%files -n mozilla-plugin-vlc
%defattr(-,root,root)
%doc README
%_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*
%_menudir/svlc
%_datadir/applications/mandriva-svlc.desktop
%_datadir/vlc/skins2
%post   -n svlc
%update_menus
%update_desktop_database

%postun -n svlc
%clean_menus
%clean_desktop_database
%endif

%if %with_ncurses
%files plugin-ncurses
%defattr(-,root,root)
%doc README
%_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/visualization/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_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/libflac_plugin.so*
%_libdir/vlc/codec/libflacdec_plugin.so*


%if %with_dv
%files plugin-dv
%defattr(-,root,root)
%doc README
%_libdir/vlc/codec/libdv_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_esd
%files plugin-esd
%defattr(-,root,root)
%doc README
%_libdir/vlc/audio_output/libesd_plugin.so*
%endif

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

%if %with_arts
%files plugin-arts
%defattr(-,root,root)
%doc README
%_libdir/vlc/audio_output/libarts_plugin.so*
%endif

%if %with_slp
%files plugin-slp
%defattr(-,root,root)
%doc README
%_libdir/vlc/access/libslp_plugin.so*
%endif

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

%if %with_daap
%files plugin-daap
%defattr(-,root,root)
%doc README
%_libdir/vlc/services_discovery/libdaap_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




%changelog
* Mon Dec 03 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.8.6d-1mdv2008.0
+ Revision: 114483
- 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 <fundawang@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 <tvignaud@mandriva.com>
    - 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