From a6b621afef7593437158827025d3eabe53ab89c8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 2 Jan 2025 09:39:16 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.11.1-1mamba;Wed Jan 01 2025] --- README.md | 2 ++ anari-sdk.spec | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 anari-sdk.spec diff --git a/README.md b/README.md index 0ed7fa0..806760b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # anari-sdk +ANARI Software Development Kit (SDK). + diff --git a/anari-sdk.spec b/anari-sdk.spec new file mode 100644 index 0000000..d7ce414 --- /dev/null +++ b/anari-sdk.spec @@ -0,0 +1,89 @@ +Name: anari-sdk +Version: 0.11.1 +Release: 1mamba +Summary: ANARI Software Development Kit (SDK) +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/KhronosGroup/ANARI-SDK +Source: https://github.com/KhronosGroup/ANARI-SDK.git/v%{version}/ANARI-SDK-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +ANARI Software Development Kit (SDK). + +%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: %{name} = %{?epoch:%epoch:}%{version}-%{release} +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}. + +%prep +%setup -q -n ANARI-SDK-%{version} + +%build +%cmake +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/anariInfo +%{_bindir}/anariRenderTests + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libanari.so.* +%{_libdir}/libanari_library_debug.so +%{_libdir}/libanari_library_hecore.so +%{_libdir}/libanari_library_helide.so +%{_libdir}/libanari_library_sink.so +%{_libdir}/libanari_test_scenes.so +%doc LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/anari +%{_includedir}/anari/* +%dir %{_libdir}/cmake/anari-%{version} +%{_libdir}/cmake/anari-%{version}/anari*.cmake +%dir %{_libdir}/cmake/anari-%{version}/cmake +%{_libdir}/cmake/anari-%{version}/cmake/*.cmake +%{_libdir}/libanari.so +%{_libdir}/libanari_static.a +%{_libdir}/libhelium.a +%dir %{_datadir}/anari +%dir %{_datadir}/anari/anari_viewer +%{_datadir}/anari/anari_viewer/* +%dir %{_datadir}/anari/code_gen +%dir %{_datadir}/anari/code_gen +%{_datadir}/anari/code_gen/* +%doc README.md + +%changelog +* Wed Jan 01 2025 Silvan Calarco 0.11.1-1mamba +- package created using the webbuild interface