changeset 24694:3f8e15bde43b

import cleaned-up RPM spec files
author rathann
date Sat, 06 Oct 2007 20:13:30 +0000
parents 44233e19d2a8
children 1d510570c328
files rpm/mplayer-codecs.spec rpm/mplayer.spec
diffstat 2 files changed, 605 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rpm/mplayer-codecs.spec	Sat Oct 06 20:13:30 2007 +0000
@@ -0,0 +1,260 @@
+%define _codecsdir %{_libdir}/codecs
+
+# don't try to strip or compress anything
+%define __spec_install_post %{nil}
+%define debug_package %{nil}
+
+%define i386_ver 20061022
+%define ppc_ver 20061022
+%define alpha_ver 20061028
+%define x86_64_ver 20061203
+
+%define ver %{expand:%{%{_target_cpu}_ver}}
+
+Summary: MPlayer essential binary codecs package
+Name: mplayer-codecs
+Version: %{ver}
+Release: 1
+URL: http://www.mplayerhq.hu/MPlayer/releases/codecs/
+Group: Applications/Multimedia
+Source0: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-%{i386_ver}.tar.bz2
+Source1: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-alpha-%{alpha_ver}.tar.bz2
+Source2: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-ppc-%{ppc_ver}.tar.bz2
+Source3: http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-%{x86_64_ver}.tar.bz2
+License: Unknown
+ExclusiveArch: i386 ppc alpha x86_64
+%ifarch i386
+Provides: w32codec
+%endif
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
+
+%description
+All-in-one essential end-user package. Contains binary codecs that have
+no native open-source decoder currently.
+
+%package extra
+Group: Applications/Multimedia
+Summary: MPlayer optional binary codecs package
+
+%description extra
+MPlayer optional codecs package. Contains additional binary codecs
+supported by MPlayer.
+
+%prep
+%ifarch i386
+%setup -q -c %{name}-%{version}
+%endif
+%ifarch alpha
+%setup -q -c %{name}-%{version} -T -a 1
+%endif
+%ifarch ppc
+%setup -q -c %{name}-%{version} -T -a 2
+%endif
+%ifarch x86_64
+%setup -q -c %{name}-%{version} -T -a 3
+%endif
+
+%build
+# nothing to build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_codecsdir}
+%ifarch i386
+install -pm644 all-%{version}/* $RPM_BUILD_ROOT%{_codecsdir}/
+%endif
+%ifarch alpha
+install -pm644 all-alpha-%{alpha_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
+%endif
+%ifarch ppc
+install -pm644 all-ppc-%{ppc_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
+%endif
+%ifarch x86_64
+install -pm644 essential-amd64-%{x86_64_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
+%endif
+rm -f $RPM_BUILD_ROOT%{_codecsdir}/README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(0644,root,root,0755)
+%ifarch i386
+%doc all-%{i386_ver}/README
+%{_codecsdir}/acelpdec.ax
+%{_codecsdir}/alf2cd.acm
+%{_codecsdir}/aslcodec_dshow.dll
+%{_codecsdir}/atrac3.acm
+%{_codecsdir}/atrc.so.6.0
+%{_codecsdir}/AvidQTAVUICodec.qtx
+%{_codecsdir}/BeHereiVideo.qtx
+%{_codecsdir}/CLRVIDDC.DLL
+%{_codecsdir}/clrviddd.dll
+%{_codecsdir}/cook.so
+%{_codecsdir}/CtWbJpg.DLL
+%{_codecsdir}/DECVW_32.DLL
+%{_codecsdir}/drvc.so
+%{_codecsdir}/dspr.so.6.0
+%{_codecsdir}/iac25_32.ax
+%{_codecsdir}/icmw_32.dll
+%{_codecsdir}/imc32.acm
+%{_codecsdir}/ir41_32.dll
+%{_codecsdir}/ir50_32.dll
+%{_codecsdir}/ivvideo.dll
+%{_codecsdir}/jp2avi.dll
+%{_codecsdir}/LCMW2.dll
+%{_codecsdir}/LCODCCMW2E.dll
+%{_codecsdir}/lhacm.acm
+%{_codecsdir}/lsvxdec.dll
+%{_codecsdir}/m3jp2k32.dll
+%{_codecsdir}/mi-sc4.acm
+%{_codecsdir}/msh261.drv
+%{_codecsdir}/msms001.vwp
+%{_codecsdir}/msscds32.ax
+%{_codecsdir}/nsrt2432.acm
+%{_codecsdir}/qpeg32.dll
+%{_codecsdir}/qtmlClient.dll
+%{_codecsdir}/QuickTimeEssentials.qtx
+%{_codecsdir}/QuickTimeInternetExtras.qtx
+%{_codecsdir}/QuickTime.qts
+%{_codecsdir}/rt32dcmp.dll
+%{_codecsdir}/sipr.so.6.0
+%{_codecsdir}/tm20dec.ax
+%{_codecsdir}/tokf.so.6.0
+%{_codecsdir}/tokr.so.6.0
+%{_codecsdir}/tsd32.dll
+%{_codecsdir}/tssoft32.acm
+%{_codecsdir}/tvqdec.dll
+%{_codecsdir}/VDODEC32.dll
+%{_codecsdir}/vdowave.drv
+%{_codecsdir}/vid_3ivX.xa
+%{_codecsdir}/ViVD2.dll
+%{_codecsdir}/vivog723.acm
+%{_codecsdir}/vmnc.dll
+%{_codecsdir}/voxmsdec.ax
+%{_codecsdir}/vp4vfw.dll
+%{_codecsdir}/vp5vfw.dll
+%{_codecsdir}/vp6vfw.dll
+%{_codecsdir}/vp7vfw.dll
+%{_codecsdir}/vssh264core.dll
+%{_codecsdir}/vssh264dec.dll
+%{_codecsdir}/vssh264.dll
+%{_codecsdir}/vsshdsd.dll
+%{_codecsdir}/vsslight.dll
+%{_codecsdir}/vsswlt.dll
+%{_codecsdir}/wma9dmod.dll
+%{_codecsdir}/wmadmod.dll
+%{_codecsdir}/wmsdmod.dll
+%{_codecsdir}/wmspdmod.dll
+%{_codecsdir}/wmv9dmod.dll
+%{_codecsdir}/wmvadvd.dll
+%{_codecsdir}/wmvdmod.dll
+%{_codecsdir}/wnvwinx.dll
+%{_codecsdir}/wvc1dmod.dll
+%endif
+%ifarch alpha
+%doc all-alpha-%{alpha_ver}/README
+%endif
+%ifarch alpha ppc
+%{_codecsdir}/28_8.so.6.0
+%{_codecsdir}/atrc.so.6.0
+%{_codecsdir}/cook.so.6.0
+%{_codecsdir}/ddnt.so.6.0
+%{_codecsdir}/dnet.so.6.0
+%{_codecsdir}/drv2.so.6.0
+%{_codecsdir}/dspr.so.6.0
+%{_codecsdir}/sipr.so.6.0
+%{_codecsdir}/tokr.so.6.0
+%endif
+%ifarch ppc
+%doc all-ppc-%{ppc_ver}/README
+%{_codecsdir}/vid_iv41.xa
+%{_codecsdir}/vid_iv50.xa
+%endif
+%ifarch x86_64
+%doc essential-amd64-%{x86_64_ver}/README
+%{_codecsdir}/atrc.so
+%{_codecsdir}/cook.so
+%{_codecsdir}/drvc.so
+%{_codecsdir}/sipr.so
+%endif
+
+%files extra
+%ifarch i386
+%defattr(0644,root,root,0755)
+%{_codecsdir}/LCodcCMP.dll
+%{_codecsdir}/aslcodec_vfw.dll
+%{_codecsdir}/asusasv2.dll
+%{_codecsdir}/asusasvd.dll
+%{_codecsdir}/ativcr2.dll
+%{_codecsdir}/avimszh.dll
+%{_codecsdir}/avizlib.dll
+%{_codecsdir}/cook.so.6.0
+%{_codecsdir}/ctadp32.acm
+%{_codecsdir}/ddnt.so.6.0
+%{_codecsdir}/divx.dll
+%{_codecsdir}/divx_c32.ax
+%{_codecsdir}/divxa32.acm
+%{_codecsdir}/divxc32.dll
+%{_codecsdir}/divxdec.ax
+%{_codecsdir}/dnet.so.6.0
+%{_codecsdir}/drv2.so.6.0
+%{_codecsdir}/drv3.so.6.0
+%{_codecsdir}/drv4.so.6.0
+%{_codecsdir}/huffyuv.dll
+%{_codecsdir}/i263_32.drv
+%{_codecsdir}/iccvid.dll
+%{_codecsdir}/imaadp32.acm
+%{_codecsdir}/ir32_32.dll
+%{_codecsdir}/l3codeca.acm
+%{_codecsdir}/l3codecx.ax
+%{_codecsdir}/m3jpeg32.dll
+%{_codecsdir}/m3jpegdec.ax
+%{_codecsdir}/mcdvd_32.dll
+%{_codecsdir}/mcmjpg32.dll
+%{_codecsdir}/mpg4c32.dll
+%{_codecsdir}/mpg4ds32.ax
+%{_codecsdir}/msadp32.acm
+%{_codecsdir}/msg711.acm
+%{_codecsdir}/msgsm32.acm
+%{_codecsdir}/msnaudio.acm
+%{_codecsdir}/msrle32.dll
+%{_codecsdir}/msvidc32.dll
+%{_codecsdir}/mvoiced.vwp
+%{_codecsdir}/pclepim1.dll
+%{_codecsdir}/qdv.dll
+%{_codecsdir}/scg726.acm
+%{_codecsdir}/sp5x_32.dll
+%{_codecsdir}/tsccvid.dll
+%{_codecsdir}/ubv263d+.ax
+%{_codecsdir}/ubvmp4d.dll
+%{_codecsdir}/ultimo.dll
+%{_codecsdir}/vgpix32d.dll
+%{_codecsdir}/vid_cvid.xa
+%{_codecsdir}/vid_cyuv.xa
+%{_codecsdir}/vid_h261.xa
+%{_codecsdir}/vid_h263.xa
+%{_codecsdir}/vid_iv32.xa
+%{_codecsdir}/vid_iv41.xa
+%{_codecsdir}/vid_iv50.xa
+%{_codecsdir}/vp31vfw.dll
+%{_codecsdir}/wmv8ds32.ax
+%{_codecsdir}/wmvds32.ax
+%{_codecsdir}/wnvplay1.dll
+%{_codecsdir}/zmbv.dll
+%endif
+%ifarch alpha ppc
+%{_codecsdir}/14_4.so.6.0
+%{_codecsdir}/drv3.so.6.0
+%endif
+%ifarch ppc
+%{_codecsdir}/vid_cvid.xa
+%{_codecsdir}/vid_iv32.xa
+%endif
+
+%changelog
+* Sat Oct 06 2007 Dominik Mierzejewski <rpm at greysector.net>
+- specfile cleanups
+- added backwards compatibility Provides:
+- dropped old history
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rpm/mplayer.spec	Sat Oct 06 20:13:30 2007 +0000
@@ -0,0 +1,345 @@
+%define         date %(date --iso)
+%define         svnbuild %(date +%Y%m%d)
+%define         codecsdir %{_libdir}/codecs
+
+Name:           mplayer
+Version:        1.0
+Release:        0.%{svnbuild}svn%{?dist}
+Summary:        Movie player playing most video formats and DVDs
+
+Group:          Applications/Multimedia
+License:        GPL
+URL:            http://www.mplayerhq.hu/
+Source0:        http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
+Source1:        http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  SDL-devel
+BuildRequires:  aalib-devel
+BuildRequires:  alsa-lib-devel
+BuildRequires:  cdparanoia-devel
+BuildRequires:  desktop-file-utils
+BuildRequires:  em8300-devel
+BuildRequires:  enca-devel
+BuildRequires:  faac-devel
+BuildRequires:  faad2-devel
+BuildRequires:  fontconfig-devel
+BuildRequires:  freetype-devel >= 2.0.9
+BuildRequires:  fribidi-devel
+BuildRequires:  giflib-devel
+BuildRequires:  gtk2-devel
+BuildRequires:  ladspa-devel
+BuildRequires:  lame-devel
+BuildRequires:  libGL-devel
+BuildRequires:  libXinerama-devel
+BuildRequires:  libXv-devel
+BuildRequires:  libXvMC-devel
+BuildRequires:  libXxf86dga-devel
+BuildRequires:  libXxf86vm-devel
+BuildRequires:  libcaca-devel
+BuildRequires:  libdca-devel
+BuildRequires:  libdv-devel
+BuildRequires:  libdvdnav-devel
+BuildRequires:  libjpeg-devel
+BuildRequires:  libmpcdec-devel
+BuildRequires:  libtheora-devel
+BuildRequires:  libvorbis-devel
+BuildRequires:  lirc-devel
+BuildRequires:  live-devel
+BuildRequires:  lzo-devel >= 2
+BuildRequires:  speex-devel >= 1.1
+BuildRequires:  twolame-devel
+BuildRequires:  x264-devel
+BuildRequires:  xvidcore-devel >= 0.9.2
+%{?_with_arts:BuildRequires: arts-devel}
+%{?_with_amr:BuildRequires: amrnb-devel amrwb-devel}
+%{?_with_directfb:BuildRequires: directfb-devel}
+%{?_with_esound:BuildRequires: esound-devel}
+%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
+%{?_with_libmad:BuildRequires:  libmad-devel}
+%{?_with_openal:BuildRequires: openal-devel}
+%{?_with_samba:BuildRequires: samba-common}
+%{?_with_svgalib:BuildRequires: svgalib-devel}
+%{?_with_xmms:BuildRequires: xmms-devel}
+# for XML docs, SVN only
+BuildRequires:  docbook-dtds
+BuildRequires:  docbook-style-xsl
+BuildRequires:  libxml2
+BuildRequires:  libxslt
+
+%description
+MPlayer is a movie player that plays most MPEG, VOB, AVI, OGG/OGM,
+VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM,
+RoQ, and PVA files. You can also use it to watch VCDs, SVCDs, DVDs,
+3ivx, RealMedia, and DivX movies.
+It supports a wide range of output drivers including X11, XVideo, DGA,
+OpenGL, SVGAlib, fbdev, AAlib, DirectFB etc. There are also nice
+antialiased shaded subtitles and OSD.
+Non-default rpmbuild options:
+--with samba:   Enable Samba (smb://) support
+--with xmms:    Enable XMMS input plugin support
+--with amr:     Enable AMR support
+--with libmad:  Enable libmad support
+--with openal:  Enable OpenAL support
+--with jack:    Enable JACK support
+--with arts:    Enable aRts support
+--with esound:  Enable EsounD support
+--with directfb:Enable DirectFB support
+--with svgalib: Enable SVGAlib support
+
+%package        gui
+Summary:        GUI for MPlayer
+Group:          Applications/Multimedia
+Requires:       mplayer = %{version}-%{release}
+
+%description    gui
+This package contains a GUI for MPlayer and a default skin for it.
+
+%package     -n mencoder
+Summary:        MPlayer movie encoder
+Group:          Applications/Multimedia
+Requires:       mplayer = %{version}-%{release}
+
+%description -n mencoder
+This package contains the MPlayer movie encoder. 
+
+%package        doc
+Summary:        MPlayer documentation in various languages
+Group:          Documentation
+
+%description    doc
+MPlayer documentation in various languages.
+
+
+%prep
+%setup -q -n mplayer-export-%{date}
+
+doconv() {
+    iconv -f $1 -t $2 -o DOCS/man/$3/mplayer.1.utf8 DOCS/man/$3/mplayer.1 && \
+    mv DOCS/man/$3/mplayer.1.utf8 DOCS/man/$3/mplayer.1
+}
+for lang in de es fr it ; do doconv iso-8859-1 utf-8 $lang ; done
+for lang in hu pl ; do doconv iso-8859-2 utf-8 $lang ; done
+for lang in ru ; do doconv koi8-r utf-8 $lang ; done
+
+mv DOCS/man/zh DOCS/man/zh_CN
+
+%build
+./configure \
+    --prefix=%{_prefix} \
+    --bindir=%{_bindir} \
+    --datadir=%{_datadir}/mplayer \
+    --mandir=%{_mandir} \
+    --confdir=%{_sysconfdir}/mplayer \
+    --libdir=%{_libdir} \
+    --codecsdir=%{codecsdir} \
+    \
+    --disable-encoder=FAAC \
+    --disable-encoder=MP3LAME \
+    --disable-encoder=X264 \
+    \
+    --enable-gui \
+    --enable-largefiles \
+    --disable-termcap \
+    --disable-bitmap-font \
+    --enable-lirc \
+    --enable-joystick \
+    %{!?_with_samba:--disable-smb} \
+    --disable-dvdread-internal \
+    --disable-libdvdcss-internal \
+    --enable-menu \
+    \
+    --disable-faad-internal \
+    --disable-tremor-internal \
+    %{!?_with_amr:--disable-libamr_nb --disable-libamr_wb} \
+    %{!?_with_libmad:--disable-mad} \
+    %{?_with_xmms:--enable-xmms} \
+    \
+    --disable-svga \
+    --enable-xvmc \
+    --%{?_with_directfb:enable}%{!?_with_directfb:disable}-directfb \
+    %{!?_with_svgalib:--disable-svga} \
+    \
+    %{!?_with_arts:--disable-arts} \
+    %{!?_with_esound:--disable-esd} \
+    %{!?_with_jack:--disable-jack} \
+    %{!?_with_openal:--disable-openal} \
+    \
+    --language=all \
+    \
+    %{?_with_xmms:--with-xmmslibdir=%{_libdir}} \
+    --with-xvmclib=XvMCW
+
+%{__make}
+
+mv -f mplayer gmplayer
+%{__make} distclean
+
+./configure \
+    --prefix=%{_prefix} \
+    --bindir=%{_bindir} \
+    --datadir=%{_datadir}/mplayer \
+    --mandir=%{_mandir} \
+    --confdir=%{_sysconfdir}/mplayer \
+    --libdir=%{_libdir} \
+    --codecsdir=%{codecsdir} \
+    \
+    --disable-encoder=FAAC \
+    --disable-encoder=MP3LAME \
+    --disable-encoder=X264 \
+    \
+    --enable-largefiles \
+    --disable-termcap \
+    --disable-bitmap-font \
+    --enable-lirc \
+    --enable-joystick \
+    %{!?_with_samba:--disable-smb} \
+    --disable-dvdread-internal \
+    --disable-libdvdcss-internal \
+    --enable-menu \
+    \
+    --disable-faad-internal \
+    --disable-tremor-internal \
+    %{!?_with_amr:--disable-libamr_nb --disable-libamr_wb} \
+    %{!?_with_libmad:--disable-mad} \
+    %{?_with_xmms:--enable-xmms} \
+    \
+    --disable-svga \
+    --enable-xvmc \
+    --%{?_with_directfb:enable}%{!?_with_directfb:disable}-directfb \
+    %{!?_with_svgalib:--disable-svga} \
+    \
+    %{!?_with_arts:--disable-arts} \
+    %{!?_with_esound:--disable-esd} \
+    %{!?_with_jack:--disable-jack} \
+    %{!?_with_openal:--disable-openal} \
+    \
+    --language=all \
+    \
+    %{?_with_xmms:--with-xmmslibdir=%{_libdir}} \
+    --with-xvmclib=XvMCW
+
+%{__make}
+
+# build HTML documentation from XML files 
+pushd DOCS/xml
+%{__make} html-chunked
+popd
+
+%install
+rm -rf $RPM_BUILD_ROOT doc
+
+make install DESTDIR=$RPM_BUILD_ROOT STRIPBINARIES=no
+install -pm 755 TOOLS/midentify $RPM_BUILD_ROOT%{_bindir}/
+
+# Clean up documentation
+mkdir doc
+cp -pR DOCS/* doc/
+rm -r doc/man doc/xml doc/README
+mv doc/HTML/* doc/
+rm -rf doc/HTML
+
+# Default config files
+install -Dpm 644 etc/example.conf \
+    $RPM_BUILD_ROOT%{_sysconfdir}/mplayer/mplayer.conf
+# use Nimbus Sans L font for OSD (via fontconfig)
+echo "fontconfig=yes" >>$RPM_BUILD_ROOT%{_sysconfdir}/mplayer/mplayer.conf
+echo "font=\"Sans\"" >>$RPM_BUILD_ROOT%{_sysconfdir}/mplayer/mplayer.conf
+
+install -pm 644 etc/{input,menu}.conf $RPM_BUILD_ROOT%{_sysconfdir}/mplayer/
+
+# GUI mplayer
+install -pm 755 g%{name} $RPM_BUILD_ROOT%{_bindir}/
+
+# Default skin
+install -dm 755 $RPM_BUILD_ROOT%{_datadir}/mplayer/skins
+tar xjC $RPM_BUILD_ROOT%{_datadir}/mplayer/skins --exclude=.svn -f %{SOURCE1}
+ln -s Blue $RPM_BUILD_ROOT%{_datadir}/mplayer/skins/default
+
+# Icons
+install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+install -pm 644 etc/mplayer.xpm \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+
+# Desktop file
+desktop-file-install \
+        --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+        etc/%{name}.desktop
+
+# Codec dir
+install -dm 755 $RPM_BUILD_ROOT%{codecsdir}
+
+
+%post gui
+gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
+update-desktop-database &>/dev/null || :
+
+
+%postun gui
+gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
+update-desktop-database &>/dev/null || :
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-, root, root, -)
+%doc AUTHORS Changelog LICENSE README
+%dir %{_sysconfdir}/mplayer
+%config(noreplace) %{_sysconfdir}/mplayer/mplayer.conf
+%config(noreplace) %{_sysconfdir}/mplayer/input.conf
+%config(noreplace) %{_sysconfdir}/mplayer/menu.conf
+%{_bindir}/midentify
+%{_bindir}/mplayer
+%dir %{codecsdir}/
+%dir %{_datadir}/mplayer/
+%{_mandir}/man1/mplayer.1*
+%lang(cs) %{_mandir}/cs/man1/mplayer.1*
+%lang(de) %{_mandir}/de/man1/mplayer.1*
+%lang(es) %{_mandir}/es/man1/mplayer.1*
+%lang(fr) %{_mandir}/fr/man1/mplayer.1*
+%lang(hu) %{_mandir}/hu/man1/mplayer.1*
+%lang(it) %{_mandir}/it/man1/mplayer.1*
+%lang(pl) %{_mandir}/pl/man1/mplayer.1*
+%lang(ru) %{_mandir}/ru/man1/mplayer.1*
+%lang(zh_CN) %{_mandir}/zh_CN/man1/mplayer.1*
+
+%files gui
+%defattr(-, root, root, -)
+%{_bindir}/gmplayer
+%{_datadir}/applications/*mplayer.desktop
+%{_datadir}/icons/hicolor/32x32/apps/mplayer.xpm
+%{_datadir}/mplayer/skins/
+
+%files -n mencoder
+%defattr(-, root, root, -)
+%{_bindir}/mencoder
+%{_mandir}/man1/mencoder.1*
+%lang(cs) %{_mandir}/cs/man1/mencoder.1*
+%lang(de) %{_mandir}/de/man1/mencoder.1*
+%lang(es) %{_mandir}/es/man1/mencoder.1*
+%lang(fr) %{_mandir}/fr/man1/mencoder.1*
+%lang(hu) %{_mandir}/hu/man1/mencoder.1*
+%lang(it) %{_mandir}/it/man1/mencoder.1*
+%lang(pl) %{_mandir}/pl/man1/mencoder.1*
+%lang(ru) %{_mandir}/ru/man1/mencoder.1*
+%lang(zh_CN) %{_mandir}/zh_CN/man1/mencoder.1*
+
+%files doc
+%defattr(-, root, root, -)
+%doc doc/en/ doc/tech/
+%lang(cs) %doc doc/cs/
+%lang(de) %doc doc/de/
+%lang(es) %doc doc/es/
+%lang(fr) %doc doc/fr/
+%lang(hu) %doc doc/hu/
+%lang(pl) %doc doc/pl/
+%lang(ru) %doc doc/ru/
+%lang(zh_CN) %doc doc/zh_CN/
+
+
+%changelog
+* Sat Oct 06 2007 Dominik Mierzejewski <rpm at greysector.net>
+- adapted livna specfile for inclusion in SVN