From ab477da76dba77ccf9b88a3b45047a26d67c1e08 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 17 Jan 2025 09:39:04 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.0.0-1mamba;Thu Jan 16 2025] --- README.md | 2 ++ vmaf.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 vmaf.spec diff --git a/README.md b/README.md index 2112dbc..973df7e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # vmaf +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. + diff --git a/vmaf.spec b/vmaf.spec new file mode 100644 index 0000000..12b70eb --- /dev/null +++ b/vmaf.spec @@ -0,0 +1,77 @@ +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 +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 3.0.0-1mamba +- package created using the webbuild interface