From 2fbc099cfe8bc9e9e609f2fbb8310d6fa1313f6d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 17 Jan 2025 21:01:08 +0100 Subject: [PATCH] update to 2.14.0 source renamed from onevpl (switched from onevpl to libvpl upstream repo) [release 2.14.0-1mamba;Fri Jan 17 2025] --- README.md | 2 ++ libvpl.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 libvpl.spec diff --git a/README.md b/README.md index 8be5209..8aa0b7f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libvpl +Intel Video Processing Library (Intel VPL) API, dispatcher, and examples. + diff --git a/libvpl.spec b/libvpl.spec new file mode 100644 index 0000000..64e318d --- /dev/null +++ b/libvpl.spec @@ -0,0 +1,83 @@ +Name: libvpl +Version: 2.14.0 +Release: 1mamba +Summary: Intel Video Processing Library (Intel VPL) API, dispatcher, and examples +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/intel/libvpl +Source: https://github.com/intel/libvpl.git/v%{version}/libvpl-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Provides: libonevpl +Obsoletes: libonevpl <= 2023.4.0-1mamba +Obsoletes: onevpl <= 2023.4.0-1mamba + +%description +Intel Video Processing Library (Intel VPL) API, dispatcher, and examples. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config +Provides: libonevpl-devel +Obsoletes: libonevpl-devel <= 2023.4.0-1mamba + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q + +%build +%cmake \ + -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} + +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +# Unpackaged files +rm -rf %{buildroot}%{_datadir}/vpl/examples +rm -f %{buildroot}%{_sysconfdir}/vpl/vars.sh + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libvpl.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/vpl +%{_includedir}/vpl/* +%{_libdir}/libvpl.so +%dir %{_libdir}/cmake/vpl +%{_libdir}/cmake/vpl/VPLConfig*.cmake +%{_libdir}/pkgconfig/vpl.pc +%dir %{_datadir}/vpl +%dir %{_datadir}/vpl/licensing +%{_datadir}/vpl/licensing/* +%doc README.md + +%changelog +* Fri Jan 17 2025 Silvan Calarco 2.14.0-1mamba +- update to 2.14.0 +- source renamed from onevpl (switched from onevpl to libvpl upstream repo) + +* Mon Dec 04 2023 Automatic Build System 2023.4.0-1mamba +- automatic version update by autodist + +* Sun Nov 19 2023 Silvan Calarco 2023.3.1-1mamba +- package created using the webbuild interface