Compare commits

...

No commits in common. "c8s" and "c9s" have entirely different histories.
c8s ... c9s

3 changed files with 44 additions and 18 deletions

View File

@ -1,6 +1,6 @@
--- !Policy
product_versions:
- rhel-8
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -5,7 +5,7 @@
Name: libtheora
Epoch: 1
Version: 1.1.1
Release: 21%{?dist}
Release: 31%{?dist}
Summary: Theora Video Compression Codec
License: BSD
URL: http://www.theora.org
@ -15,6 +15,7 @@ Patch0: libtheora-1.1.1-fix-pp_sharp_mod-calc.patch
Patch1: libtheora-1.1.1-libpng16.patch
Patch2: libtheora-1.1.1-libm.patch
BuildRequires: make
BuildRequires: autoconf automake libtool
BuildRequires: libogg-devel >= 2:1.1
BuildRequires: libvorbis-devel
@ -39,12 +40,6 @@ in the future to improve over what is possible with VP3.
Summary: Development tools for Theora applications
Requires: libogg-devel >= 2:1.1
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
# the new experimental decoder is now part of the regular libtheora
# we do not obsolete theora-exp itself as that had a different soname and we
# do not want to break deps, however we do now provide the same headers as
# theora-exp-devel did.
Obsoletes: theora-exp-devel
Provides: theora-exp-devel
%description devel
The libtheora-devel package contains the header files needed to develop
@ -75,19 +70,18 @@ with theora bitstreams.
%patch1 -p0 -b .libpng16
%patch2 -p1
# no custom CFLAGS please
sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure
# Update config.guess/sub to fix builds on new architectures (aarch64/ppc64le)
cp /usr/lib/rpm/config.* .
cp /usr/lib/rpm/redhat/config.* .
%build
./autogen.sh
# no custom CFLAGS please
sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure
%configure --enable-shared --disable-static
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%{make_build}
%if ! 0%{?bootstrap}
make -C doc/spec %{?_smp_mflags}
@ -95,12 +89,12 @@ make -C doc/spec %{?_smp_mflags}
%install
%make_install
%{make_install}
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -r $RPM_BUILD_ROOT/%{_docdir}/*
find %{buildroot} -type f -name "*.la" -delete
rm -r %{buildroot}/%{_docdir}/*
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p %{buildroot}/%{_bindir}
install -m 755 examples/.libs/dump_video $RPM_BUILD_ROOT/%{_bindir}/theora_dump_video
install -m 755 examples/.libs/encoder_example $RPM_BUILD_ROOT/%{_bindir}/theora_encode
install -m 755 examples/.libs/player_example $RPM_BUILD_ROOT/%{_bindir}/theora_player
@ -130,6 +124,38 @@ install -m 755 examples/.libs/png2theora $RPM_BUILD_ROOT/%{_bindir}/png2theora
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.1.1-31
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.1.1-30
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Aug 03 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.1-28
- Use new macros, update config.\* locations
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-27
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libtheora-1.1.1.tar.xz) = 032fb60f10ac0074ec87d5f8c586702309edc50dc0d2842d2f9b9c46ebd1500acc399e9309f858f318fff5b8fbe953234db3afb54ed74a03d0f2c6ee8c3ed481
9eeabf1ad65b7f41533854a59f7a716d libtheora-1.1.1.tar.xz