From 038a4de977d5cec4cdcb59924409c95f5d745705 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:08:29 +0100 Subject: [PATCH] package created using the webbuild interface [release 2023.3.1-1mamba;Sun Nov 19 2023] --- README.md | 2 ++ onevpl.spec | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 onevpl.spec diff --git a/README.md b/README.md index 2463d75..c97870e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # onevpl +oneAPI Video Processing Library (oneVPL) dispatcher, tools, and examples. + diff --git a/onevpl.spec b/onevpl.spec new file mode 100644 index 0000000..7e18862 --- /dev/null +++ b/onevpl.spec @@ -0,0 +1,95 @@ +Name: onevpl +Version: 2023.3.1 +Release: 1mamba +Summary: oneAPI Video Processing Library (oneVPL) dispatcher, tools, and examples +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/oneapi-src/oneVPL +Source: https://github.com/oneapi-src/oneVPL.git/v%{version}/oneVPL-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libdrm-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libva-devel +BuildRequires: libwayland-devel +BuildRequires: libxcb-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +oneAPI Video Processing Library (oneVPL) dispatcher, tools, and examples. + +%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} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q -n oneVPL-%{version} + +%build +%cmake \ + -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} + +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_sysconfdir}/modulefiles/vpl +%dir %{_sysconfdir}/vpl +%{_sysconfdir}/vpl/vars.sh +%{_bindir}/sample_* +%{_bindir}/system_analyzer +%{_bindir}/vpl-inspect +%dir %{_datadir}/vpl +%{_datadir}/vpl/* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libvpl.so.* +%{_libdir}/vpl/libvpl_wayland.so +%doc LICENSE + +%files -n lib%{name}-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 +%doc README.md + +%changelog +* Sun Nov 19 2023 Silvan Calarco 2023.3.1-1mamba +- package created using the webbuild interface