rebuild with OS dependent libraries [release 12.3.1-2mamba;Sun Aug 20 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 23:09:04 +01:00
parent 78b463b852
commit 55ef837b39

View File

@ -1,6 +1,6 @@
Name: glslang Name: glslang
Version: 12.3.1 Version: 12.3.1
Release: 1mamba Release: 2mamba
Summary: Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator Summary: Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -15,6 +15,8 @@ BuildRequires: libgcc
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: spirv-headers
BuildRequires: libspirv-tools-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
@ -40,14 +42,26 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q %setup -q
#-D -T
%build %build
%cmake -d build #:<< _EOF
# Static libraries are required by e.g. shaderc
%cmake -d build \
-DBUILD_SHARED_LIBS=OFF
%make %make
cd ..
%cmake -d build-shared
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%makeinstall -C build-shared
# Manual fix for link not created during install
ln -s glslang %{buildroot}%{_bindir}/glslangValidator
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -58,6 +72,7 @@ This package contains libraries and header files for developing applications tha
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/glslang %{_bindir}/glslang
%{_bindir}/glslangValidator
%{_bindir}/spirv-remap %{_bindir}/spirv-remap
%files -n lib%{name} %files -n lib%{name}
@ -91,12 +106,23 @@ This package contains libraries and header files for developing applications tha
#%{_libdir}/libglslang-default-resource-limits.so #%{_libdir}/libglslang-default-resource-limits.so
%{_libdir}/libglslang.so %{_libdir}/libglslang.so
%{_libdir}/libHLSL.so %{_libdir}/libHLSL.so
%{_libdir}/libGenericCodeGen.a
%{_libdir}/libHLSL.a
%{_libdir}/libMachineIndependent.a
%{_libdir}/libOGLCompiler.a
%{_libdir}/libOSDependent.a
%{_libdir}/libSPIRV.a
%{_libdir}/libSPVRemapper.a
%{_libdir}/libglslang.a
%{_libdir}/cmake/*.cmake %{_libdir}/cmake/*.cmake
%dir %{_libdir}/cmake/glslang %dir %{_libdir}/cmake/glslang
%{_libdir}/cmake/glslang/glslang*.cmake %{_libdir}/cmake/glslang/glslang*.cmake
%doc README-spirv-remap.txt README.md %doc README-spirv-remap.txt README.md
%changelog %changelog
* Sun Aug 20 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 12.3.1-2mamba
- rebuild with OS dependent libraries
* Sat Jul 22 2023 Automatic Build System <autodist@mambasoft.it> 12.3.1-1mamba * Sat Jul 22 2023 Automatic Build System <autodist@mambasoft.it> 12.3.1-1mamba
- automatic version update by autodist - automatic version update by autodist