2022-08-24 01:09:58 +00:00
|
|
|
%global sdkver 1.3.224.0
|
2018-01-02 17:14:43 +00:00
|
|
|
|
|
|
|
Name: glslang
|
2022-02-15 22:39:38 +00:00
|
|
|
Version: 11.9.0
|
2022-08-24 01:09:58 +00:00
|
|
|
Release: 5%{?dist}
|
2018-01-02 17:14:43 +00:00
|
|
|
Summary: OpenGL and OpenGL ES shader front end and validator
|
|
|
|
|
|
|
|
License: BSD and GPLv3+ and ASL 2.0
|
2022-06-17 00:02:14 +00:00
|
|
|
URL: https://github.com/KhronosGroup/%{name}
|
|
|
|
Source0: %url/archive/sdk-%{sdkver}.tar.gz#/%{name}-sdk-%{sdkver}.tar.gz
|
2018-01-02 17:14:43 +00:00
|
|
|
Patch1: glslang-default-resource-limits_staticlib.patch
|
2020-01-29 00:30:50 +00:00
|
|
|
# Patch to build against system spirv-tools (rebased locally)
|
|
|
|
#Patch3: https://patch-diff.githubusercontent.com/raw/KhronosGroup/glslang/pull/1722.patch#/0001-pkg-config-compatibility.patch
|
|
|
|
Patch3: 0001-pkg-config-compatibility.patch
|
2019-06-10 15:48:29 +00:00
|
|
|
|
2018-01-02 17:14:43 +00:00
|
|
|
BuildRequires: cmake3
|
|
|
|
BuildRequires: gcc-c++
|
2018-02-09 12:29:27 +00:00
|
|
|
BuildRequires: ninja-build
|
2019-06-10 15:48:29 +00:00
|
|
|
BuildRequires: spirv-tools-devel
|
2018-01-02 17:14:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} is the official reference compiler front end for the OpenGL
|
|
|
|
ES and OpenGL shading languages. It implements a strict
|
|
|
|
interpretation of the specifications for these languages.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2018-01-03 12:14:28 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2018-01-02 17:14:43 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{name} is the official reference compiler front end for the OpenGL
|
|
|
|
ES and OpenGL shading languages. It implements a strict
|
|
|
|
interpretation of the specifications for these languages.
|
|
|
|
|
|
|
|
%prep
|
2022-06-17 00:02:14 +00:00
|
|
|
%autosetup -p1 -n %{name}-sdk-%{sdkver}
|
2018-01-02 17:14:43 +00:00
|
|
|
# Fix rpmlint warning on debuginfo
|
|
|
|
find . -name '*.h' -or -name '*.cpp' -or -name '*.hpp'| xargs chmod a-x
|
|
|
|
|
|
|
|
%build
|
2020-08-05 01:16:16 +00:00
|
|
|
%cmake3 -DBUILD_SHARED_LIBS=OFF
|
|
|
|
%cmake_build
|
2018-01-02 17:14:43 +00:00
|
|
|
|
|
|
|
%install
|
2020-08-03 18:41:06 +00:00
|
|
|
%{cmake_install}
|
2018-01-02 17:14:43 +00:00
|
|
|
|
2022-08-31 06:57:42 +00:00
|
|
|
# Install libglslang-default-resource-limits.a
|
|
|
|
install -pm 0644 %{_vpath_builddir}/StandAlone/libglslang-default-resource-limits.a %{buildroot}%{_libdir}/
|
|
|
|
|
2020-02-02 20:21:58 +00:00
|
|
|
# we don't want them in here
|
|
|
|
rm -rf %{buildroot}%{_includedir}/SPIRV
|
|
|
|
|
2018-01-03 12:47:38 +00:00
|
|
|
%ifnarch s390x ppc64
|
2018-01-03 12:14:28 +00:00
|
|
|
%check
|
|
|
|
pushd Test
|
2020-08-05 01:16:16 +00:00
|
|
|
./runtests localResults ../%{_vpath_builddir}/StandAlone/glslangValidator ../%{_vpath_builddir}/StandAlone/spirv-remap
|
2018-01-03 12:14:28 +00:00
|
|
|
popd
|
2018-01-03 12:47:38 +00:00
|
|
|
%endif
|
2018-01-02 17:14:43 +00:00
|
|
|
|
2018-01-03 12:14:28 +00:00
|
|
|
%files
|
2018-01-02 17:14:43 +00:00
|
|
|
%doc README.md README-spirv-remap.txt
|
|
|
|
%{_bindir}/glslangValidator
|
|
|
|
%{_bindir}/spirv-remap
|
2018-01-03 12:14:28 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-01-02 17:14:43 +00:00
|
|
|
%{_includedir}/glslang/
|
2022-08-24 01:47:10 +00:00
|
|
|
%{_datadir}/glslang/*
|
2018-01-02 17:14:43 +00:00
|
|
|
%{_libdir}/libHLSL.a
|
|
|
|
%{_libdir}/libOGLCompiler.a
|
|
|
|
%{_libdir}/libOSDependent.a
|
|
|
|
%{_libdir}/libSPIRV.a
|
|
|
|
%{_libdir}/libSPVRemapper.a
|
|
|
|
%{_libdir}/libglslang.a
|
2020-08-05 01:16:16 +00:00
|
|
|
%{_libdir}/libGenericCodeGen.a
|
|
|
|
%{_libdir}/libMachineIndependent.a
|
2018-01-02 17:14:43 +00:00
|
|
|
%{_libdir}/libglslang-default-resource-limits.a
|
2019-06-10 15:48:29 +00:00
|
|
|
%{_libdir}/pkgconfig/glslang.pc
|
|
|
|
%{_libdir}/pkgconfig/spirv.pc
|
2019-11-13 05:16:50 +00:00
|
|
|
%{_libdir}/cmake/*
|
2018-01-02 17:14:43 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-08-24 01:09:58 +00:00
|
|
|
* Wed Aug 24 2022 Dave Airlie <airlied@redhat.com> - 11.9.0-5
|
|
|
|
- Latest snapshot used in 1.3.224 sdk
|
|
|
|
|
2022-07-21 06:38:07 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11.9.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-17 00:02:14 +00:00
|
|
|
* Fri Jun 17 2022 Dave Airlie <airlied@redhat.com> - 11.9.0-3
|
|
|
|
- Latest snapshot used in 1.3.216 sdk
|
|
|
|
|
2022-04-27 04:11:27 +00:00
|
|
|
* Wed Apr 27 2022 Dave Airlie <airlied@redhat.com> - 11.9.0-2.20220406.git9bb8cff
|
|
|
|
- Latest snapshot used in 1.3.211 sdk
|
|
|
|
|
2022-02-15 22:39:38 +00:00
|
|
|
* Wed Feb 16 2022 Dave Airlie <airlied@redhat.com> - 11.9.0-1.20220202.git2742e95
|
|
|
|
- Latest snapshot used in 1.3.204 sdk
|
|
|
|
|
2022-01-04 09:31:03 +00:00
|
|
|
* Sat Jan 29 2022 Jan Grulich <jgrulich@redhat.com - 11.7.0-4.20211110.gitc9706bd
|
|
|
|
- Fix encoding/decoding of string literals for big-endian systems
|
|
|
|
|
2022-01-20 06:23:37 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11.7.0-3.20211110.gitc9706bd
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-12-06 06:12:34 +00:00
|
|
|
* Mon Dec 06 2021 Dave Airlie <airlied@redhat.com> - 11.7.0-2.20211110.gitc9706bd
|
|
|
|
- Fix for spirv-tools ABI
|
|
|
|
|
2021-11-23 06:56:26 +00:00
|
|
|
* Tue Nov 23 2021 Dave Airlie <airlied@redhat.com> - 11.7.0-1.20211110.gitc9706bd
|
|
|
|
- Latest snapshot used in 1.2.198 sdk
|
|
|
|
|
2021-09-07 07:21:22 +00:00
|
|
|
* Tue Sep 07 2021 Dave Airlie <airlied@redhat.com> - 11.6.0-1.20210825.git2fb89a0
|
|
|
|
- Latest snapshot used in 1.2.189 sdk
|
|
|
|
|
2021-07-22 01:59:47 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.5.0-2.20210623.gitae2a562
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-06 23:31:34 +00:00
|
|
|
* Wed Jul 07 2021 Dave Airlie <airlied@redhat.com> - 11.5.0-1
|
|
|
|
- Latest snapshot used in 1.2.182 sdk
|
|
|
|
|
2021-05-18 07:04:59 +00:00
|
|
|
* Tue May 18 2021 Dave Airlie <airlied@redhat.com< - 11.4.0-1.20210423.git18eef33
|
|
|
|
- Latest snapshot used in 1.2.176 sdk
|
|
|
|
|
2021-01-28 04:31:39 +00:00
|
|
|
* Thu Jan 28 2021 Dave Airlie <airlied@redhat.com> - 11.0.0-4.20201208.gitc594de2
|
|
|
|
- Latest snapshot used in 1.2.162 sdk
|
|
|
|
|
2021-01-26 08:26:36 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-3.20201104.gitd550beb
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-11-03 20:36:35 +00:00
|
|
|
* Wed Nov 04 2020 Dave Airlie <airlied@redhat.com> - 11.0.0-2
|
|
|
|
- Latest upstream snapshot
|
|
|
|
|
2020-08-04 22:09:13 +00:00
|
|
|
* Wed Aug 05 2020 Dave Airlie <airlied@redhat.com> - 11.0.0-1
|
|
|
|
- Latest upstream snapshot
|
|
|
|
|
2020-08-03 18:34:23 +00:00
|
|
|
* Tue Aug 04 2020 Dave Airlie <airlied@redhat.com> - 8.13.3559-5
|
|
|
|
- Use cmake macros.
|
|
|
|
|
2020-08-01 02:07:00 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.13.3559-4.2020421.gitc9b28b9
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-27 20:25:23 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.13.3559-3.2020421.gitc9b28b9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-04-22 01:15:06 +00:00
|
|
|
* Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 8.13.3559-2
|
|
|
|
- Update to latest git snapshot
|
|
|
|
|
2020-01-29 00:30:50 +00:00
|
|
|
* Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 8.13.3559-1
|
|
|
|
- Update to latest git snapshot
|
|
|
|
|
2020-01-28 22:28:22 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.13.3496-3.20191102.git7f77b2e
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-12-19 12:11:03 +00:00
|
|
|
* Thu Dec 19 2019 Leigh Scott <leigh123linux@googlemail.com> - 7.13.3496-2.20191102.git7f77b2e
|
|
|
|
- Add patch for 'Fix a couple relative header paths in header'
|
|
|
|
|
2019-11-13 05:19:45 +00:00
|
|
|
* Wed Nov 13 2019 Dave Airlie <airlied@redhat.com> - 7.13.3496-1
|
|
|
|
- Latest upstream snapshot for validation layers build
|
|
|
|
|
2019-08-03 21:20:19 +00:00
|
|
|
* Sat Aug 03 2019 Dave Airlie <airlied@redhat.com> - 7.11.3214-3
|
|
|
|
- Latest upstream snapshot for validation layers build
|
|
|
|
|
2019-07-25 03:56:57 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.11.3214-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-10 15:48:29 +00:00
|
|
|
* Mon Jun 10 01:27:27 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 7.11.3214-1
|
|
|
|
- Release 7.11.3214
|
|
|
|
- Add patch to build against system spirv-tools
|
|
|
|
|
2019-03-29 00:40:35 +00:00
|
|
|
* Fri Mar 29 2019 Dave Airlie <airlied@redhat.com> - 3.1-0.13.20190329.gite0d59bb
|
|
|
|
- Update for vulkan 1.1.101.0
|
|
|
|
|
2019-02-12 05:55:07 +00:00
|
|
|
* Tue Feb 12 2019 Dave Airlie <airlied@redhat.com> - 3.1-0.12.20190212.git05d12a9
|
|
|
|
- Update for vulkan 1.1.92.0
|
|
|
|
|
2019-01-31 22:55:52 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-0.11.20180727.gite99a268
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-07 11:28:11 +00:00
|
|
|
* Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.10.20180727.gite99a268
|
|
|
|
- Update for vulkan 1.1.82.0
|
|
|
|
|
2018-07-13 02:45:02 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-0.9.20180416.git3bb4c48
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-24 00:17:26 +00:00
|
|
|
* Mon Apr 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.8.20180416.git3bb4c48
|
2018-04-23 23:53:44 +00:00
|
|
|
- Update for vulkan 1.1.73.0
|
|
|
|
|
2018-03-08 01:16:27 +00:00
|
|
|
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 3.1-0.7.20180205.git2651cca
|
|
|
|
- Rebuild to fix GCC 8 mis-compilation
|
|
|
|
See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
|
|
|
|
|
2018-02-09 19:32:10 +00:00
|
|
|
* Fri Feb 09 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.6.20180205.git2651cca
|
|
|
|
- Update for vulkan 1.0.68.0
|
|
|
|
|
2018-02-09 12:29:27 +00:00
|
|
|
* Fri Feb 09 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.5.20171028.git715c353
|
|
|
|
- Use ninja to build
|
|
|
|
|
2018-02-07 13:07:52 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-0.4.20171028.git715c353
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-03 12:47:38 +00:00
|
|
|
* Wed Jan 03 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.3.20171028.git715c353
|
|
|
|
- Exclude s390x and ppc64 from check section
|
|
|
|
|
2018-01-03 12:14:28 +00:00
|
|
|
* Wed Jan 03 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.2.20171028.git715c353
|
|
|
|
- Add check section to run tests
|
|
|
|
- Split binaries into main package
|
|
|
|
|
2018-01-02 17:14:43 +00:00
|
|
|
* Thu Jul 13 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.1.20171028.git715c353
|
|
|
|
- First build
|