|
|
@ -1,11 +1,11 @@
|
|
|
|
# TODO: add make test to %%check section
|
|
|
|
# TODO: add make test to %%check section
|
|
|
|
|
|
|
|
|
|
|
|
%global svn 20110110
|
|
|
|
%global date 20110227
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Digital VCR and streaming server
|
|
|
|
Summary: Digital VCR and streaming server
|
|
|
|
Name: ffmpeg
|
|
|
|
Name: ffmpeg
|
|
|
|
Version: 0.6.1
|
|
|
|
Version: 0.6.1
|
|
|
|
Release: 1.%{svn}svn%{?dist}
|
|
|
|
Release: 1.%{date}git%{?dist}
|
|
|
|
%if 0%{?_with_amr:1}
|
|
|
|
%if 0%{?_with_amr:1}
|
|
|
|
License: GPLv3+
|
|
|
|
License: GPLv3+
|
|
|
|
%else
|
|
|
|
%else
|
|
|
@ -13,7 +13,7 @@ License: GPLv2+
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
URL: http://ffmpeg.org/
|
|
|
|
URL: http://ffmpeg.org/
|
|
|
|
Source0: ffmpeg-%{svn}.tar.bz2
|
|
|
|
Source0: ffmpeg-%{date}.tar.bz2
|
|
|
|
Source1: ffmpeg-snapshot.sh
|
|
|
|
Source1: ffmpeg-snapshot.sh
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
@ -83,7 +83,6 @@ This package contains development files for %{name}
|
|
|
|
--mandir=%{_mandir} \\\
|
|
|
|
--mandir=%{_mandir} \\\
|
|
|
|
--arch=%{_target_cpu} \\\
|
|
|
|
--arch=%{_target_cpu} \\\
|
|
|
|
--extra-cflags="$RPM_OPT_FLAGS" \\\
|
|
|
|
--extra-cflags="$RPM_OPT_FLAGS" \\\
|
|
|
|
--extra-version=rpmfusion \\\
|
|
|
|
|
|
|
|
%{?_with_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3} \\\
|
|
|
|
%{?_with_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3} \\\
|
|
|
|
--enable-bzlib \\\
|
|
|
|
--enable-bzlib \\\
|
|
|
|
--enable-libdc1394 \\\
|
|
|
|
--enable-libdc1394 \\\
|
|
|
@ -112,13 +111,10 @@ This package contains development files for %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n ffmpeg-%{svn}
|
|
|
|
%setup -q -n ffmpeg-%{date}
|
|
|
|
|
|
|
|
echo "git-snapshot-%{date}-RPMFusion" > VERSION
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
|
|
|
|
|
|
|
# compile with -mlongcall on ppc/ppc64 (rf804)
|
|
|
|
|
|
|
|
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mlongcall"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
mkdir generic
|
|
|
|
mkdir generic
|
|
|
|
pushd generic
|
|
|
|
pushd generic
|
|
|
|
%{ff_configure}\
|
|
|
|
%{ff_configure}\
|
|
|
@ -137,10 +133,12 @@ pushd generic
|
|
|
|
%ifarch ppc
|
|
|
|
%ifarch ppc
|
|
|
|
--cpu=g3 \
|
|
|
|
--cpu=g3 \
|
|
|
|
--enable-runtime-cpudetect \
|
|
|
|
--enable-runtime-cpudetect \
|
|
|
|
|
|
|
|
--enable-pic \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch ppc64
|
|
|
|
%ifarch ppc64
|
|
|
|
--cpu=g5 \
|
|
|
|
--cpu=g5 \
|
|
|
|
--enable-runtime-cpudetect \
|
|
|
|
--enable-runtime-cpudetect \
|
|
|
|
|
|
|
|
--enable-pic \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch sparc sparc64
|
|
|
|
%ifarch sparc sparc64
|
|
|
|
--disable-vis \
|
|
|
|
--disable-vis \
|
|
|
@ -230,11 +228,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jan 10 2011 Dominik Mierzejewski <rpm at greysector.net> - 0.6.1-1.20110110svn
|
|
|
|
* Sun Feb 27 2011 Dominik Mierzejewski <rpm at greysector.net> - 0.6.1-1.20110227git
|
|
|
|
- 20110110 snapshot
|
|
|
|
- 20110227 snapshot
|
|
|
|
- bump version to post-0.6.1 to allow stable 0.6.1 update in older branches
|
|
|
|
- bump version to post-0.6.1 to allow stable 0.6.1 update in older branches
|
|
|
|
- drop --with amr->opencore_amr indirection
|
|
|
|
- drop --with amr->opencore_amr indirection
|
|
|
|
- add qt-faststart tool (bug #1259)
|
|
|
|
- add qt-faststart tool (bug #1259)
|
|
|
|
|
|
|
|
- build PIC objects on PPC (bug #1457)
|
|
|
|
|
|
|
|
- provide custom version string
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2011 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.6-5.20100704svn
|
|
|
|
* Fri Jan 21 2011 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.6-5.20100704svn
|
|
|
|
- Rebuild for new openjpeg
|
|
|
|
- Rebuild for new openjpeg
|
|
|
|