glslang/glslang.spec

185 lines
5.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: glslang
Version: 13.0.0
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
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
BuildRequires: spirv-headers
BuildRequires: libspirv-tools-devel
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
#-D -T
%build
#:<< _EOF
# Static libraries are required by e.g. shaderc
%cmake -d build \
-DBUILD_SHARED_LIBS=OFF
%make
cd ..
%cmake -d build-shared
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build-shared
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/glslang
%{_bindir}/glslangValidator
%{_bindir}/spirv-remap
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libglslang.so.*
%{_libdir}/libHLSL.so.*
%{_libdir}/libSPIRV.so.*
%{_libdir}/libSPVRemapper.so.*
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/glslang
%{_includedir}/glslang/build_info.h
%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/HLSL
%{_includedir}/glslang/HLSL/*.h
%dir %{_includedir}/glslang/SPIRV
%{_includedir}/glslang/SPIRV/*.h
%{_libdir}/libglslang-default-resource-limits.a
%{_libdir}/libSPIRV.so
%{_libdir}/libSPVRemapper.so
#%{_libdir}/libglslang-default-resource-limits.so
%{_libdir}/libglslang.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
%dir %{_libdir}/cmake/glslang
%{_libdir}/cmake/glslang/glslang*.cmake
%doc README-spirv-remap.txt README.md
%changelog
* Sat Aug 26 2023 Automatic Build System <autodist@mambasoft.it> 13.0.0-1mamba
- automatic version update by autodist
* 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
- automatic version update by autodist
* Thu May 18 2023 Automatic Build System <autodist@mambasoft.it> 12.2.0-1mamba
- automatic version update by autodist
* Fri Mar 24 2023 Automatic Build System <autodist@mambasoft.it> 12.1.0-1mamba
- automatic version update by autodist
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 12.0.0-1mamba
- automatic version update by autodist
* Thu Dec 08 2022 Automatic Build System <autodist@mambasoft.it> 11.13.0-1mamba
- automatic version update by autodist
* Sun Oct 16 2022 Automatic Build System <autodist@mambasoft.it> 11.12.0-1mamba
- automatic version update by autodist
* Tue Aug 16 2022 Automatic Build System <autodist@mambasoft.it> 11.11.0-1mamba
- automatic version update by autodist
* Sat Jun 04 2022 Automatic Build System <autodist@mambasoft.it> 11.10.0-1mamba
- automatic version update by autodist
* Sat Apr 09 2022 Automatic Build System <autodist@mambasoft.it> 11.9.0-1mamba
- automatic version update by autodist
* Fri Jan 28 2022 Automatic Build System <autodist@mambasoft.it> 11.8.0-1mamba
- automatic version update by autodist
* Sat Nov 27 2021 Automatic Build System <autodist@mambasoft.it> 11.7.1-1mamba
- automatic version update by autodist
* Fri Nov 12 2021 Automatic Build System <autodist@mambasoft.it> 11.7.0-1mamba
- automatic version update by autodist
* Fri Aug 27 2021 Automatic Build System <autodist@mambasoft.it> 11.6.0-1mamba
- automatic version update by autodist
* Thu Jun 24 2021 Automatic Build System <autodist@mambasoft.it> 11.5.0-1mamba
- automatic version update by autodist
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 11.4.0-1mamba
- automatic version update by autodist
* Fri Apr 23 2021 Automatic Build System <autodist@mambasoft.it> 11.3.0-1mamba
- automatic version update by autodist
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 11.2.0-1mamba
- automatic version update by autodist
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 11.1.0-1mamba
- automatic version update by autodist
* Thu Apr 30 2020 Automatic Build System <autodist@mambasoft.it> 8.13.3743-1mamba
- automatic version update by autodist
* Tue Mar 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.13.3559-1mamba
- package created using the webbuild interface