package created using the webbuild interface [release 1.13.6.1-1mamba;Sun Feb 04 2024]

This commit is contained in:
Silvan Calarco 2024-02-06 12:51:08 +01:00
parent 4cbd79d309
commit 7e3f6ad33c
2 changed files with 120 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# openshadinglanguage
Advanced shading language for production GI renderers.

118
openshadinglanguage.spec Normal file
View File

@ -0,0 +1,118 @@
Name: openshadinglanguage
Version: 1.13.6.1
Release: 1mamba
Summary: Advanced shading language for production GI renderers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
Source: https://github.com/AcademySoftwareFoundation/OpenShadingLanguage.git/v%{version}/OpenShadingLanguage-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libclang-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libimath-devel
BuildRequires: libllvm-devel
BuildRequires: libopenimageio-devel
BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
BuildRequires: libstdc++6-devel
BuildRequires: pugixml-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Advanced shading language for production GI renderers.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n OpenShadingLanguage-%{version}
%build
%cmake \
-DCMAKE_CXX_STANDARD=17 \
-DLLVM_STATIC=0 \
-DSTOP_ON_WARNING=OFF
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
rm -f %{buildroot}/usr/build-scripts/serialize-bc.py
rm -f %{buildroot}/usr/cmake/llvm_macros.cmake
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/oslc
%{_bindir}/oslinfo
%{_bindir}/osltoy
%{_bindir}/testrender
%{_bindir}/testshade
%{_bindir}/testshade_dso
%dir %{_datadir}/OSL
%{_datadir}/OSL/*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/liboslcomp.so.*
%{_libdir}/liboslexec.so.*
%{_libdir}/liboslnoise.so.*
%{_libdir}/liboslquery.so.*
%{_libdir}/libtestshade.so.*
%{_libdir}/osl.imageio.so
%{python3_sitearch}/oslquery.so
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/OSL
%{_includedir}/OSL/*
%{_libdir}/liboslcomp.so
%{_libdir}/liboslexec.so
%{_libdir}/liboslnoise.so
%{_libdir}/liboslquery.so
%{_libdir}/libtestshade.so
%dir %{_libdir}/cmake/OSL
%{_libdir}/cmake/OSL/OSL*.cmake
%{_libdir}/pkgconfig/oslcomp.pc
%{_libdir}/pkgconfig/oslexec.pc
%{_libdir}/pkgconfig/oslquery.pc
%dir %{_docdir}/OSL
%{_docdir}/OSL/*
%doc README.md
%changelog
* Sun Feb 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.6.1-1mamba
- package created using the webbuild interface