onevpl/onevpl.spec

99 lines
2.5 KiB
RPMSpec

Name: onevpl
Version: 2023.4.0
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/intel/libvpl
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
* Mon Dec 04 2023 Automatic Build System <autodist@mambasoft.it> 2023.4.0-1mamba
- automatic version update by autodist
* Sun Nov 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2023.3.1-1mamba
- package created using the webbuild interface