|
|
|
@ -54,6 +54,12 @@ 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}
|
|
|
|
|
|
|
|
|
|
%description models
|
|
|
|
|
The %{name}-models package contains model files.
|
|
|
|
|
These are needed for apps that can't use the builtin models.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
@ -80,6 +86,9 @@ cat > %{buildroot}%{rpmmacrodir}/macros.%{name} << EOF
|
|
|
|
|
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 +101,9 @@ popd
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_bindir}/vmaf
|
|
|
|
|
|
|
|
|
|
%files models
|
|
|
|
|
%{_datadir}/model/
|
|
|
|
|
|
|
|
|
|
%files -n libvmaf
|
|
|
|
|
%doc CHANGELOG.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|