]> git.sesse.net Git - vlc/blobdiff - vlc.fedora.spec
* use the hard-coded authors and thanks lists instead of bundled files and incorporat...
[vlc] / vlc.fedora.spec
index fe8bb843a3cc7f937acd06a8bfe559f647d8f4a4..057356421bb0571c03cbe271b94bff1ca3997c7c 100644 (file)
-%define mozver 1.7.3
-%define ffmpeg_date 20040520
-
-Summary: The VideoLAN client, also a very good standalone video player.
-Name: vlc
-Version: 0.8.0
-Release: test2
-Group: Applications/Multimedia
-License: GPL
-URL: http://www.videolan.org/
-Source0: http://www.videolan.org/pub/videolan/vlc/vlc-%{version}-%{release}.tar.bz2
-Source1: http://download.videolan.org/pub/videolan/vlc/%{version}/contrib/ffmpeg-%{ffmpeg_date}.tar.bz2
-
-Buildroot: %{_tmppath}/%{name}-root
-Packager: Jason Luka <jason@geshp.com>
-Buildrequires: desktop-file-utils, libpostproc >= 1.0
-%{!?_without_dvd:Buildrequires: libdvdcss-devel >= 1.2.8}
-%{!?_without_dvdread:Buildrequires: libdvdread-devel >= 0.9.4}
-%{?_with_dvdplay:Buildrequires: libdvdplay-devel >= 1.0.1}
-%{!?_without_dvdnav:Buildrequires: libdvdnav >= 0.1.10}
-%{!?_without_dvbpsi:Buildrequires: libdvbpsi-devel >= 0.1.3}
-%{!?_without_ogg:Buildrequires: libogg-devel}
-%{!?_without_mad:Buildrequires: libmad-devel >= 0.15.0b}
-%{?_with_xvid:Buildrequires: xvidcore-devel >= 0.9.2}
-%{!?_without_a52:Buildrequires: a52dec-devel}
-%{?_with_dv:Buildrequires: libdv-devel >= 0.99}
-%{!?_without_flac:Buildrequires: flac-devel >= 1.1.0}
-%{!?_without_vorbis:Buildrequires: libvorbis-devel}
-%{!?_without_sdl:Buildrequires: SDL-devel}
-%{!?_without_aa:Buildrequires: aalib-devel}
-%{!?_without_esd:Buildrequires: esound-devel}
-%{!?_without_arts:Buildrequires: arts-devel}
-%{!?_without_alsa:Buildrequires: alsa-lib-devel}
-%{?_with_gtk:Buildrequires: gtk+-devel}
-%{?_with_gnome:Buildrequires: gnome-libs-devel}
-%{!?_without_lirc:Buildrequires: lirc}
-%{?_with_qt:Buildrequires: qt-devel}
-%{?_with_kde:Buildrequires: kdelibs-devel}
-%{!?_without_ncurses:Buildrequires: ncurses-devel >= 5}
-%{!?_without_xosd:Buildrequires: xosd-devel >= 2.2.5}
-%{!?_without_id3tag:BuildRequires: libid3tag-devel}
-%{!?_without_mpeg2dec:BuildRequires: mpeg2dec-devel >= 0.3.2}
-%{!?_without_wxwindows:BuildRequires: wxGTK-devel >= 2.4.2}
-%{!?_without_mozilla:BuildRequires: mozilla-devel >= %{mozver}}
-%{!?_without_mozilla:BuildRequires: mozplugger >= 1.3.2}
-%{!?_without_speex:BuildRequires: speex-devel >= 1.0.3}
-%{!?_without_aa:BuildRequires: aalib >= 1.4}
-%{!?_without_mkv:BuildRequires: libmatroska-devel}
-%{!?_without_fribidi:BuildRequires: fribidi-devel}
-%{!?_without_caca:BuildRequires: libcaca-devel}
-
-Obsoletes: videolan-client, matroska, libebml, libmatroska
-
-Requires: desktop-file-utils
-%{!?_without_dvd:Requires: libdvdcss >= 1.2.8}
-%{!?_without_dvdread:Requires: libdvdread >= 0.9.4}
-%{?_with_dvdplay:Requires: libdvdplay >= 1.0.1}
-%{!?_without_dvbpsi:Requires: libdvbpsi >= 0.1.3}
-%{!?_without_ogg:Requires: libogg}
-%{!?_without_mad:Requires: libmad >= 0.15.0b}
-%{!?_without_xvid:Requires: xvidcore >= 0.9.2}
-%{!?_without_a52:Requires: a52dec}
-%{?_with_dv:Requires: libdv >= 0.99}
-%{!?_without_flac:Requires: flac >= 1.1.0}
-%{!?_without_vorbis:Requires: libvorbis}
-%{!?_without_sdl:Requires: SDL}
-%{!?_without_aa:Requires: aalib >= 1.4}
-%{!?_without_esd:Requires: esound}
-%{!?_without_arts:Requires: arts}
-%{!?_without_alsa:Requires: alsa-lib}
-%{?_with_gtk:Requires: gtk+}
-%{?_with_gnome:Requires: gnome-libs}
-%{?_with_qt:Requires: qt}
-%{?_with_kde:Requires: kdelibs}
-%{?_with_ncurses:Requires: ncurses}
-%{?_with_xosd:Requires: xosd >= 2.2.5}
-%{!?_without_lirc:Requires: lirc}
-%{!?_without_mozilla:Requires: mozilla >= %{mozver}}
-%{!?_without_speex:Requires: speex >= 1.0.3}
-%{!?_without_wxwindows:Requires: wxGTK >= 2.4.2}
-%{!?_without_fribidi:Requires: fribidi}
+# TODO: daap, goom, libdc1394, libggi, java-vlc.
+#
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+
+%define with_static_ffmpeg             1
+%define ffmpeg_date    20070503
+%define with_static_live555            0
+%define live555_date   2007.04.24a
+%define vlc_svn                                0
+%define vlc_date    20070514
+%define with_dirac                     1
+%define with_mozilla                   1
+%define with_java_vlc                  0
+%define rpmfusion                      0
+
+
+Summary:       Multi-platform MPEG, DVD, and DivX player
+Name:          vlc
+%if %vlc_svn
+%define release_tag   0.1
+%define _version %{version}-svn
+Version:       0.9.0
+Release:       %{release_tag}.%{vlc_date}svn%{?dist}
+%else
+Version:       0.8.6b
+%define release_tag   5
+%define _version %{version}
+Release:       %{release_tag}%{?dist}.2
+%endif
+License:       GPL
+Group:         Applications/Multimedia
+URL:           http://www.videolan.org/
+%if %vlc_svn   
+Source0:        http://nightlies.videolan.org/build/source/vlc-snapshot-%{vlc_date}.tar.bz2
+%else
+Source0:       http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}.tar.bz2
+## Bugfix sources...
+#Source0:      http://nightlies.videolan.org/build/source/vlc-snapshot-branch-0.8.6-bugfix-%{vlc_date}.tar.gz
+%endif
+%if %with_static_ffmpeg
+Source1:       http://rpm.greysector.net/livna/ffmpeg-%{ffmpeg_date}.tar.bz2
+%endif
+%if %with_static_live555
+Source2:       http://www.live555.com/liveMedia/public/live.%{live555_date}.tar.gz
+%endif
+Patch0:        vlc-0.8.6-ffmpegX11.patch
+Patch1:        vlc-0.8.6-wx28.patch
+Patch2:        vlc-0.8.6a-faad2.patch
+Patch3:                vlc-0.8.6a-automake110.patch
+Patch4:                vlc-0.8.6-FLAC_api_change.patch
+Patch6:                vlc-trunk-dirac_0_6_0-api.patch
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: desktop-file-utils
+BuildRequires: libtool
+
+BuildRequires: a52dec-devel
+BuildRequires: aalib-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: arts-devel
+BuildRequires: avahi-devel
+BuildRequires:  cdparanoia-devel
+# Don't work now wip
+#BuildRequires:  directfb-devel
+BuildRequires: esound-devel
+BuildRequires: faac-devel
+BuildRequires: faad2-devel < 2.5
+BuildRequires: flac-devel
+BuildRequires: fribidi-devel
+# wip -  glide.h usability... no
+#BuildRequires:  Glide3-devel
+#BuildRequires:  Glide3-libGL
+BuildRequires:  gnome-vfs2-devel
+BuildRequires: gnutls-devel >= 1.0.17
+BuildRequires: gsm-devel
+BuildRequires:  gtk2-devel
+BuildRequires: hal-devel
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: lame-devel
+BuildRequires:  libavc1394-devel
+BuildRequires: libcaca-devel
+BuildRequires: libcddb-devel
+BuildRequires: libcdio-devel >= 0.77-3
+# kwizart this is the same issue with cdio and cddax svcdx configure options.
+# http://bugzilla.livna.org/show_bug.cgi?id=1342 or see
+# http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221359
+BuildConflicts:        libcdio-devel = 0.78.2  
+BuildRequires: libdca-devel
+BuildRequires: libdv-devel
+BuildRequires: libdvbpsi-devel
+BuildRequires: libdvdnav-devel
+BuildRequires:  libebml-devel
+BuildRequires: libid3tag-devel
+BuildRequires: libGLU-devel
+BuildRequires: libmad-devel
+BuildRequires: libmatroska-devel >= 0.7.6
+BuildRequires: libmodplug-devel
+BuildRequires: libmpcdec-devel
+BuildRequires:  libnotify-devel
+BuildRequires: libpng-devel
+BuildRequires:  libraw1394-devel
+BuildRequires: librsvg2-devel >= 2.5.0
+BuildRequires: libsysfs-devel
+BuildRequires:  libshout-devel
+BuildRequires: libtar-devel
+BuildRequires: libtheora-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  libupnp-devel
+BuildRequires: libvorbis-devel
+BuildRequires:  libxml2-devel
+BuildRequires: lirc-devel
+%if %with_static_live555 
+BuildConflicts: live-devel
+%else
+BuildRequires: live-devel >= 0-0.11.2006.08.07
+%endif
+BuildRequires: mpeg2dec-devel >= 0.3.2
+BuildRequires: ncurses-devel
+BuildRequires: openslp-devel
+BuildRequires:  ORBit2-devel
+# This Seem Broken
+#BuildRequires:        portaudio
+BuildRequires: pth-devel
+BuildRequires: python-devel
+BuildRequires:  pyorbit-devel
+BuildRequires: SDL_image-devel
+BuildRequires: speex-devel >= 1.1.5
+%ifarch %{ix86} x86_64
+BuildRequires:  svgalib-devel
+%endif
+BuildRequires: twolame-devel
+BuildRequires: vcdimager-devel >= 0.7.21
+BuildRequires: wxGTK-devel >= 2.6
+BuildRequires: x264-devel >= 0-0.8.20061028
+BuildRequires: xosd-devel
+BuildRequires: xvidcore-devel
+BuildRequires: zlib-devel
+
+# X-libs
+BuildRequires: libXt-devel
+BuildRequires: libXv-devel
+BuildRequires:  libXxf86vm-devel
+
+%if "%fedora" > "6"
+BuildRequires: libsmbclient-devel
+%else 
+BuildRequires: samba-common
+%endif
+
+%if %with_mozilla
+BuildRequires: firefox-devel >= 1.5.0.0
+## Will be later replaced by 
+#BuildRequires:  xulrunner-devel
+##
+BuildRequires: nspr-devel
+BuildRequires: nss-devel
+BuildRequires: js-devel
+%endif
+
+%if %with_static_ffmpeg
+## Static version already bundle it
+BuildConflicts:        ffmpeg-devel
+%else
+BuildRequires: ffmpeg-devel >= 0.4.9-0
+%endif
+
+%if %with_dirac
+# Diract is still experimental in vlc - 0.6.0 is now in Fedora
+# Review http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221405
+BuildRequires: dirac-devel >= 0.6.0
+%endif
+
+%if %with_java_vlc
+BuildRequires: libgcj-devel
+%endif
+
+%if %vlc_svn
+BuildRequires:  opencv-devel
+BuildRequires:  qt4-devel
+BuildRequires:  dbus-devel
+BuildRequires:  xorg-x11-proto-devel
+#BuildRequires:  lua-devel
+%endif
+
+%if %rpmfusion
+BuildRequires:  libopendaap-devel
+BuildRequires:  libgoom2-devel
+BuildRequires:  libdc1394-devel
+BuildRequires:  libggi-devel
+%endif
+
+
+Provides:      videolan-client = %{version}-%{release}
+Provides:      videolan-client-wx = %{version}-%{release}
+Provides:      videolan-client-ncurses = %{version}-%{release}
+Obsoletes:     videolan-client < 0.8.1
+#Obsoletes:    videolan-client-gnome < 0.8.1
+#Obsoletes:    videolan-client-kde < 0.8.1
+Obsoletes:     videolan-client-ncurses < 0.8.1
+Obsoletes:     videolan-client-wx < 0.8.1
+
+%package devel
+Summary:       Development package for %{name}
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:       %{name} = %{version}-%{release}
+Provides:      videolan-client-devel = %{version}-%{release}
+Obsoletes:     videolan-client-devel < 0.8.1
 
 %description
-VideoLAN Client (VLC) is a highly portable multimedia player for various
-audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as
-well as DVDs, VCDs, and various streaming protocols.
+VLC (initially VideoLAN Client) is a highly portable multimedia player
+for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
+mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
+It can also be used as a server to stream in unicast or multicast in
+IPv4 or IPv6 on a high-bandwidth network.
 
-Available rpmbuild rebuild options :
---without dvd dvdread dvdplay dvbpsi dv v4l avi asf aac ogg rawdv mad ffmpeg xvid
-          mp4 a52 vorbis mpeg2dec flac aa esd arts alsa gtk gnome xosd lsp lirc
-          pth id3tag dv qt kde ncurses faad wxwindows mkv fribidi theora
+%description devel
+This package contains development files for VLC Media Player.
 
-Options that would need not yet existing add-on packages :
---with tremor tarkin ggi glide svgalib mga
+VLC (initially VideoLAN Client) is a highly portable multimedia player
+for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
+mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
+It can also be used as a server to stream in unicast or multicast in
+IPv4 or IPv6 on a high-bandwidth network.
 
 
-%package devel
-Summary: Header files and static library from the Videolan Client.
-Group: Development/Libraries
-Requires: %{name} = %{version}
+%package -n python-vlc
+Summary:       VLC Media Player binding for Python
+Group:         Applications/Multimedia 
+Requires:      %{name} = %{version}-%{release}
+Requires:       pyorbit
 
