2024-02-06 12:51:08 +01:00
|
|
|
Name: openshadinglanguage
|
2024-09-05 09:07:13 +02:00
|
|
|
Version: 1.13.11.0
|
2024-10-06 21:12:00 +02:00
|
|
|
Release: 2mamba
|
2024-02-06 12:51:08 +01:00
|
|
|
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
|
2024-10-06 21:12:00 +02:00
|
|
|
Patch0: openshadinglanguage-1.13.11.0-llvm-19.patch
|
|
|
|
Patch1: openshadinglanguage-1.13.11.0-upstream_fix_typo_dual_h.patch
|
2024-02-06 12:51:08 +01:00
|
|
|
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
|
2024-10-06 21:12:00 +02:00
|
|
|
BuildRequires: libclang-devel >= 0:19.1.1-1mamba
|
2024-02-06 12:51:08 +01:00
|
|
|
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}
|
2024-10-06 21:12:00 +02:00
|
|
|
%patch 0 -p1 -b .llvm-19
|
|
|
|
%patch 1 -p1 -b .upstream_fix_typo_dual_h
|
2024-02-06 12:51:08 +01:00
|
|
|
|
|
|
|
%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}"
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
2024-10-06 21:12:00 +02:00
|
|
|
* Sat Oct 05 2024 Automatic Build System <autodist@mambasoft.it> 1.13.11.0-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libclang-devel>=0:19.1.1-1mamba
|
|
|
|
|
2024-09-05 09:07:13 +02:00
|
|
|
* Wed Sep 04 2024 Automatic Build System <autodist@openmamba.org> 1.13.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-03 10:15:32 +02:00
|
|
|
* Mon Jun 03 2024 Automatic Build System <autodist@openmamba.org> 1.13.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-05 10:31:37 +02:00
|
|
|
* Sat May 04 2024 Automatic Build System <autodist@openmamba.org> 1.13.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-03 00:25:50 +01:00
|
|
|
* Sat Mar 02 2024 Automatic Build System <autodist@openmamba.org> 1.13.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-06 12:51:08 +01:00
|
|
|
* Sun Feb 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.6.1-1mamba
|
|
|
|
- package created using the webbuild interface
|