package created using the webbuild interface [release 8.13.3559-1mamba;Tue Mar 17 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 23:09:02 +01:00
parent 3e230f1e22
commit 3a1716d088
2 changed files with 99 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# glslang
Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.

97
glslang.spec Normal file
View File

@ -0,0 +1,97 @@
Name: glslang
Version: 8.13.3559
Release: 1mamba
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
## GITSOURCE https://github.com/KhronosGroup/glslang.git 8.13.3559
Source: https://github.com/KhronosGroup/glslang.git/%{version}/glslang-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/glslangValidator
%{_bindir}/spirv-remap
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libSPIRV.so
%{_libdir}/libSPVRemapper.so
%{_libdir}/libglslang-default-resource-limits.so
%{_libdir}/libglslang.so
%{_libdir}/libHLSL.so
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/SPIRV
%{_includedir}/SPIRV/*
%dir %{_includedir}/glslang
%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
%dir %{_includedir}/glslang/SPIRV
%{_includedir}/glslang/SPIRV/*.h
%{_libdir}/cmake/*.cmake
%{_libdir}/libOGLCompiler.a
%{_libdir}/libOSDependent.a
%doc README-spirv-remap.txt README.md
%changelog
* Tue Mar 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.13.3559-1mamba
- package created using the webbuild interface