-%description devel
-VideoLAN Client (VLC) is a highly portable multimedia player for various
-audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as
-well as DVDs, VCDs, and various streaming protocols.
+%description -n python-vlc
+VLC Media Player binding for Python 
 
-Install this package if you need to build Videolan Client plugins or intend
-to link statically to it.
 
+%if %with_mozilla
+%package -n mozilla-vlc
+Summary:       VLC Media Player plugin for Mozilla compatible web browsers
+Group:         Applications/Multimedia 
+Requires:      %{name} = %{version}-%{release}
+Requires:      %{_libdir}/mozilla/plugins
+Provides:      videolan-client-mozilla = %{version}-%{release}
+Obsoletes:     videolan-client-mozilla < 0.8.1
 
-%prep
-%setup -q -n vlc-%{version} -a 1
+%description -n mozilla-vlc
+This package contains a VLC Media Player plugin for Mozilla compatible
+web browsers.
 
-# Build bundeled ffmpeg first
-pushd ffmpeg-%{ffmpeg_date}
-    %configure \
-        --disable-shared \
-        --enable-gpl \
-        --enable-pp \
-        %{!?_without_lame: --enable-mp3lame} \
-        %{!?_without_vorbis: --enable-vorbis} \
-        %{!?_without_faad: --enable-faad} \
-        %{!?_without_faac: --enable-faac} \
-        %{!?_without_a52dec: --enable-a52}
-    %{__make} %{?_smp_mflags}
-popd
+VLC (initially VideoLAN Client) is a highly portable multimedia player
+for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
+mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
+It can also be used as a server to stream in unicast or multicast in
+IPv4 or IPv6 on a high-bandwidth network.
+%endif
 
-export XPIDL=%{_libdir}/mozilla-%mozver/xpidl
-export XPIDL_INCL=-I%{_includedir}/mozilla-%mozver
-./bootstrap
+%if %with_java_vlc
+%package -n java-vlc
+Summary:       VLC Media Player binding for Java
+Group:         Applications/Multimedia 
+Requires:      %{name} = %{version}-%{release}
 
-%build
-cp %{_libdir}/mozilla/plugins/mozplugger.so %{_libdir}/mozilla-%{mozver}/plugins/mozplugger.so.bak -f
-mv %{_libdir}/mozilla-%{mozver}/plugins/mozplugger.so.bak %{_libdir}/mozilla-%{mozver}/plugins/mozplugger.so -f
-rm %{_libdir}/mozilla -fr
-ln %{_libdir}/mozilla-%{mozver} %{_libdir}/mozilla -sf
-ln /usr/share/idl/mozilla-%{mozver} /usr/share/idl/mozilla -sf
-#ln %{_libdir}/libxvidcore.so.2 %{_libdir}/libxvidcore.so -sf
+%description -n java-vlc
+VLC Media Player binding for Java
+%endif
 
-%configure \
-       --enable-release \
-       --enable-vcd \
-       --enable-x11 \
-       --enable-xvideo \
-       --disable-qte \
-       --disable-directx \
-       --enable-fb \
-       %{!?_without_dvdread:--enable-dvdread} \
-       %{!?_without_dvdnav:--enable-dvdnav} \
-       %{!?_without_dvbpsi:--enable-dvbpsi} \
-       %{!?_without_v4l:--enable-v4l} \
-        %{!?_without_ffmpeg:--enable-ffmpeg} \
-        %{!?_without_ffmpeg:--with-ffmpeg-tree=ffmpeg-%{ffmpeg_date}} \
-       %{!?_without_flac:--enable-flac} \
-       %{!?_without_theora:--enable-theora} \
-       %{!?_without_mad:--enable-mad} \
-       %{!?_without_faad:--enable-faad} \
-       %{!?_without_aa:--enable-aa} \
-       %{!?_without_caca:--enable-caca} \
-       %{!?_without_dvb:--enable-dvb} \
-       %{!?_without_pvr:--enable-pvr} \
-       %{!?_without_livedotcom:--enable-livedotcom --with-livedotcom-tree=%{_libdir}/live} \
-       %{!?_without_alsa:--enable-alsa} \
-       %{!?_without_esd:--enable-esd} \
-       %{!?_without_arts:--enable-arts} \
-       %{!?_without_fribidi:--enable-fribidi} \
-       %{!?_without_freetype:--enable-freetype} \
-       %{!?_without_wxwindows:--enable-wxwindows} \
-       %{!?_without_ncurses:--enable-ncurses} \
-       %{!?_without_lirc:--enable-lirc} \
-       %{!?_without_mozilla:--enable-mozilla} \
-       %{?_with_xvid:--enable-xvid} \
-       %{?_with_dv:--enable-dv} \
-       %{!?_without_sdl:--enable-sdl} \
-       %{?_with_xosd:--enable-xosd} \
-       %{?_with_slp:--enable-slp} \
-        %{?_without_mkv:--disable-mkv} \
-       %{?_with_tremor:--enable-tremor} \
-       %{?_with_tarkin:--enable-tarkin} \
-       %{?_without_mp4:--disable-mp4} \
-       %{?_without_a52:--disable-a52} \
-       %{?_without_cinepak:--disable-cinepak} \
-       %{?_without_mpeg2dec:--disable-libmpeg2} \
-       %{?_without_vorbis:--disable-vorbis} \
-       %{?_with_mga:--enable-mga} \
-       %{?_with_svgalib:--enable-svgalib} \
-       %{?_with_ggi:--enable-ggi} \
-       %{?_with_glide:--enable-glide} \
-       --without-wingdi \
-       --enable-oss \
-        --disable-waveout \
-       %{?_with_gtk:--enable-gtk} \
-       --disable-familiar \
-       %{?_with_gnome:--enable-gnome} \
-       %{?_with_qt:--enable-qt} \
-       %{?_with_kde:--enable-kde} \
-       --disable-opie \
-       --disable-macosx \
-       --disable-qnx \
-       --disable-intfwin \
-       %{?_with_pth:--enable-pth} \
-       --disable-st \
-        %{?_without_speex:--disable-speex} \
-       --disable-testsuite \
-       %{?_with_dvdplay:--enable-dvdplay} \
-       %{?_without_dvd:--disable-dvd} \
-       %{?_without_avi:--disable-avi} \
-       %{?_without_asf:--disable-asf} \
-       %{?_without_aac:--disable-aac} \
-       %{?_without_ogg:--disable-ogg} \
-       %{?_without_rawdv:--disable-rawdv}
-
-make %{?_smp_mflags}
 
