109 lines
3.2 KiB
RPMSpec
109 lines
3.2 KiB
RPMSpec
Name: glslang
|
|
Version: 11.2.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
|
|
## 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}/libglslang.so.*
|
|
%{_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}/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}/cmake/*.cmake
|
|
%{_libdir}/libOGLCompiler.a
|
|
%{_libdir}/libOSDependent.a
|
|
%doc README-spirv-remap.txt README.md
|
|
|
|
%changelog
|
|
* 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
|