package created using the webbuild interface [release 1.13.0-1mamba;Sat May 04 2024]

This commit is contained in:
Silvan Calarco 2024-05-05 10:35:19 +02:00
parent e2b7044d6b
commit b1ec08113a
2 changed files with 78 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# rkcommon # rkcommon
Intel RenderKit common C++/CMake infrastructure.

76
rkcommon.spec Normal file
View File

@ -0,0 +1,76 @@
Name: rkcommon
Version: 1.13.0
Release: 1mamba
Summary: Intel RenderKit common C++/CMake infrastructure
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ospray/rkcommon
Source: https://github.com/ospray/rkcommon.git/v%{version}/rkcommon-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libtbb-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Intel RenderKit common C++/CMake infrastructure.
%package -n lib%{name}
Group: System/Libraries
Summary: Intel RenderKit common C++/CMake infrastructure
%description -n lib%{name}
Intel RenderKit common C++/CMake infrastructure.
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}.
%debug_package
%prep
%setup -q
%build
%cmake
%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 -n lib%{name}
%defattr(-,root,root)
%{_libdir}/librkcommon.so.*
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/rkcommon_test_suite
%dir %{_includedir}/rkcommon
%{_includedir}/rkcommon/*
%{_libdir}/librkcommon.so
%dir %{_libdir}/cmake/rkcommon-%{version}
%{_libdir}/cmake/rkcommon-%{version}/*.cmake
%doc README.md
%changelog
* Sat May 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.0-1mamba
- package created using the webbuild interface