This commit is contained in:
Tom Callaway 2012-01-30 13:42:20 -05:00
parent 324895138b
commit a17e80ebac
4 changed files with 13 additions and 19 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ libvpx-0.9.1.tar.bz2
/libvpx-v0.9.6.tar.bz2
/libvpx-v0.9.7.tar.bz2
/libvpx-v0.9.7-p1.tar.bz2
/libvpx-v1.0.0.tar.bz2

View File

@ -5,7 +5,7 @@ includedir=@INCLUDEDIR@
Name: libvpx
Description: VP8 Video Codec SDK library
Version: 0.9.1
Version: 1.0.0
URL: http://www.webmproject.org/tools/vp8-sdk/
Requires:
Conflicts:

View File

@ -1,14 +1,11 @@
Name: libvpx
Summary: VP8 Video Codec SDK
Version: 0.9.7.1
#global soversion %{version}
%global soversion 0.9.7
Release: 4%{?dist}
Version: 1.0.0
%global soversion %{version}
Release: 1%{?dist}
License: BSD
Group: System Environment/Libraries
# sigh, non-canonical version strings. clean up in 0.9.8 plz.
#Source0: http://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2
Source0: http://webm.googlecode.com/files/%{name}-v%{soversion}-p1.tar.bz2
Source0: http://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2
# Probably this should be dropped now that upstream ships a vpx.pc;
# not for F16 though
Source1: libvpx.pc
@ -28,7 +25,7 @@ deployed on millions of computers and devices worldwide.
%package devel
Summary: Development files for libvpx
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development libraries and headers for developing software against
@ -37,15 +34,14 @@ libvpx.
%package utils
Summary: VP8 utilities and tools
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils
A selection of utilities and tools for VP8, including a sample encoder
and decoder.
%prep
#setup -q -n %{name}-v%{version}
%setup -q -n %{name}-v%{soversion}-p1
%setup -q -n %{name}-v%{version}
%build
%ifarch %{ix86}
@ -138,19 +134,14 @@ mv usr/bin/twopass_encoder usr/bin/vp8_twopass_encoder
chmod 755 usr/bin/*
popd
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG LICENSE README
%{_libdir}/libvpx.so.*
%files devel
%defattr(-,root,root,-)
# These are SDK docs, not really useful to an end-user.
%doc docs/html/
%{_includedir}/vpx/
@ -159,10 +150,12 @@ rm -rf %{buildroot}
%{_libdir}/libvpx.so
%files utils
%defattr(-,root,root,-)
%{_bindir}/*
%changelog
* Mon Jan 30 2012 Tom Callaway <spot@fedoraproject.org> - 1.0.0-1
- update to 1.0.0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1 +1 @@
bd888cffde8d9c3061c7fd719b0cd4ce libvpx-v0.9.7-p1.tar.bz2
d987b5140412edd37d2c6b10c29ad484 libvpx-v1.0.0.tar.bz2