Author: rathann
Update of /cvs/free/rpms/mplayer/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26027
Modified Files:
.cvsignore mplayer.spec sources
Log Message:
* Sat Jan 16 2010 Dominik Mierzejewski <rpm at greysector.net> -
1.0-0.112.20100116svn
- 20100116 snapshot
- rebuild against current x264
- fix licence tag when compiled with OpenCore AMR
- fix build --with faac (bug #997)
- enable radio support (bug #634)
- openal-devel is now openal-soft-devel (bug #935)
- move some files to -common subpackage, adjust dependencies (bug #1037)
- introduce -tools subpackage, move scripts there (bugs #544, #1037)
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/mplayer/devel/.cvsignore,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- .cvsignore 30 Oct 2009 01:10:22 -0000 1.14
+++ .cvsignore 17 Jan 2010 03:31:18 -0000 1.15
@@ -1,2 +1,2 @@
Blue-1.7.tar.bz2
-mplayer-export-2009-10-29.tar.bz2
+mplayer-export-2010-01-16.tar.bz2
Index: mplayer.spec
===================================================================
RCS file: /cvs/free/rpms/mplayer/devel/mplayer.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- mplayer.spec 16 Jan 2010 21:30:10 -0000 1.25
+++ mplayer.spec 17 Jan 2010 03:31:18 -0000 1.26
@@ -1,16 +1,20 @@
%define codecdir %{_libdir}/codecs
-%define pre 20091029svn
+%define pre 20100116svn
%define svn 1
-%define svnbuild 2009-10-29
+%define svnbuild 2010-01-16
%define faad2min 1:2.6.1
Name: mplayer
Version: 1.0
-Release: 0.111.%{pre}%{?dist}
+Release: 0.112.%{pre}%{?dist}
Summary: Movie player playing most video formats and DVDs
Group: Applications/Multimedia
+%if 0%{!?_without_amr:1}
+License: GPLv3+
+%else
License: GPLv2+
+%endif
URL:
http://www.mplayerhq.hu/
%if %{svn}
# run ./mplayer-snapshot.sh to get this
@@ -34,7 +38,6 @@
BuildRequires: desktop-file-utils
BuildRequires: em8300-devel
BuildRequires: enca-devel
-%{?_with_faac: BuildRequires: faac-devel}
BuildRequires: faad2-devel >= %{faad2min}
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel >= 2.0.9
@@ -66,17 +69,18 @@
BuildRequires: schroedinger-devel
BuildRequires: speex-devel >= 1.1
BuildRequires: twolame-devel
-BuildRequires: x264-devel >= 0.0.0-0.26.20091026
+BuildRequires: x264-devel >= 0.0.0-0.27
BuildRequires: xvidcore-devel >= 0.9.2
BuildRequires: yasm
%{?_with_arts:BuildRequires: arts-devel}
%{!?_without_amr:BuildRequires: opencore-amr-devel}
%{?_with_directfb:BuildRequires: directfb-devel}
%{?_with_esound:BuildRequires: esound-devel}
+%{?_with_faac:BuildRequires: faac-devel}
%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
%{?_with_libmad:BuildRequires: libmad-devel}
%{?_with_nemesi:BuildRequires: libnemesi-devel >= 0.6.3}
-%{?_with_openal:BuildRequires: openal-devel}
+%{?_with_openal:BuildRequires: openal-soft-devel}
%{?_with_samba:BuildRequires: libsmbclient-devel}
%{?_with_svgalib:BuildRequires: svgalib-devel}
%{?_with_xmms:BuildRequires: xmms-devel}
@@ -89,6 +93,7 @@
%endif
Obsoletes: mplayer-fonts
Requires: faad2-libs >= %{faad2min}
+Requires: mplayer-common = %{version}-%{release}
%description
MPlayer is a movie player that plays most MPEG, VOB, AVI, OGG/OGM,
@@ -101,7 +106,8 @@
Non-default rpmbuild options:
--with samba: Enable Samba (smb://) support
--with xmms: Enable XMMS input plugin support
---with amr: Enable AMR support
+--without amr: Disable AMR support
+--with faac: Enable FAAC support
--with libmad: Enable libmad support
--with openal: Enable OpenAL support
--with jack: Enable JACK support
@@ -111,10 +117,17 @@
--with svgalib: Enable SVGAlib support
--with nemesi: Enable libnemesi RTSP support
+%package common
+Summary: MPlayer common files
+Group: Applications/Multimedia
+
+%description common
+This package contains common files for MPlayer packages.
+
%package gui
Summary: GUI for MPlayer
Group: Applications/Multimedia
-Requires: mplayer = %{version}-%{release}
+Requires: mplayer-common = %{version}-%{release}
Requires: hicolor-icon-theme
%description gui
@@ -123,7 +136,7 @@
%package -n mencoder
Summary: MPlayer movie encoder
Group: Applications/Multimedia
-Requires: mplayer = %{version}-%{release}
+Requires: mplayer-common = %{version}-%{release}
%description -n mencoder
This package contains the MPlayer movie encoder.
@@ -135,6 +148,15 @@
%description doc
MPlayer documentation in various languages.
+%package tools
+Summary: Useful scripts for MPlayer
+Group: Applications/Multimedia
+Requires: mencoder = %{version}-%{release}
+Requires: mplayer = %{version}-%{release}
+
+%description tools
+This package contains various scripts from MPlayer TOOLS directory.
+
%define mp_configure \
./configure \\\
--prefix=%{_prefix} \\\
@@ -152,6 +174,8 @@
--enable-largefiles \\\
--enable-lirc \\\
--enable-menu \\\
+ --enable-radio \\\
+ --enable-radio-capture \\\
--enable-runtime-cpudetection \\\
--enable-unrarexec \\\
\\\
@@ -166,6 +190,7 @@
\\\
--disable-liba52-internal \\\
%{?_without_amr:--disable-libopencore_amrnb --disable-libopencore_amrwb} \\\
+ %{!?_with_faac:--disable-faac} \\\
--disable-faad-internal \\\
%{!?_with_libmad:--disable-mad} \\\
--disable-tremor-internal \\\
@@ -210,7 +235,7 @@
%build
pushd GUI
-%{mp_configure}--enable-gui --disable-mencoder
+%{mp_configure}--enable-gui
%{__make} %{?_smp_mflags}
popd
@@ -230,10 +255,21 @@
rm -rf $RPM_BUILD_ROOT doc
make install DESTDIR=$RPM_BUILD_ROOT STRIPBINARIES=no
-for file in aconvert.sh midentify.sh ; do
+for file in aconvert.sh divx2svcd.sh mencvcd.sh midentify.sh mpconsole.sh qepdvcd.sh
subsearch.sh ; do
install -pm 755 TOOLS/$file $RPM_BUILD_ROOT%{_bindir}/`basename $file .sh`
done
+for file in calcbpp.pl countquant.pl dvd2divxscript.pl ; do
+install -pm 755 TOOLS/$file $RPM_BUILD_ROOT%{_bindir}/`basename $file .pl`
+done
+
+for file in vobshift.py ; do
+install -pm 755 TOOLS/$file $RPM_BUILD_ROOT%{_bindir}/`basename $file .py`
+done
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/mplayer
+install -pm 644 TOOLS/*.fp $RPM_BUILD_ROOT%{_datadir}/mplayer/
+
# Clean up documentation
mkdir doc
cp -pR DOCS/* doc/
@@ -286,13 +322,15 @@
%files
%defattr(-, root, root, -)
+%{_bindir}/mplayer
+
+%files common
+%defattr(-, root, root, -)
%doc AUTHORS Changelog Copyright 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 %{codecdir}/
%dir %{_datadir}/mplayer/
%{_mandir}/man1/mplayer.1*
@@ -315,7 +353,6 @@
%files -n mencoder
%defattr(-, root, root, -)
-%{_bindir}/aconvert
%{_bindir}/mencoder
%{_mandir}/man1/mencoder.1*
%lang(cs) %{_mandir}/cs/man1/mencoder.1*
@@ -340,8 +377,32 @@
%lang(ru) %doc doc/ru/
%lang(zh_CN) %doc doc/zh_CN/
+%files tools
+%defattr(-, root, root, -)
+%{_bindir}/aconvert
+%{_bindir}/calcbpp
+%{_bindir}/countquant
+%{_bindir}/divx2svcd
+%{_bindir}/dvd2divxscript
+%{_bindir}/mencvcd
+%{_bindir}/midentify
+%{_bindir}/mpconsole
+%{_bindir}/qepdvcd
+%{_bindir}/subsearch
+%{_bindir}/vobshift
+%{_datadir}/mplayer/*.fp
%changelog
+* Sat Jan 16 2010 Dominik Mierzejewski <rpm at greysector.net> -
1.0-0.112.20100116svn
+- 20100116 snapshot
+- rebuild against current x264
+- fix licence tag when compiled with OpenCore AMR
+- fix build --with faac (bug #997)
+- enable radio support (bug #634)
+- openal-devel is now openal-soft-devel (bug #935)
+- move some files to -common subpackage, adjust dependencies (bug #1037)
+- introduce -tools subpackage, move scripts there (bugs #544, #1037)
+
* Thu Oct 29 2009 Dominik Mierzejewski <rpm at greysector.net> -
1.0-0.111.20091029svn
- 20091029 snapshot
- rebuild against current x264
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mplayer/devel/sources,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sources 30 Oct 2009 01:10:22 -0000 1.15
+++ sources 17 Jan 2010 03:31:18 -0000 1.16
@@ -1,2 +1,2 @@
e4e2020d11b681aac898103b3ba723c4 Blue-1.7.tar.bz2
-101e633734544dfc735ea27d218342eb mplayer-export-2009-10-29.tar.bz2
+a945a0c0248ebcbfbd72af0975bd46a8 mplayer-export-2010-01-16.tar.bz2