rkcommon/rkcommon.spec

78 lines
2.1 KiB
RPMSpec

Name: rkcommon
Version: 1.14.2
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/RenderKit/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}"
%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 Sep 28 2024 Automatic Build System <autodist@openmamba.org> 1.14.2-1mamba
- automatic version update by autodist
* Sat May 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.0-1mamba
- package created using the webbuild interface