package created using the webbuild interface [release 2023.3.1-1mamba;Sun Nov 19 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 08:08:29 +01:00
parent 56e92af033
commit 038a4de977
2 changed files with 97 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# onevpl # onevpl
oneAPI Video Processing Library (oneVPL) dispatcher, tools, and examples.

95
onevpl.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 2023.3.1-1mamba
- package created using the webbuild interface