-%install
-rm -rf %{buildroot}
-%makeinstall
-find  %{buildroot}%{_libdir}/vlc -name "*.so" | xargs strip
-%find_lang vlc
-
-cat > %{name}.desktop << EOF
-[Desktop Entry]
-Name=VideoLAN Media Player
-Comment=%{summary}
-Icon=%{_datadir}/vlc/vlc48x48.png
-Exec=vlc
-Terminal=0
-Type=Application
-EOF
-
-mv %{buildroot}%{_libdir}/mozilla %{buildroot}%{_libdir}/mozilla-%{mozver} -f
-
-mkdir -p %{buildroot}%{_datadir}/applications
-desktop-file-install --vendor gnome --delete-original             \
-  --dir %{buildroot}%{_datadir}/applications                      \
-  --add-category X-Red-Hat-Base                                   \
-  --add-category Application                                      \
-  --add-category AudioVideo                                       \
-  %{name}.desktop
+%prep
+%setup -q -n %{name}-%{_version}
+%if %with_static_ffmpeg
+%setup -q -D -T -a 1 -n %{name}-%{_version}
+%endif
+%if %with_static_live555
+%setup -q -D -T -a 2 -n %{name}-%{_version}
+%endif
+
+%patch0 -p1 -b .ffmpegX11
+%patch1 -p1 -b .wx28
+%if %vlc_svn
+#Xvmc quick fix on svn and AMD64
+sed -i 's|pop |popl |g' modules/codec/xvmc/*
+sed -i 's|push |pushl |g' modules/codec/xvmc/*
+%else
+%patch2 -p1 -b .faad2
+%patch3 -p0 -b .automake110
+%patch4 -p1 -b .FLAC_api
+%patch6 -p0 -b .dirac6
+%endif
+
+%{__perl} -pi -e \
+'s|/usr/share/fonts/truetype/freefont/FreeSerifBold\.ttf|%{_datadir}/fonts/bitstream-vera/VeraSeBd.ttf|' \
+modules/misc/freetype.c
+# Fix PLUGIN_PATH path for lib64
+%{__perl} -pi -e 's|/lib/vlc|/%{_lib}/vlc|g' vlc-config.in.in configure*
+# Fix perms issues
+chmod 644 mozilla/control/*
+chmod 644 src/control/log.c
+sed -i 's/\r//'  mozilla/control/* 
+
+sh bootstrap
 
-%post
-ln /dev/cdrom /dev/dvd -sf
 
-%postun
-rm -f /dev/dvd
-rm /usr/share/idl/mozilla -fr
 
-%clean
-rm -rf %{buildroot}
-rm /usr/share/idl/mozilla -fr
-rm /usr/lib/mozilla -fr
-mkdir /usr/lib/mozilla/plugins -p --mode=755
-mv %{_libdir}/mozilla-%{mozver}/plugins/mozplugger.so %{_libdir}/mozilla/plugins -f
-
-%files -f vlc.lang
-%defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog MAINTAINERS README THANKS
-%doc doc/fortunes.txt doc/intf-vcd.txt
-%doc doc/bugreport-howto.txt
-%exclude %{_datadir}/doc/vlc/*
-%{_bindir}/*vlc
-%{_libdir}/vlc
-%{_libdir}/libvlc_pic.a
-%{_libdir}/mozilla-%{mozver}/components/vlcintf.xpt
-%{_libdir}/mozilla-%{mozver}/plugins/libvlcplugin.so
-%{_datadir}/applications/gnome-%{name}.desktop
-%{_datadir}/vlc
+%build
+%if %with_static_ffmpeg
+export CFLAGS="%{optflags}"
+# Build bundeled ffmpeg first
+pushd ffmpeg-%{ffmpeg_date}
+./configure \
+       --extra-cflags="-fPIC -DPIC" \
+       --enable-static \
+       --disable-shared \
+       --enable-libmp3lame \
+       --enable-libfaac \
+       --enable-pp \
+       --enable-gpl \
+%if %vlc_svn
+       --enable-swscaler \
+%endif
+# Watch http://trac.videolan.org/vlc/ticket/865
+# Planned to be enabled for 0.9.x
+
+       make %{?_smp_mflags}
+popd
+%endif
+
+%if %with_static_live555
+# Then bundled live555 - not needed
+pushd live
+# Force the use of our CFLAGS
+%{__perl} -pi -e 's|-O2|%{optflags} -fPIC -DPIC|g' config.linux
+# Configure and build
+./genMakefiles linux && make
+popd
+%endif
 
-%files devel
-%defattr(-, root, root)
-%doc HACKING 
-%{_bindir}/vlc-config
-%{_includedir}/vlc
-%{_libdir}/libvlc.a
 
-%changelog
-* Sun Oct 10 2004 Jason Luka
-- Update to 0.8.0-test2
-- Inserted static ffmpeg routine
-- Removed outdated kde, qt, gnome, and gtk+ interfaces
-- Added livedotcom dependancy
-- Openslp is broken, temporarily removed
-- Added EXPORTs and bootstrap
-- Removed ffmpeg dependancy as the static lib works better for now
-
-* Sun Sep 19 2004 Jason Luka
-- Update to 0.8.0-test1
-- Added --enable-gpl
-- Updated Mozilla version for FC2
-
-* Fri Mar 19 2004 Jason Luka
-- Removed dependancy on XFree86 as FC2 now calls the same package xorg
-
-* Mon Mar 15 2004 Jason Luka
-- Update to 0.7.1
-
-* Tue Dec 2 2003 Jason Luka
-- Added fribidi support
-- Added fribidi and mkv options to configure
-
-* Sat Nov 29 2003 Jason Luka
-- Fixed Matroska/EBML problem
-- Updated script for mozilla plugin installation
-
-* Fri Nov 28 2003 Jason Luka
-- Update to 0.7.0-test1
-- Updated version numbers on dependancies
-- Removed ALSA support until RH/FC turns to kernel 2.6
-- Added --enable-speex and --enable-pp
-- Mozilla plugin now built for 1.4.1
-- Currently broken (Matroska/EBML problems)
-
-* Mon Aug 25 2003 Jason Luka
-- Added matroska support
-- Corrected some symlinking problems with the mozilla plugin
-
-* Fri Aug 22 2003 Jason Luka <jason@geshp.com>
-- Update to 0.6.2
-- Changed menu item name to VideoLAN Media Player
-- Added openslp support
-- Added libtar support (needed for skins)
-- Added symlink to libxvidcore.so, thanks to new version of that software
-
-* Fri Aug 1 2003 Jason Luka <jason@geshp.com>
-- Update to 0.6.1
-- Fixed file structure problems I created to accomodate the mozilla plugin
-- Changed vendor name for desktop install
-- Moved vlc to base menu
-- Moved plugins from /usr/lib/mozilla to /usr/lib/mozilla-x.x.x
-- Added custom patch to accomodate mozilla plugin
-- Added execution of bootstrap since Makefile.am was altered
+%if %with_mozilla
+# fix mozilla plugin
+export XPIDL="$(rpm -ql firefox-devel.%{_target_cpu}|grep '/xpidl$')"
+export MOZVER="$(rpm -q --qf=%{VERSION} firefox-devel.%{_target_cpu})"
+%endif
+export CFLAGS="%{optflags} -fPIC"
+export CXXFLAGS="%{optflags} -fPIC"
 
-* Tue Jul 8 2003 Jason Luka <jason@geshp.com>
-- Update to 0.6.0
-- Add id3lib, dv, faad, qt, kde, and mozilla plugin support
-- Added script to symlink mozilla-1.2.1 directories to mozilla so build can complete
 
-* Sat Apr 5 2003 Jason Luka <jason@geshp.com>
-- Rebuilt for Red Hat 9
-- Changed dependencies for ffmpeg's new name
-- Required lirc support at build-time 
-
-* Sat Mar 25 2003 Jason Luka <jason@geshp.com>
-- Fixed Buildrequire statements to require all plugins at compile-time
-- Fixed Require statements so users don't have to install every plugin
-
-* Thu Mar 23 2003 Jason Luka <jason@geshp.com>
-- Renamed ffmpeg to libffmpeg
-- Rebuilt for videolan site
-- Autolinked /dev/dvd to /dev/cdrom
+# Altivec compiler flags aren't set properly (0.8.2)
+%ifarch ppc ppc64
+export CFLAGS="$CFLAGS -maltivec -mabi=altivec"
+%endif
 
-* Tue Mar 11 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.5.2.
-- Fix the dv build dependency, thanks to Alan Hagge.
-- Added flac support.
-- Fixed the libdvbpsi requirements.
+# java-vlc
+%if %with_java_vlc
+export JAVA_HOME=%{_prefix}/lib/jvm/java
+%endif
 
-* Mon Feb 24 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Rebuilt against the new xosd lib.
+# cddax & vcdx : doesn't build, at least on fc6 x86_64
+# with libcdio > 0.77-3
+%configure \
+       --disable-dependency-tracking           \
+       --disable-rpath                         \
+       --enable-shout                          \
+       --enable-release                        \
+       --enable-live555                        \
+%if %with_static_live555 
+       --with-live555-tree=live                \
+%endif
+%if %rpmfusion
+       --enable-dc1394                         \
+       --enable-dv                             \
+%endif
+       --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
+%if %with_static_ffmpeg 
+       --with-ffmpeg-tree=ffmpeg-%{ffmpeg_date} \
+%endif
+       --disable-libtool                       \
+       --with-gnu-ld                           \
+       --disable-static                        \
+       --enable-shared                         \
+       --disable-pth                           \
+       --enable-dvdread                        \
+       --enable-v4l                            \
+       --enable-pvr                            \
+       --enable-libcdio                        \
+%ifarch x86_64
+       --enable-cddax                          \
+%endif
+       --enable-vcdx                           \
+       --enable-dvb                            \
+       --enable-faad                           \
+       --enable-twolame                        \
+       --enable-real                           \
+       --enable-realrtsp                       \
+       --enable-flac                           \
+       --enable-tremor                         \
+       --enable-speex                          \
+       --enable-tarkin                         \
+       --enable-theora                         \
+%if %with_dirac 
+       --enable-dirac                          \
+%endif 
+       --enable-svg                            \
+       --enable-snapshot                       \
+%ifarch %{ix86} x86_64
+       --enable-svgalib                        \
+%endif
+       --enable-aa                             \
+       --enable-caca                           \
+       --enable-esd                            \
+       --enable-arts                           \
+       --enable-jack                           \
+       --enable-ncurses                        \
+       --enable-xosd                           \
+       --enable-galaktos                       \
+%if %rpmfusion
+       --enable-goom                           \
+       --enable-ggi                            \
+%endif
+       --enable-slp                            \
+       --enable-lirc                           \
+       --enable-corba                          \
+       --with-x                                \
+       --enable-mediacontrol-python-bindings   \
+%if %with_java_vlc
+       --enable-java-bindings                  \
+%endif
+%ifarch %{ix86}
+       --enable-loader                         \
+%endif
+       --without-contrib                       \
+%if %with_mozilla 
+       --enable-mozilla                        \
+%endif
+       --with-x264-tree=%{_includedir}         \
+%if %vlc_svn
+       --enable-libtool                        \
+       --enable-shared                         \
+       --disable-static                        \
+       --enable-opencv                         \
+       --enable-python-bindings                \
+       --disable-switcher                      \
+       --disable-libcdio                       \
+       --disable-cddax                         \
+       --disable-vcdx                          \
+       --disable-audioscrobbler                \
+       --disable-musicbrainz                   \
+       --enable-taglib                         \
+       --enable-dbus-control                   \
+       --enable-qt4                            \
+       --disable-xvmc                          \
+%endif
+
+
+## temp disabled
+# --enable-cyberlink                           \
+# --enable-qte                                 \
+# --enable-ggi                                 \
+# --enable-quicktime                           \
+# --with-wine-sdk-path=%{_includedir}/wine/windows     \
+#      --enable-directfb                       \
+#      --with-directfb="no"                    \
+#      --enable-glide                          \
+#      --with-glide=%{_includedir}/glide3      \
+
+
+%if %vlc_svn
+sed -i -e 's|python $(srcdir)/setup.py install|python $(srcdir)/setup.py install --root $(DESTDIR)|' bindings/python/Makefile
+%else
+sed -i -e 's|python $(srcdir)/setup.py install|python $(srcdir)/setup.py install --root $(DESTDIR)|' bindings/mediacontrol-python/Makefile
+%endif
+sed -i -e 's|cflags="${cflags} -I/usr/include/ffmpeg"|cflags="${cflags} -I%{_includedir}/ffmpeg -I%{_includedir}/postproc/"|' vlc-config
+
+%if %with_mozilla
+       make %{?_smp_mflags} XPIDL_INCL="-I%{_datadir}/idl/firefox-$MOZVER/" 
+%else
+       make %{?_smp_mflags}
+%endif
 
-* Wed Feb 19 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.5.1.
-- Major spec file update.
+%install
+rm -rf $RPM_BUILD_ROOT __doc
 
-* Fri Nov 15 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.4.6.
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+mv $RPM_BUILD_ROOT%{_datadir}/doc/vlc __doc
 
-* Tue Oct 22 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.4.5.
-- Minor --with / --without adjustments.
+%if %with_mozilla 
+chmod +x $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/libvlcplugin.so
+%endif
 
-* Sun Oct  6 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Rebuilt for Red Hat Linux 8.0.
-- New menu entry.
-- Added all --without options and --with qt.
+install -dm 755 $RPM_BUILD_ROOT%{_mandir}/man1
+install -pm 644 doc/vlc*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
-* Mon Aug 12 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.4.4.
+install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+ln -s ../../../../vlc/vlc48x48.png \
+       $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/vlc.png
 
-* Fri Jul 26 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.4.3.
+sed -i -e 's|Version=|Version=%{version}\n#Version=|' $RPM_BUILD_ROOT%{_datadir}/applications/vlc.desktop
+desktop-file-install --vendor livna                    \
+       --dir $RPM_BUILD_ROOT%{_datadir}/applications   \
+       --delete-original                               \
+       --mode 644                                      \
+       $RPM_BUILD_ROOT%{_datadir}/applications/vlc.desktop
 
-* Fri Jul 12 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.4.2.
+%if %vlc_svn
+%else
+# Fix perms of python things
+chmod 755 $RPM_BUILD_ROOT%{_bindir}/vlcwrapper.py
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/advene/MediaControl.so
+# Fix python shebang
+sed -i -e 's|"""Wrapper|#!/usr/bin/python\n"""Wrapper|' $RPM_BUILD_ROOT%{_bindir}/vlcwrapper.py
+%endif
 
-* Wed Jun  5 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.4.1.
+%find_lang %{name}
 
-* Fri May 24 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.4.0.
-- Disabled qt interface, it's hell to build with qt2/3!
-- Use %%find_lang and %%{?_smp_mflags}.
 
-* Fri Apr 19 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.3.1.
+%clean
+rm -rf $RPM_BUILD_ROOT __doc
 
-* Mon Apr  8 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.3.0.
 
-* Sat Jan 12 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Removed the dependency on libdvdcss package, use the built in one instead,
-  because 1.x.x is not as good as 0.0.3.ogle3.
+%post
+%{_bindir}/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null
+%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1
+/sbin/ldconfig || :
 
-* Tue Jan  1 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.2.92.
-- Build fails with libdvdcss < 1.0.1.
 
-* Tue Nov 13 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Update to 0.2.91 and now requires libdvdcss 1.0.0.
+%postun
+%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1
+%{_bindir}/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null
+/sbin/ldconfig || :
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README THANKS __doc/*
+%{_bindir}/vlc
+%{_bindir}/svlc
+%{_datadir}/vlc/
+%{_mandir}/man1/vlc.1*
+%{_datadir}/applications/*%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/vlc.png
+%if %vlc_svn
+%{_bindir}/qvlc
+#{_datadir}/applications/gnome-vlc-default.sh
+%{_libdir}/*.so.*
+%dir %{_libdir}/vlc
+%{_libdir}/vlc/*
+%else
+%{_bindir}/wxvlc
+%exclude %{_libdir}/vlc/*.a
+%exclude %{_libdir}/lib*.a
+# Corba plugin is unmaintained and broken in vlc
+%exclude %{_libdir}/vlc/control/libcorba_plugin.so
+%dir %{_libdir}/vlc
+%{_libdir}/vlc/*
+%endif
 
-* Mon Oct 22 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Split libdvdcss into a separate package since it's also needed by the
-  xine menu plugin.
+%files devel
+%defattr(-,root,root,-)
+%doc HACKING
+%{_bindir}/vlc-config
+%dir %{_includedir}/vlc
+%{_includedir}/vlc/*
+%{_mandir}/man1/vlc-config.1*
+%if %vlc_svn
+%{_libdir}/*.so
+%else
+%{_libdir}/vlc/*.a
+%{_libdir}/libvlc.a
+%endif
 
-* Thu Oct 11 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Updated to 0.2.90.
-- Removed ggi, svgalib and aalib since they aren't included in Red Hat 7.2.
+%if %with_mozilla
+%files -n mozilla-vlc
+%defattr(-,root,root,-)
+%{_libdir}/mozilla/plugins/libvlcplugin.so
+%endif
 
-* Mon Aug 27 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Updated to 0.2.83.
 
-* Sat Aug 11 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Updated to 0.2.82.
+%files -n python-vlc
+%defattr(-,root,root,-)
+%{python_sitearch}/*
+%if %vlc_svn
+%else
+%{_bindir}/vlcwrapper.py
+%exclude %{_bindir}/vlcwrapper.py?
+%dir %{_libdir}/advene
+%{_libdir}/advene/MediaControl.so
+%{_datadir}/idl/MediaControl.idl
+%endif
 
-* Mon Jul 30 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Updated to 0.2.81.
-- Added all the new split libdvdcss.* files to the %%files section.
+%if %with_java_vlc
+%files -n java-vlc
+%defattr(-,root,root,-)
+%endif
 
-* Tue Jun  5 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Updated to the latest release, 0.2.80.
 
-* Wed May 30 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Updated to today's CVS version, works great! :-)
-- Fixed the desktop menu entry.
+%changelog
+* Sat May 19 2007 kwizart < kwizart at gmail.com > - 0.8.6b-5
+- Removed no more needed Selinux Context:
+  fixed in http://bugzilla.redhat.com/237473
+
+* Sun May 13 2007 kwizart < kwizart at gmail.com > - 0.8.6b-4
+- Disabled pth (broken) and...
+- Build ffmpeg static (since shared ffmpeg is pth enabled).
+- Add post & postun update-desktop-database
+- Update static ffmpeg to 20070503 (same as shared version)
+
+* Sun May 13 2007 kwizart < kwizart at gmail.com > - 0.8.6b-3.3
+- Test static updated live555
+
+* Sat May 12 2007 kwizart < kwizart at gmail.com > - 0.8.6b-3.2
+- Update to the new ffmpeg with pth (testing - wip )
+
+* Fri May  4 2007 kwizart < kwizart at gmail.com > - 0.8.6b-3.1
+- Add BR libebml-devel
+- Add BR Glide3-devel
+- Add BR gnome-vfs2-devel
+- Add BR libxml2-devel
+- Fix BR faad2-devel < 2.5
+- Add rpmfusion BR libopendaap-devel
+- Add rpmfusion BR libgoom2-devel
+- Add rpmfusion BR libdc1394-devel
+- Exclude corba plugin (broken)
+- Add relatives %%configure options
+- Comment Glide3 (don't work now - wip)
+
+* Thu May  3 2007 kwizart < kwizart at gmail.com > - 0.8.6b-3
+- Enable --enable-pth with ffmpeg
+  bump release in case testing take much time.
+
+* Thu May  3 2007 kwizart < kwizart at gmail.com > - 0.8.6b-1.3
+- Fix Selinux remain quiet with semanage
+
+* Tue May  1 2007 kwizart < kwizart at gmail.com > - 0.8.6b-1.2
+- Few improvements for svn version
+- Add missing BR ORBit2-devel and pyorbit-devel
+- Improved post preun postun section with help from Anvil.
+
+* Mon Apr 30 2007 kwizart < kwizart at gmail.com > - 0.8.6b-1.1
+- Add missing BR libtiff-devel
+- Fix Selinux buglet when Selinux is not activated
+  was https://bugzilla.livna.org/show_bug.cgi?id=1484
+
+* Sat Apr 21 2007 kwizart < kwizart at gmail.com > - 0.8.6b-1
+- Update to Final 8.6b
+- Enable Dirac codec
+- Fix mozilla-vlc libXt.so loading 
+  (removing mozilla-sdk since using firefox sdk >= 1.5)
+- Fix SeLinux context for dmo plugin. Was:
+  https://bugzilla.livna.org/show_bug.cgi?id=1404
+- Enabled cddax only for x86_64 (broken type).
+
+* Wed Apr 18 2007 kwizart < kwizart at gmail.com > - 0.8.6b-0.3
+- Fix BR for libsmbclient-devel for Fedora 7
+- Update to 0.8.6-bugfix-20070418
+- Add BR libraw1394-devel
+- Add BR libavc1394-devel
+
+* Mon Apr 16 2007 kwizart < kwizart at gmail.com > - 0.8.6b-0.2
+- Fix svgalib-devel only for x86 x86_64
+- Fix firefox-devel headers presence/usability. This remains:
+ npapi.h: accepted by the compiler, rejected by the preprocessor!
+ npapi.h: proceeding with the compiler's result
+
+* Sat Apr 14 2007 kwizart < kwizart at gmail.com > - 0.8.6b-0.1
+- Update to rc 0.8.6b (bugfix)
+- Hack configure.ac script (it didn't detect firefox headers)
+- Add BR libshout-devel
+- Add BR svgalib-devel
+- Add BR gtk2-devel
+- Add BR directfb-devel (wip)
+- Add BR libnotify-devel
+- Enabled --enable-speex
+- Testing --enable-portaudio not usefull (oss is deprecated)
+- Enabled --enable-pda
+- Testing --enable-directfb (wip)
+- Removed patch5 (was format.c)
+
+* Thu Apr  5 2007 kwizart < kwizart at gmail.com > - 0.8.6a-5
+- Use system ffmpeg lib (pth and libtool seems to be incompatible with it)
+- Dirac seem to compile fine but testing usability for now.
+- Cache isn't usefull for now (and won't be since using system libs)
+- Exclude %%{_bindir}/vlcwrapper.py? since this is the guideline about python for now.
+
+* Mon Apr  2 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.6
+- Fix %%{_libdir}/advene directory ownership from: #1458
+- Fix .py? presence and perm (644)
+- Remove .la after make install
+- Add --disable-pth (broken for release and svn)
+  
+* Sat Mar 24 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.5
+- Test dirac (disabled mozilla )
+- Test Updated static live555 to 2007.02.22
+- Clean up svn to release changes
+
+* Tue Mar 22 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.4
+- WIP changes - ld.conf is unusefull...
+
+* Wed Mar 21 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.3
+- Revert back to the static vlc version 
+ ( will explore this with ld.conf later )
+
+* Wed Mar 21 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.2
+- Fix .desktop file
+- Disable broken libtool 
+- Quick fixes for svn/cache prepare
+- Patch format_c
+- Fix rpmlint error with python-vlc
+
+* Tue Mar 20 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.1
+- Enable cache for static compilation - wip
+
+* Fri Mar  9 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4
+- Enable conditionnal build for
+       * mozilla-vlc, java-vlc, dirac
+       * ffmpeg and live static
+- Enable pth
+- Enable gnu_ld
+
+* Thu Mar  8 2007 kwizart < kwizart at gmail.com > - 0.8.6a-3.1
+- Fix firefox-devel detection when avaible both i386 and x86_64
+  http://bugzilla.livna.org/show_bug.cgi?id=1442
+
+* Thu Mar  8 2007 kwizart < kwizart at gmail.com > - 0.8.6a-3
+- Recover patch3 from Ville Skyttä
+- Fix FLAC api change see
+ http://bugzilla.livna.org/show_bug.cgi?id=1433
+
+* Thu Mar  8 2007 kwizart < kwizart at gmail.com > - 0.8.6a-2
+- Update ffmpeg to 20070308
+- Enabled static build for internal ffmpeg (x264 vlc modules)
+- Fixed: some configure options has changed for ffmpeg
+
+* Sat Mar  3 2007 Thorsten Leemhuis <fedora at leemhuis dot info> - 0.8.6a-1.2
+- Rebuild
+
+* Sun Feb  4 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.8.6a-1.1
+- Fix aclocal/automake fix for automake 1.10 without breaking it for earlier.
+
+* Sun Feb  4 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.8.6a-1
+- Build internal copy of ffmpeg with $RPM_OPT_FLAGS.
+- Don't hardcode path to firefox headers.
+- Drop Application and X-Livna categories from desktop entry.
+- Clean up some unneeded cruft from specfile.
+- Fix aclocal/automake calls during bootstrap.
+- Let rpmbuild strip MediaControl.so.
+
+* Sat Feb  3 2007 kwizart < kwizart at gmail.com > - 0.8.6a-0.4.static
+- Internal static build of ffmpeg from Matthias version.
+
+* Fri Jan 19 2007 kwizart < kwizart at gmail.com > - 0.8.6a-0.3
+- Re-enabled mozilla-vlc
+- use ifarch ix86
+
+* Sat Jan 13 2007 kwizart < kwizart at gmail.com > - 0.8.6a-0.2
+- Import patches from Matthias version
+- try to fix firefox includes for mozilla-vlc -> disabled
+
+* Wed Jan 10 2007 kwizart < kwizart at gmail.com > - 0.8.6a-0.1
+- Try to Fix run with libavformat.so.51
+- disabled
+
+* Mon Jan  8 2007 kwizart < kwizart at gmail.com > - 0.8.6-5
+- Update to BR bugzilla infos.
+- Fix perms with python and debug headers.
+- Cleaned obsolete-not-provided
+
+* Fri Jan  5 2007 kwizart < kwizart at gmail.com > - 0.8.6-4
+- Use BuildConflics with libcdio
+- Enabled --enable-cddax
+- Enabled --enable-vcdx
+-  waiting --enable-quicktime (build fails)
+
+* Fri Jan  5 2007 kwizart < kwizart at gmail.com > - 0.8.6-3
+  with help from Rathan
+- Update to 0.8.6a (security update!)
+  from http://www.videolan.org/sa0701.html - #1342
+- Add version to desktop file
+- Fix dual shortcuts / Add MimeType
+
+* Wed Jan  3 2007 kwizart < kwizart at gmail.com > - 0.8.6-2
+ with help from Rathan
+- Enabled --enable-shout
+- Enabled --enable-quicktime (x86 only !) 
+- Enabled --enable-loader (x86 only !)
+- Enabled --with-wine-sdk-path (x86 only !)
+- Enabled --enable-corba
+-  testing --enable-dirac (libdirac-devel reviewing in extra)
+   http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221405
+- Enabled --enable-mediacontrol-python-bindings
+- Cosmetic changes in BR
+
+* Mon Dec 11 2006 kwizart < kwizart at gmail.com > - 0.8.6-1.fc6
+- Update to 8.6 final
+- Change deprecated livdotcom to live555
+- build shared librairies is default since 8.6
+- Enabled --enable-dvdread
+- Enabled --enable-faad
+- Enabled --enable-twolame
+-   waiting --enable-quicktime (problem finding xqtsdk )
+- Enabled --enable-real
+- Enabled --enable-realrtsp
+- Enabled --enable-tremor
+- Enabled --enable-tarkin
+-   waiting --enable-dirac (TODO libdirac-devel )
+- Enabled --enable-snapshot
+- Enabled --enable-portaudio
+- Enabled --enable-jack
+- Enabled --enable-galaktos
+-   waiting --enable-mediacontrol-python-bindings (default install error)
+-   waiting --enable-cddax (new version of libcdio 0.78.2)
+-   waiting --enable-vcdx (new version of libcdio 0.78.2)
+
+* Mon Dec 04 2006 kwizart < kwizart at gmail.com > - 0.8.6-rc1.1.fc6
+- Update to 8.6rc1
+- disable components in mozilla-vlc
+- disable libvlc_pic.a in devel
+- Enable x264-devel for static linking.
+
+* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.8.5-6
+- rebuilt for unwind info generation, broken in gcc-4.1.1-21
+
+* Mon Sep 25 2006 Dams <anvil[AT]livna.org> - 0.8.5-5
+- BuildReq:libtool
+
+* Sun Sep 24 2006 Dams <anvil[AT]livna.org> - 0.8.5-4
+- Fixed the mozilla plugin damn build 
+
+* Sat Sep  9 2006 Dams <anvil[AT]livna.org> - 0.8.5-3
+- sysfsutils-devel -> libsysfs-devel
+
+* Sat Sep  9 2006 Dams <anvil[AT]livna.org> - 0.8.5-1
+- Updated to 0.8.5
+- Fixed MOZVER value in case more than one mozilla is installed.
+- Dropped patches 1, 2 and 3
+
+* Wed Aug 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.8.4a-2
+- Adjust for new live package, enable it on all archs.
+
+* Fri Apr 14 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.8.4a-1
+- Apply upstream patch to fix linking with newer ffmpeg/postproc.
+- Drop no longer needed build conditionals and build dependencies.
+- Enable Avahi, Musepack, SLP and sysfs support, fix SDL and Xv.
+- Install icon to %%{_datadir}/icons/hicolor.
+- Drop zero Epoch remainders.
+- Fix -devel obsoletes.
+- Specfile cleanups.
+
+* Fri Mar 24 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.8.4-9.a
+- rebuild 
+
+* Tue Mar 21 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-8.a
+- fix #775
+
+* Mon Mar 20 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-7.a
+- add -fPIC for all arches
+
+* Mon Mar 20 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-6.a
+- fix build on ppc/i386
+
+* Thu Mar 16 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-5.a
+- fix BR
+
+* Wed Mar 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-4.a
+- make vlc build again
+
+* Tue Mar 14 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.8.4-3.a
+- drop "0.lvn" from release
+
+* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- add dist
+
+* Mon Jan 09 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.8.4-0.lvn.3.a
+- add all BRs the new ffmpeg needs
+
+* Fri Jan 06 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.8.4-0.lvn.2.a
+- add buildoption "--without mkv" -- ebml in FC3 is to old
+- add buildoption "--without svg" -- does not build with svg on FC3-x86-64
+
+* Thu Jan 05 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.8.4-0.lvn.1.a
+- Update to 0.8.4a [with help from che (Rudolf Kastl)]
+- Fix x64
+- drop Epoch
+- drop vlc-0.8.2-test2-altivec.patch, seems they worked on this
+- use " --disable-libcdio" until we update to wxGTK2 2.6
+- use "--disable-livedotcom" on x86_64 (does not build)
+
+* Sat Aug  6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.2-0.lvn.4
+- Fix "--without cddb" build when libcddb-devel is installed.
+- BuildRequire live-devel instead of live.
+
+* Wed Aug  3 2005 Dams <anvil[AT]livna.org> - 0:0.8.2-0.lvn.3
+- Rebuilt *without* libcddb
+- Rebuilt against new libdvbpsi
+
+* Thu Jul 28 2005 Dams <anvil[AT]livna.org> - 0:0.8.2-0.lvn.2
+- Rebuilt against new libcddb/libcdio
+
+* Sat Jul  9 2005 Dams <anvil[AT]livna.org> - 0:0.8.2-0.lvn.1
+- Updated to final 0.8.2
+
+* Mon Jun  6 2005 Ville Skyttä <ville.skytta at iki.fi> 0:0.8.2-0.lvn.0.1.test2
+- Update to 0.8.2-test2, rename to vlc, improve summaries and descriptions.
+- Enable many more modules, many small improvements and cleanups here and there
+- Use unversioned install dir for the Mozilla plugin, rename to mozilla-vlc.
+- Drop < FC3 compatiblity due to unavailability of required lib versions.
+- Fold wx and ncurses to the main package (upstream has retired the
+  VLC Gnome and KDE UI's, so separate UI packages don't have a purpose
+  any more).
+
+* Sat Sep 11 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.lvn.7
+- Remove dependency on libpostproc-devel, it's now in ffmpeg-devel (bug 255).
+
+* Thu Sep  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.lvn.6
+- BuildRequire alsa-lib-devel, was lost in previous update (bug 258).
+- Add libcdio and libmodplug build dependencies.
+- Tweak descriptions, remove unnecessary conditional sections.
+- Disable dependency tracking to speed up the build.
+
+* Sun Aug 29 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.lvn.5
+- Use system ffmpeg (>= 0.4.9), and make it, ALSA, and fribidi unconditional.
+- Build with theora by default.
+- Change default font to Vera serif bold.
+- Enable pvr support for Hauppauge card users (thanks to Gabriel L. Somlo).
+
+* Mon Jul  5 2004 Dams <anvil[AT]livna.org> 0:0.7.2-0.lvn.4
+- Enabled libcddb support
+
+* Wed Jun 30 2004 Dams <anvil[AT]livna.org> 0:0.7.2-0.lvn.3
+- speex now conditional and default disabled since vlc requires
+  development version. 
+
+* Wed Jun 30 2004 Dams <anvil[AT]livna.org> 0:0.7.2-0.lvn.2
+- Optional Fribidi and libtheora support (default disabled)
+
+* Tue May 25 2004 Dams <anvil[AT]livna.org> 0:0.7.2-0.lvn.1
+- Updated to 0.7.2
+
+* Fri May  7 2004 Dams <anvil[AT]livna.org> 0:0.7.1-0.lvn.1
+- BuildConflicts:ffmpeg
+- Build against private ffmpeg snapshot
+
+* Tue Mar  9 2004 Dams <anvil[AT]livna.org> 0:0.7.1-0.lvn.1
+- Updated to 0.7.1
+- Added live.com libraries support
+- Added matroska support
 
-* Tue May 22 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
-- Spec file cleanup to make it look more like others do.
-- Added the use of many macros.
-- Disabled automatic requires and provides (the package always needed qt,
-  gtk+, gnome etc. otherwise).
-- Added a system desktop menu entry.
+* Sun Jan  4 2004 Dams <anvil[AT]livna.org> 0:0.7.0-0.lvn.1
+- Updated to 0.7.0
+- s/fdr/lvn
 
-* Mon Apr 30 2001 Arnaud Gomes-do-Vale <arnaud@glou.org>
-Added relocation support and compile fixes for Red Hat 7.x.
+* Wed Dec 10 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.7
+- Conditional ffmpeg build option (default enabled)
 
-* Sat Apr 28 2001 Henri Fallon <henri@videolan.org>
-New upstream release (0.2.73)
+* Fri Sep  5 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.6
+- pth support now default disabled 
 
-* Mon Apr 16 2001 Samuel Hocevar <sam@zoy.org>
-New upstream release (0.2.72)
+* Fri Sep  5 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.5
+- slp support can now be not-build with '--without slp'
 
-* Fri Apr 13 2001 Samuel Hocevar <sam@zoy.org>
-New upstream release (0.2.71)
+* Thu Sep  4 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.4
+- Added missing defattr for subpackages
+- Fixed permissions on mozilla plugin
+- fixed build failure due to typos in ncurses changes
+- Removed useless explicit 'Requires:' in subpackages declarations
 
-* Sun Apr 8 2001 Christophe Massiot <massiot@via.ecp.fr>
-New upstream release (0.2.70)
+* Tue Sep  2 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.3
+- Added builddep for libpng-devel and openslp-devel 
+- Added gnome (default:enabled) and ncurses (default:disabled)
+  subpackages
+- Removed macros (mkdir/install/perl)
+- Modified descriptions
+- Removed gtk/gnome2 build deps
+- Added conditionnal (default-disabled) build option for alsa
+- Added conditionnal builddep for pth-devel
 
-* Fri Feb 16 2001 Samuel Hocevar <sam@via.ecp.fr>
-New upstream release
+* Fri Aug 22 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.2
+- Added missing BuildRequires for gtk+-devel
 
-* Tue Aug  8 2000 Samuel Hocevar <sam@via.ecp.fr>
-Added framebuffer support
+* Thu Aug 14 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.1
+- Updated to 0.6.2
+- Hopefully fixed 'if' conditions for optional buildrequires
 
-* Sun Jun 18 2000 Samuel Hocevar <sam@via.ecp.fr>
-Took over the package
+* Tue Jul  8 2003 Dams <anvil[AT]livna.org> 0:0.6.0-0.fdr.3
+- Providing vlc 
 
-* Thu Jun 15 2000 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
-Initial package
+* Tue Jul  8 2003 Dams <anvil[AT]livna.org> 0:0.6.0-0.fdr.2
+- Moved desktop entry from devel to main package (stupid me)
 
+* Mon Apr 28 2003 Dams <anvil[AT]livna.org> 
+- Initial build.