SHA256
1
0
forked from pool/cmake

Accepting request 323224 from home:AndreasStieger:branches:devel:tools:building

cmake 3.3.1, verify source signatures

OBS-URL: https://build.opensuse.org/request/show/323224
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=223
This commit is contained in:
Tomáš Chvátal
2015-08-15 08:18:06 +00:00
committed by Git OBS Bridge
parent 5b42b14b35
commit 2b638e4513
9 changed files with 427 additions and 9 deletions

View File

@@ -17,13 +17,16 @@
Name: cmake-gui
Version: 3.3.0
Version: 3.3.1
Release: 0
Summary: CMake graphical user interface
License: BSD-3-Clause
Group: Development/Tools/Building
Url: http://www.cmake.org/
Source0: http://www.cmake.org/files/v3.3/cmake-%{version}.tar.gz
Source5: http://www.cmake.org/files/v3.3/cmake-%{version}-SHA-256.txt
Source6: http://www.cmake.org/files/v3.3/cmake-%{version}-SHA-256.txt.asc
Source7: cmake.keyring
# PATCH-FIX-UPSTREAM form.patch -- set the correct include path for the ncurses includes
Patch4: form.patch
# PATCH-FIX-UPSTREAM system-libs.patch -- allow choosing between bundled and system jsoncpp & form libs
@@ -64,6 +67,9 @@ Group: Development/Tools/Building
Manual pages for cmake, Cross-platform, open-source make system
%prep
# The publisher doesn't sign the source tarball, but a signatures file containing multiple hashes.
# Verify hashes in that file against source tarball.
echo "`grep cmake-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOURCE0}" | sha256sum -c
%setup -q -n cmake-%{version}
%patch4 -p1
%patch5 -p1