## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global sover 3 %global aom_version v3.9.0 %if 0%{?fedora} || 0%{?rhel} >= 9 %ifarch x86_64 %bcond_without vmaf %endif %if 0%{?fedora} > 40 || 0%{?rhel} > 9 %bcond_with jpegxl %else %bcond_without jpegxl %endif %endif Name: aom Version: 3.9.0 Release: %autorelease Summary: Royalty-free next-generation video format License: BSD-3-Clause URL: http://aomedia.org/ Source0: https://aomedia.googlesource.com/%{name}/+archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: gcc BuildRequires: cmake3 BuildRequires: doxygen BuildRequires: git-core # BuildRequires: graphviz BuildRequires: perl-interpreter BuildRequires: perl(Getopt::Long) BuildRequires: python3-devel BuildRequires: yasm %if %{with jpegxl} BuildRequires: pkgconfig(libjxl) BuildRequires: pkgconfig(libhwy) %endif %if %{with vmaf} BuildRequires: pkgconfig(libvmaf) %endif Provides: av1 = %{version}-%{release} Requires: libaom%{?_isa} = %{version}-%{release} %description The Alliance for Open Media’s focus is to deliver a next-generation video format that is: - Interoperable and open; - Optimized for the Internet; - Scalable to any modern device at any bandwidth; - Designed with a low computational footprint and optimized for hardware; - Capable of consistent, highest-quality, real-time video delivery; and - Flexible for both commercial and non-commercial content, including user-generated content. This package contains the reference encoder and decoder. %package -n libaom Summary: Library files for aom %description -n libaom Library files for aom, the royalty-free next-generation video format. %package -n libaom-devel Summary: Development files for aom Requires: libaom%{?_isa} = %{version}-%{release} %description -n libaom-devel Development files for aom, the royalty-free next-generation video format. %prep %autosetup -p1 -c %{name}-%{version} # Set GIT revision in version sed -i 's@set(aom_version "")@set(aom_version "%{aom_version}")@' build/cmake/version.cmake # Disable PDF generation which is buggy sed -i "s@GENERATE_LATEX = YES@GENERATE_LATEX = NO@" libs.doxy_template %build %ifarch %{arm} %global optflags %{__global_compiler_flags} -march=armv7-a -mfpu=neon -mtune=cortex-a8 -mabi=aapcs-linux -mfloat-abi=hard %endif %cmake3 -DENABLE_CCACHE=1 \ -DCMAKE_SKIP_RPATH=1 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCONFIG_WEBM_IO=1 \ -DENABLE_DOCS=1 \ -DENABLE_TESTS=0 \ -DCONFIG_ANALYZER=0 \ -DBUILD_SHARED_LIBS=1 \ %if %{with jpegxl} -DCONFIG_TUNE_BUTTERAUGLI=1 \ %endif %if %{with vmaf} -DCONFIG_TUNE_VMAF=1 \ %endif %{nil} %cmake3_build %install %cmake3_install rm -rvf %{buildroot}%{_libdir}/libaom.a %files %doc AUTHORS CHANGELOG README.md %license LICENSE PATENTS %{_bindir}/aomdec %{_bindir}/aomenc %files -n libaom %license LICENSE PATENTS %{_libdir}/libaom.so.%{sover}* %files -n libaom-devel %doc %{_vpath_builddir}/docs/html/ %{_includedir}/%{name} %{_libdir}/libaom.so %{_libdir}/pkgconfig/%{name}.pc %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 3.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Nicolas Chauvet - 3.9.0-2 - Rebuild for vmaf * Wed May 15 2024 Fabio Valentini - 3.9.0-1 - Update to version 3.9.0; Fixes RHBZ#2274372 * Thu Apr 18 2024 Sérgio M. Basto - 3.8.2-3 - jpegxl-0.10.x did not land on F40 * Thu Apr 18 2024 Sérgio M. Basto - 3.8.2-2 - Fix build for eln * Thu Mar 14 2024 Fabio Valentini - 3.8.2-1 - Update to version 3.8.2; Fixes RHBZ#2258897 * Wed Mar 13 2024 Sérgio M. Basto - 3.8.0-7 - Rebuild for jpegxl (libjxl) 0.10.2 * Wed Feb 14 2024 Sérgio M. Basto - 3.8.0-6 - fix previous commit * Wed Feb 14 2024 Sérgio M. Basto - 3.8.0-5 - Disable jpegxl on Fedora 40+ jpegxl 0.9 removed butteraugli api * Wed Feb 14 2024 Sérgio M. Basto - 3.8.0-4 - Rebuild for jpegxl (libjxl) 0.9.2 with soname bump * Mon Jan 22 2024 Fedora Release Engineering - 3.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 3.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Dec 28 2023 Fabio Valentini - 3.8.0-1 - Update to version 3.8.0; Fixes RHBZ#2252498 * Wed Nov 29 2023 Fabio Valentini - 3.7.1-1 - Update to version 3.7.1; Fixes RHBZ#2250720 * Fri Sep 01 2023 Fabio Valentini - 3.7.0-1 - Update to version 3.7.0; Fixes RHBZ#2236624 * Wed Jul 19 2023 Fedora Release Engineering - 3.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 20 2023 Fabio Valentini - 3.6.1-1 - Update to version 3.6.1; Fixes RHBZ#2193518 * Sun Jun 18 2023 Sérgio M. Basto - 3.6.0-2 - Mass rebuild for jpegxl-0.8.1 * Sat Mar 18 2023 Robert-André Mauchin - 3.6.0-1 - Update to 3.6.0 * Wed Jan 18 2023 Fedora Release Engineering - 3.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Nov 19 2022 Robert-André Mauchin - 3.5.0-2 - Enable JPEGXL dependency * Sun Oct 09 2022 Robert-André Mauchin - 3.5.0-1 - Update to 3.5.0 * Wed Jul 20 2022 Fedora Release Engineering - 3.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jun 19 2022 Robert-André Mauchin - 3.4.0-2 - Fix aom_version variable * Sun Jun 19 2022 Robert-André Mauchin - 3.4.0-1 - Update to 3.4.0 Close: rhbz#2049182, rhbz#2083009 * Wed Jan 19 2022 Fedora Release Engineering - 3.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 17 2021 Robert-André Mauchin - 3.2.0-4 - Adapt for EPEL9 * Fri Dec 17 2021 Robert-André Mauchin - 3.2.0-3 - Remove old source archive * Sun Nov 21 2021 Björn Esser - 3.2.0-2 - Rebuild (jpegxl) * Sun Nov 21 2021 Robert-André Mauchin - 3.2.0-1 - Update to 3.2.0 Close: rhbz#2009099 * Sun Nov 21 2021 Björn Esser - 3.1.2-2 - Rebuild (jpegxl) * Wed Jul 21 2021 Fedora Release Engineering - 3.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jun 13 12:47:37 CEST 2021 Robert-André Mauchin - 3.1.1-1 - Update to 3.1.1 - Close: rhbz#1954337 - Security fix for CVE-2021-30473 - Fix: rhbz#1961375 - Fix: rhbz#1961376 - Security fix for CVE-2021-30475 - Fix: rhbz#1968017 - Fix: rhbz#1968018 * Wed Mar 10 2021 Leigh Scott - 2.0.1-5 - Rebuild for new libvmaf version * Tue Jan 26 2021 Fedora Release Engineering - 2.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 20 2021 Wim Taymans - 2.0.1-3 - Disable vmaf on rhel * Tue Dec 15 01:26:44 CET 2020 Robert-André Mauchin - 2.0.1-2 - Disable tests * Sat Dec 05 21:18:20 CET 2020 Robert-André Mauchin - 2.0.1-1 - Update to 2.0.1 - Close rhbz#1852847 * Tue Jul 28 16:30:33 CEST 2020 Robert-André Mauchin - 2.0.0-3 - Fix FTBFS * Mon Jul 27 2020 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 01 14:33:18 CEST 2020 Robert-André Mauchin - 2.0.0-1 - Update to 2.0.0 (#1852847) * Tue Jan 28 2020 Fedora Release Engineering - 1.0.0-9.20190810git9666276 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Aug 09 17:45:23 CEST 2019 Robert-André Mauchin - 1.0.0-8.20190810git9666276 - Update to commit 9666276accea505cd14cbcb9e3f7ff5033da9172 * Wed Jul 24 2019 Fedora Release Engineering - 1.0.0-7.20180925gitd0076f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.0.0-6.20180925gitd0076f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Sep 25 2018 Robert-André Mauchin - 1.0.0-5.20180925gitd0076f5 - Update to commit d0076f507a6027455540e2e4f25f84ca38803e07 - Set CONFIG_LOWBITDEPTH to 1 - Fix #1632658 * Thu Sep 13 2018 Robert-André Mauchin - 1.0.0-4 - Split the package into libs/tools * Tue Sep 11 2018 Robert-André Mauchin - 1.0.0-3 - Update the archive in order to detect the correct version from the changelog * Thu Jul 12 2018 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 07 2018 Robert-André Mauchin - 1.0.0-1 - First RPM release ## END: Generated by rpmautospec