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.6.tar.bz2
/libvpx-v0.9.7.tar.bz2 /libvpx-v0.9.7.tar.bz2
/libvpx-v0.9.7-p1.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 Name: libvpx
Description: VP8 Video Codec SDK library Description: VP8 Video Codec SDK library
Version: 0.9.1 Version: 1.0.0
URL: http://www.webmproject.org/tools/vp8-sdk/ URL: http://www.webmproject.org/tools/vp8-sdk/
Requires: Requires:
Conflicts: Conflicts:

View File

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