|
|
|
@ -1,7 +1,3 @@
|
|
|
|
|
# v1.5.3-Firefox39 branch
|
|
|
|
|
%global commit0 2706e36bf0a8b7c539c803ed877148c005ffca59
|
|
|
|
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
# To get the gmp-api commit to use, run:
|
|
|
|
|
# rm -rf gmp-api;make gmp-bootstrap;cd gmp-api;git rev-parse HEAD
|
|
|
|
|
%global commit1 c5f1d0f3213178818cbfb3e16f31d07328980560
|
|
|
|
@ -12,13 +8,13 @@
|
|
|
|
|
%global gst_release 1
|
|
|
|
|
|
|
|
|
|
Name: openh264
|
|
|
|
|
Version: 1.5.3
|
|
|
|
|
Release: 0.1.git%{shortcommit0}%{?dist}
|
|
|
|
|
Version: 1.6.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: H.264 codec library
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://www.openh264.org/
|
|
|
|
|
Source0: https://github.com/cisco/openh264/archive/%{commit0}/openh264-%{shortcommit0}.tar.gz
|
|
|
|
|
Source0: https://github.com/cisco/openh264/archive/v%{version}/openh264-%{version}.tar.gz
|
|
|
|
|
Source1: https://github.com/mozilla/gmp-api/archive/%{commit1}/gmp-api-%{shortcommit1}.tar.gz
|
|
|
|
|
# The source is:
|
|
|
|
|
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%%{gst_version}.tar.xz
|
|
|
|
@ -69,7 +65,7 @@ This package contains the H.264 plugin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -qn openh264-%{commit0}
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
# Extract gmp-api archive
|
|
|
|
|
tar -xf %{S:1}
|
|
|
|
@ -202,7 +198,7 @@ popd
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_libdir}/libopenh264.so.1
|
|
|
|
|
%{_libdir}/libopenh264.so.3
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/wels/
|
|
|
|
@ -223,6 +219,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 25 2016 Kalev Lember <klember@redhat.com> - 1.6.0-1
|
|
|
|
|
- Update openh264 to 1.6.0
|
|
|
|
|
|
|
|
|
|
* Thu Apr 28 2016 Kalev Lember <klember@redhat.com> - 1.5.3-0.1.git2706e36
|
|
|
|
|
- Update openh264 to 1.5.3 git snapshot
|
|
|
|
|
- Update gstreamer plugin to 1.8.1
|
|
|
|
|