[packages/spirv-tools] - pl, fixed License

qboosh qboosh at pld-linux.org
Fri May 26 21:51:54 CEST 2017

commit 919996ec31245c657726d0c305e7a60e3bcfdf04
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 26 21:52:48 2017 +0200

    - pl, fixed License

 spirv-tools.spec | 50 +++++++++++++++++++++++++++++++++-----------------
 1 file changed, 33 insertions(+), 17 deletions(-)
diff --git a/spirv-tools.spec b/spirv-tools.spec
index 2190664..d93baeb 100644
--- a/spirv-tools.spec
+++ b/spirv-tools.spec
@@ -1,19 +1,21 @@
 %define	snap	20161219
 %define commit	37422e9dba1a3a8cb8028b779dd546d43add6ef8
-%define	_ver	%(echo %{version} | tr _ -)
-Summary:	SPIR-V Tools
+Summary:	Khronos SPIR-V Tools
+Summary(pl.UTF-8):	Narzędzia SPIR-V z projektu Khronos
 Name:		spirv-tools
 Version:	v2016.7
 Release:	0.s%{snap}.1
-License:	MIT-like
-Group:		Applications
+License:	Apache v2.0
+Group:		Development/Tools
 Source0:	https://github.com/KhronosGroup/SPIRV-Tools/archive/%{commit}/%{name}-s%{snap}.tar.gz
 # Source0-md5:	145629e57b35f2f398945ff4e3c7d5b0
 Patch0:		cmake-lib64.patch
 Patch1:		no-git-describe.patch
 URL:		https://github.com/KhronosGroup/SPIRV-Tools
-BuildRequires:	cmake
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	libstdc++-devel >= 6:4.7
+BuildRequires:	python
 BuildRequires:	spirv-headers
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,8 +25,8 @@ The SPIR-V Tools project provides an API and commands for processing
 SPIR-V modules.
 The project includes an assembler, binary module parser, disassembler,
-and validator for SPIR-V, all based on a common static library. The
-library contains all of the implementation details, and is used in the
+and validator for SPIR-V, all based on a common library. The library
+contains all of the implementation details, and is used in the
 standalone tools whilst also enabling integration into other code
 bases directly.
@@ -33,26 +35,43 @@ change.
 SPIR-V is defined by the Khronos Group Inc.
+%description -l pl.UTF-8
+SPIR-V Tools to projekt udostępniający API i polecenia do
+przetwarzania modułów SPIR-V.
+Projekt zawiera asembler, parser modułów binarnych, disasembler oraz
+walidator dla SPIR-V - wszystko oparte o wspólną bibliotekę.
+Biblioteka zawiera wszystkie szczegóły implementacji i jest używana w
+samodzielnych narzędziach; może być także zintegrowana do innego kodu.
+Interfejsy są nadal rozwijane i mogą się zmienić.
+SPIR-V jest zdefiniowane przez Khronos Group Inc.
 %package libs
 Summary:	SPIR-V Tools library
+Summary(pl.UTF-8):	Biblioteka SPIR-V Tools
 Group:		Libraries
 %description libs
 The SPIR-V Tools project provides an API for processing SPIR-V
+%description libs -l pl.UTF-8
+Projekt SPIR-V Tools udostepnia API do przetwarzania modułów SPIR-V.
 %package devel
-Summary:	Header files for %{name} library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki %{name}
+Summary:	Header files for SPIR-V Tools library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki SPIR-V Tools
 Group:		Development/Libraries
 Requires:	spirv-headers
 Requires:	%{name}-libs = %{version}-%{release}
 %description devel
-Header files for %{name} library.
+Header files for SPIR-V Tools library.
 %description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki %{name}.
+Pliki nagłówkowe biblioteki SPIR-V Tools.
 %setup -q -n SPIRV-Tools-%{commit}
@@ -65,8 +84,7 @@ install -d build external/spirv-headers/include
 ln -s /usr/include/spirv external/spirv-headers/include/spirv
 cd build
-%cmake \
-	../
+%cmake ..
 # we know better than utils/update_build_version.py
 echo '"spirv-tools %{commit}\\n"' > build-version.inc
@@ -76,10 +94,8 @@ echo '"spirv-tools %{commit}\\n"' > build-version.inc
-cd build
-%{__make} install \
+%{__make} -C build install \
-cd ..
@@ -89,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
-%doc LICENSE README.md syntax.md
+%doc CHANGES README.md syntax.md
 %attr(755,root,root) %{_bindir}/spirv-*
 %files libs

---- gitweb:


More information about the pld-cvs-commit mailing list