%global sover 0 Name: aom Version: 1.0.0 Release: 2%{?dist} Summary: Royalty-free next-generation video format License: BSD URL: http://aomedia.org/ Source0: https://aomedia.googlesource.com/aom/+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: wxGTK3-devel BuildRequires: yasm Provides: av1 = %{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. %package devel Summary: Development files for aom Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for aom the royalty-free next-generation video format. %prep %autosetup -p1 -c %{name}-%{version} %build cd build %cmake3 ../ -DENABLE_CCACHE=1 \ -DCMAKE_SKIP_RPATH=1 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ %ifnarch aarch64 %{arm} %{ix86} x86_64 -DAOM_TARGET_CPU=generic \ %endif %ifarch %{arm} -DAOM_TARGET_CPU=arm \ %endif %ifarch aarch64 -DAOM_TARGET_CPU=arm64 \ %endif %ifarch %{ix86} -DAOM_TARGET_CPU=x86 \ %endif %ifarch x86_64 -DAOM_TARGET_CPU=x86_64 \ %endif -DCONFIG_WEBM_IO=1 \ -DENABLE_DOCS=1 \ -DCONFIG_ANALYZER=1 %make_build %install cd build %make_install install -pm 0755 examples/analyzer %{buildroot}%{_bindir}/aomanalyzer %ldconfig_scriptlets %files %doc AUTHORS CHANGELOG README.md %license LICENSE PATENTS %{_bindir}/aomanalyzer %{_bindir}/aomdec %{_bindir}/aomenc %{_libdir}/libaom.so.%{sover} %files devel %doc build/docs/html/ %{_includedir}/%{name} %{_libdir}/libaom.so %{_libdir}/pkgconfig/%{name}.pc %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