Group :: Development/Other
RPM: golang-golang-x-crypto
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%global import_path golang.org/x/crypto
%global commit 21052ae46654ecf18dfdba0f7c12701a1e2b3164
%global abbrev %(c=%{commit}; echo ${c:0:8})
Name: golang-golang-x-crypto
Version: 0
Release: alt11.git%abbrev
Summary: Supplementary Go cryptography libraries
License: MIT
Group: Development/Other
Url: https://godoc.org/%import_path
Source: %name-%version.tar
Packager: Denis Pynkin <dans at altlinux.ru>
ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang
BuildArch: noarch
BuildRequires: golang-tools
%description
Supplementary Go cryptography libraries
%package devel
Summary: Supplementary Go cryptography libraries
Group: Development/Other
Requires: golang
Provides: golang(%import_path) = %version-%release
Requires: golang(golang.org/x/sys/unix)
%description devel
Supplementary Go cryptography libraries
%prep
%setup -q
%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
%golang_prepare
%install
export BUILDDIR="$PWD/.build"
export GOPATH="%go_path"
%golang_install
%files devel
%doc AUTHORS README.md LICENSE
%go_path/src/*
%changelog
…
Full changelog you can see here
%global commit 21052ae46654ecf18dfdba0f7c12701a1e2b3164
%global abbrev %(c=%{commit}; echo ${c:0:8})
Name: golang-golang-x-crypto
Version: 0
Release: alt11.git%abbrev
Summary: Supplementary Go cryptography libraries
License: MIT
Group: Development/Other
Url: https://godoc.org/%import_path
Source: %name-%version.tar
Packager: Denis Pynkin <dans at altlinux.ru>
ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang
BuildArch: noarch
BuildRequires: golang-tools
%description
Supplementary Go cryptography libraries
%package devel
Summary: Supplementary Go cryptography libraries
Group: Development/Other
Requires: golang
Provides: golang(%import_path) = %version-%release
Requires: golang(golang.org/x/sys/unix)
%description devel
Supplementary Go cryptography libraries
%prep
%setup -q
%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
%golang_prepare
%install
export BUILDDIR="$PWD/.build"
export GOPATH="%go_path"
%golang_install
%files devel
%doc AUTHORS README.md LICENSE
%go_path/src/*
%changelog
…
Full changelog you can see here