78 lines
2.1 KiB
RPMSpec
78 lines
2.1 KiB
RPMSpec
Name: vmaf
|
|
Version: 3.0.0
|
|
Release: 1mamba
|
|
Summary: Perceptual video quality assessment based on multi-method fusion
|
|
Group: Applications/Graphics
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/Netflix/vmaf
|
|
Source: https://github.com/Netflix/vmaf.git/v%{version}/vmaf-%{version}.tar.bz2
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
VMAF is an Emmy-winning perceptual video quality assessment algorithm developed by Netflix. This software package includes a stand-alone C library libvmaf and its wrapping Python library. The Python library also provides a set of tools that allows a user to train and test a custom VMAF model.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
cd libvmaf
|
|
%meson
|
|
|
|
# -Denable_avx512='false'
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
cd libvmaf
|
|
%meson_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/vmaf
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libvmaf.so.*
|
|
%doc LICENSE
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libvmaf
|
|
%{_includedir}/libvmaf/*.h
|
|
%{_libdir}/libvmaf.a
|
|
%{_libdir}/libvmaf.so
|
|
%{_libdir}/pkgconfig/libvmaf.pc
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Thu Jan 16 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-1mamba
|
|
- package created using the webbuild interface
|