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
|
||||
Version: 2.1.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Video Multi-Method Assessment Fusion
|
||||
|
||||
License: BSD-2-Clause-Patent
|
||||
|
|
@ -54,6 +54,14 @@ Obsoletes: %{name}-devel < %{version}-%{release}
|
|||
The %{name}-devel package contains libraries and header files for
|
||||
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
|
||||
%autosetup -p1
|
||||
|
|
@ -76,10 +84,13 @@ popd
|
|||
mkdir -p %{buildroot}%{rpmmacrodir}
|
||||
cat > %{buildroot}%{rpmmacrodir}/macros.%{name} << EOF
|
||||
# libvmaf RPM Macros
|
||||
%libvmaf_version %{version}
|
||||
%libvmaf_version %{version}
|
||||
EOF
|
||||
touch -r LICENSE %{buildroot}%{rpmmacrodir}/macros.%{name}
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/model/
|
||||
cp -Rp model/* %{buildroot}%{_datadir}/model/
|
||||
|
||||
%check
|
||||
pushd libvmaf
|
||||
ninja -vC %{_vpath_builddir} test
|
||||
|
|
@ -92,6 +103,9 @@ popd
|
|||
%doc FAQ.md README.md
|
||||
%{_bindir}/vmaf
|
||||
|
||||
%files models
|
||||
%{_datadir}/model/
|
||||
|
||||
%files -n libvmaf
|
||||
%doc CHANGELOG.md
|
||||
%license LICENSE
|
||||
|
|
@ -106,6 +120,9 @@ popd
|
|||
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue