diff --git a/aom.spec b/aom.spec index 26c8c9b..1836d56 100644 --- a/aom.spec +++ b/aom.spec @@ -7,7 +7,7 @@ Name: aom Version: 1.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Royalty-free next-generation video format License: BSD @@ -29,7 +29,7 @@ BuildRequires: wxGTK3-devel BuildRequires: yasm Provides: av1 = %{version}-%{release} - +Requires: libaom%{?_isa} = %{version}-%{release} %description The Alliance for Open Media’s focus is to deliver a next-generation @@ -42,14 +42,32 @@ video format that is: - 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 extra-tools +Summary: Extra tools for aom +Requires: aom%{?_isa} = %{version}-%{release} +%description extra-tools +This package contains the aom analyzer. -%package devel + +%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: %{name}%{?_isa} = %{version}-%{release} +Requires: libaom%{?_isa} = %{version}-%{release} -%description devel -Development files for aom the royalty-free next-generation +%description -n libaom-devel +Development files for aom, the royalty-free next-generation video format. @@ -95,13 +113,20 @@ install -pm 0755 examples/analyzer %{buildroot}%{_bindir}/aomanalyzer %files %doc AUTHORS CHANGELOG README.md %license LICENSE PATENTS -%{_bindir}/aomanalyzer %{_bindir}/aomdec %{_bindir}/aomenc + + +%files extra-tools +%{_bindir}/aomanalyzer + + +%files -n libaom +%license LICENSE PATENTS %{_libdir}/libaom.so.%{sover} -%files devel +%files -n libaom-devel %doc _build/docs/html/ %{_includedir}/%{name} %{_libdir}/libaom.so @@ -109,6 +134,9 @@ install -pm 0755 examples/analyzer %{buildroot}%{_bindir}/aomanalyzer %changelog +* 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