]> git.pld-linux.org Git - packages/spirv-tools.git/commitdiff
- pl, fixed License
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 26 May 2017 19:52:48 +0000 (21:52 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 26 May 2017 19:52:48 +0000 (21:52 +0200)
spirv-tools.spec

index 2190664783bb1080bd5eaf37b159b54a2cc7ee23..d93baeb218a8d887afebb2dff525329ecce1979d 100644 (file)
@@ -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
 modules.
 
+%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.
 
 %prep
 %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
 %install
 rm -rf $RPM_BUILD_ROOT
 
-cd build
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
-cd ..
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE README.md syntax.md
+%doc CHANGES README.md syntax.md
 %attr(755,root,root) %{_bindir}/spirv-*
 
 %files libs
This page took 0.163258 seconds and 4 git commands to generate.