Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79895751a1 | ||
|
|
80647d2482 | ||
|
|
a2729571d2 |
1 changed files with 19 additions and 2 deletions
21
vmaf.spec
21
vmaf.spec
|
|
@ -1,6 +1,6 @@
|
||||||
Name: vmaf
|
Name: vmaf
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Video Multi-Method Assessment Fusion
|
Summary: Video Multi-Method Assessment Fusion
|
||||||
|
|
||||||
License: BSD-2-Clause-Patent
|
License: BSD-2-Clause-Patent
|
||||||
|
|
@ -54,6 +54,14 @@ Obsoletes: %{name}-devel < %{version}-%{release}
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package models
|
||||||
|
Summary: Model files for %{name}
|
||||||
|
Requires: libvmaf = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description models
|
||||||
|
The %{name}-models package contains model files.
|
||||||
|
These are needed for apps that can't use the builtin models.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
@ -76,10 +84,13 @@ popd
|
||||||
mkdir -p %{buildroot}%{rpmmacrodir}
|
mkdir -p %{buildroot}%{rpmmacrodir}
|
||||||
cat > %{buildroot}%{rpmmacrodir}/macros.%{name} << EOF
|
cat > %{buildroot}%{rpmmacrodir}/macros.%{name} << EOF
|
||||||
# libvmaf RPM Macros
|
# libvmaf RPM Macros
|
||||||
%libvmaf_version %{version}
|
%libvmaf_version %{version}
|
||||||
EOF
|
EOF
|
||||||
touch -r LICENSE %{buildroot}%{rpmmacrodir}/macros.%{name}
|
touch -r LICENSE %{buildroot}%{rpmmacrodir}/macros.%{name}
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/model/
|
||||||
|
cp -Rp model/* %{buildroot}%{_datadir}/model/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd libvmaf
|
pushd libvmaf
|
||||||
ninja -vC %{_vpath_builddir} test
|
ninja -vC %{_vpath_builddir} test
|
||||||
|
|
@ -92,6 +103,9 @@ popd
|
||||||
%doc FAQ.md README.md
|
%doc FAQ.md README.md
|
||||||
%{_bindir}/vmaf
|
%{_bindir}/vmaf
|
||||||
|
|
||||||
|
%files models
|
||||||
|
%{_datadir}/model/
|
||||||
|
|
||||||
%files -n libvmaf
|
%files -n libvmaf
|
||||||
%doc CHANGELOG.md
|
%doc CHANGELOG.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
@ -106,6 +120,9 @@ popd
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 11 2021 Leigh Scott <leigh123linux@gmail.com> - 2.1.1-3
|
||||||
|
- Add models sub-package
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue