2024-01-05 23:09:02 +01:00
|
|
|
Name: glslang
|
2024-01-05 23:09:05 +01:00
|
|
|
Version: 13.0.0
|
|
|
|
Release: 1mamba
|
2024-01-05 23:09:02 +01:00
|
|
|
Summary: Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/KhronosGroup
|
|
|
|
Source: https://github.com/KhronosGroup/glslang.git/%{version}/glslang-%{version}.tar.bz2
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-05 23:09:04 +01:00
|
|
|
BuildRequires: spirv-headers
|
|
|
|
BuildRequires: libspirv-tools-devel
|
2024-01-05 23:09:02 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.
|
|
|
|
|
|
|
|
%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: 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
|
2024-01-05 23:09:04 +01:00
|
|
|
#-D -T
|
2024-01-05 23:09:02 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:09:04 +01:00
|
|
|
#:<< _EOF
|
|
|
|
# Static libraries are required by e.g. shaderc
|
|
|
|
%cmake -d build \
|
|
|
|
-DBUILD_SHARED_LIBS=OFF
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
%make
|
|
|
|
|
2024-01-05 23:09:04 +01:00
|
|
|
cd ..
|
|
|
|
%cmake -d build-shared
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
2024-01-05 23:09:04 +01:00
|
|
|
%makeinstall -C build-shared
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:09:04 +01:00
|
|
|
%{_bindir}/glslang
|
2024-01-05 23:09:04 +01:00
|
|
|
%{_bindir}/glslangValidator
|
2024-01-05 23:09:02 +01:00
|
|
|
%{_bindir}/spirv-remap
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:09:02 +01:00
|
|
|
%{_libdir}/libglslang.so.*
|
2024-01-05 23:09:03 +01:00
|
|
|
%{_libdir}/libHLSL.so.*
|
|
|
|
%{_libdir}/libSPIRV.so.*
|
|
|
|
%{_libdir}/libSPVRemapper.so.*
|
2024-01-05 23:09:02 +01:00
|
|
|
%doc LICENSE.txt
|
2024-01-05 23:09:02 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/glslang
|
2024-01-05 23:09:02 +01:00
|
|
|
%{_includedir}/glslang/build_info.h
|
2024-01-05 23:09:02 +01:00
|
|
|
%dir %{_includedir}/glslang/Include
|
|
|
|
%{_includedir}/glslang/Include/*.h
|
|
|
|
%dir %{_includedir}/glslang/MachineIndependent
|
|
|
|
%{_includedir}/glslang/MachineIndependent/*.h
|
|
|
|
%dir %{_includedir}/glslang/MachineIndependent/preprocessor
|
|
|
|
%{_includedir}/glslang/MachineIndependent/preprocessor/*.h
|
|
|
|
%{_includedir}/glslang/SPIRV/spirv.hpp
|
|
|
|
%dir %{_includedir}/glslang/Public
|
|
|
|
%{_includedir}/glslang/Public/*.h
|
2024-01-05 23:09:02 +01:00
|
|
|
%dir %{_includedir}/glslang/HLSL
|
|
|
|
%{_includedir}/glslang/HLSL/*.h
|
2024-01-05 23:09:02 +01:00
|
|
|
%dir %{_includedir}/glslang/SPIRV
|
|
|
|
%{_includedir}/glslang/SPIRV/*.h
|
2024-01-05 23:09:04 +01:00
|
|
|
%{_libdir}/libglslang-default-resource-limits.a
|
2024-01-05 23:09:03 +01:00
|
|
|
%{_libdir}/libSPIRV.so
|
|
|
|
%{_libdir}/libSPVRemapper.so
|
2024-01-05 23:09:04 +01:00
|
|
|
#%{_libdir}/libglslang-default-resource-limits.so
|
2024-01-05 23:09:03 +01:00
|
|
|
%{_libdir}/libglslang.so
|
|
|
|
%{_libdir}/libHLSL.so
|
2024-01-05 23:09:04 +01:00
|
|
|
%{_libdir}/libGenericCodeGen.a
|
|
|
|
%{_libdir}/libHLSL.a
|
|
|
|
%{_libdir}/libMachineIndependent.a
|
|
|
|
%{_libdir}/libOGLCompiler.a
|
|
|
|
%{_libdir}/libOSDependent.a
|
|
|
|
%{_libdir}/libSPIRV.a
|
|
|
|
%{_libdir}/libSPVRemapper.a
|
|
|
|
%{_libdir}/libglslang.a
|
2024-01-05 23:09:02 +01:00
|
|
|
%{_libdir}/cmake/*.cmake
|
2024-01-05 23:09:02 +01:00
|
|
|
%dir %{_libdir}/cmake/glslang
|
|
|
|
%{_libdir}/cmake/glslang/glslang*.cmake
|
2024-01-05 23:09:02 +01:00
|
|
|
%doc README-spirv-remap.txt README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:09:05 +01:00
|
|
|
* Sat Aug 26 2023 Automatic Build System <autodist@mambasoft.it> 13.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:04 +01:00
|
|
|
* Sun Aug 20 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 12.3.1-2mamba
|
|
|
|
- rebuild with OS dependent libraries
|
|
|
|
|
2024-01-05 23:09:04 +01:00
|
|
|
* Sat Jul 22 2023 Automatic Build System <autodist@mambasoft.it> 12.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:04 +01:00
|
|
|
* Thu May 18 2023 Automatic Build System <autodist@mambasoft.it> 12.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:03 +01:00
|
|
|
* Fri Mar 24 2023 Automatic Build System <autodist@mambasoft.it> 12.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:03 +01:00
|
|
|
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 12.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Thu Dec 08 2022 Automatic Build System <autodist@mambasoft.it> 11.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Sun Oct 16 2022 Automatic Build System <autodist@mambasoft.it> 11.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Tue Aug 16 2022 Automatic Build System <autodist@mambasoft.it> 11.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Sat Jun 04 2022 Automatic Build System <autodist@mambasoft.it> 11.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Sat Apr 09 2022 Automatic Build System <autodist@mambasoft.it> 11.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Fri Jan 28 2022 Automatic Build System <autodist@mambasoft.it> 11.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Sat Nov 27 2021 Automatic Build System <autodist@mambasoft.it> 11.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Fri Nov 12 2021 Automatic Build System <autodist@mambasoft.it> 11.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Fri Aug 27 2021 Automatic Build System <autodist@mambasoft.it> 11.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Thu Jun 24 2021 Automatic Build System <autodist@mambasoft.it> 11.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 11.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Fri Apr 23 2021 Automatic Build System <autodist@mambasoft.it> 11.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 11.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 11.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Thu Apr 30 2020 Automatic Build System <autodist@mambasoft.it> 8.13.3743-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:09:02 +01:00
|
|
|
* Tue Mar 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.13.3559-1mamba
|
|
|
|
- package created using the webbuild interface
|