From d6bec1afc831ea5fdb040f5395cec1ebef8740e042f1404fa1ed6161028ad3e1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 17 Feb 2016 11:08:27 +0000 Subject: [PATCH] - Initial package (version 2.3.g244) for build.opensuse.org OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + _service | 13 ++++++++ glslang-2.3.g244.tar.xz | 3 ++ glslang.changes | 4 +++ glslang.spec | 73 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 117 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 glslang-2.3.g244.tar.xz create mode 100644 glslang.changes create mode 100644 glslang.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..27d3332 --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + git + git://github.com/KhronosGroup/glslang + 2.3 + @PARENT_TAG@.g@TAG_OFFSET@ + + + *.tar + xz + + + diff --git a/glslang-2.3.g244.tar.xz b/glslang-2.3.g244.tar.xz new file mode 100644 index 0000000..2041236 --- /dev/null +++ b/glslang-2.3.g244.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb0c46a44eb12e909f608446b167c3c0663e363ff3488b99becc57671297d45d +size 836320 diff --git a/glslang.changes b/glslang.changes new file mode 100644 index 0000000..acb78d1 --- /dev/null +++ b/glslang.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Feb 17 11:06:24 UTC 2016 - jengelh@inai.de + +- Initial package (version 2.3.g244) for build.opensuse.org diff --git a/glslang.spec b/glslang.spec new file mode 100644 index 0000000..c96feb6 --- /dev/null +++ b/glslang.spec @@ -0,0 +1,73 @@ +# +# spec file for package glslang +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: glslang +Version: 2.3.g244 +Release: 0 +Summary: OpenGL and OpenGL ES shader front end and validator +License: BSD-3-Clause +Group: Development/Libraries/C and C++ +Url: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/ + +Source: %name-%version.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: bison +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ + +%description +glslang 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: OpenGL and OpenGL ES shader front end and validator +Group: Development/Libraries/C and C++ + +%description devel +glslang 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. + +spirv-remap is a utility to improve compression of SPIR-V binary +files via entropy reduction, plus optional stripping of debug +information and load/store optimization. It transforms SPIR-V to +SPIR-V, remapping IDs. The resulting modules have an increased ID +range (IDs are not as tightly packed around zero), but will compress +better when multiple modules are compressed together, since +compressor's dictionary can find better cross module commonality. + +%prep +%setup -q + +%build +%cmake +make %{?_smp_mflags} + +%install +%cmake_install +mkdir -p "%buildroot/%_libdir" +mv "%buildroot/%_prefix/lib"/*.a "%buildroot/%_libdir/" + +%files devel +%defattr(-,root,root) +%_bindir/gls* +%_bindir/spirv* +%_libdir/*.a + +%changelog