From 1fcb08091e1165a2d8513087cbfd5e4583a5e5a1 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Feb 28 2013 17:58:00 +0000 Subject: update to 1.2.0 --- diff --git a/libvpx.spec b/libvpx.spec index d803cb9..27bfa11 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -1,14 +1,25 @@ +%global majorver 1 +%global minorver 2 +%global tinyver 0 + Name: libvpx Summary: VP8 Video Codec SDK -Version: 1.0.0 +Version: %{majorver}.%{minorver}.%{tinyver} %global soversion %{version} -Release: 3%{?dist} +Release: 1%{?dist} License: BSD Group: System Environment/Libraries +# Google forgot to make a 1.2.0 tarball, so I made one from the git tag. +# git clone https://code.google.com/p/webm.libvpx/ libvpx +# cd libvpx +# git checkout v1.2.0 +# rm -rf .git* +# cd .. +# mv libvpx libvpx-v1.2.0 +# tar xvfj libvpx-v1.2.0.tar.bz2 libvpx-v1.2.0 Source0: http://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2 # Thanks to debian. Source2: libvpx.ver -Patch0: libvpx-v1.0.0-pcfix.patch URL: http://www.webmproject.org/tools/vp8-sdk/ %ifarch %{ix86} x86_64 BuildRequires: yasm @@ -40,7 +51,6 @@ and decoder. %prep %setup -q -n %{name}-v%{version} -%patch0 -p1 -b .pcfix %build %ifarch %{ix86} @@ -80,7 +90,7 @@ mkdir tmp cd tmp ar x ../libvpx_g.a cd .. -gcc -fPIC -shared -pthread -lm -Wl,--no-undefined -Wl,-soname,libvpx.so.0 -Wl,--version-script,%{SOURCE2} -Wl,-z,noexecstack -o libvpx.so.%{soversion} tmp/*.o +gcc -fPIC -shared -pthread -lm -Wl,--no-undefined -Wl,-soname,libvpx.so.%{majorver} -Wl,--version-script,%{SOURCE2} -Wl,-z,noexecstack -o libvpx.so.%{soversion} tmp/*.o rm -rf tmp %endif @@ -108,8 +118,8 @@ mv %{buildroot}/usr/docs doc/ install -p libvpx.so.%{soversion} %{buildroot}%{_libdir} pushd %{buildroot}%{_libdir} ln -sf libvpx.so.%{soversion} libvpx.so -ln -sf libvpx.so.%{soversion} libvpx.so.0 -ln -sf libvpx.so.%{soversion} libvpx.so.0.9 +ln -sf libvpx.so.%{soversion} libvpx.so.%{majorver} +ln -sf libvpx.so.%{soversion} libvpx.so.%{majorver}.%{minorver} popd %endif @@ -143,6 +153,18 @@ popd %{_bindir}/* %changelog +* Thu Feb 28 2013 Tom Callaway - 1.2.0-1 +- update to 1.2.0 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue May 29 2012 Tom Callaway - 1.1.0-1 +- update to 1.1.0 + * Tue May 29 2012 Tom Callaway - 1.0.0-3 - fix vpx.pc file to include -lm (bz825754) diff --git a/sources b/sources index eed8570..fec9a61 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d987b5140412edd37d2c6b10c29ad484 libvpx-v1.0.0.tar.bz2 +400d7c940c5f9d394893d42ae5f463e6 libvpx-v1.2.0.tar.bz2