/[packages]/cauldron/golang-syndtr-gocapability/current/SPECS/golang-syndtr-gocapability.spec
ViewVC logotype

Contents of /cauldron/golang-syndtr-gocapability/current/SPECS/golang-syndtr-gocapability.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1298023 - (show annotations) (download)
Sun Sep 23 15:18:55 2018 UTC (6 years, 7 months ago) by umeabot
File size: 976 byte(s)
Mageia 7 Mass Rebuild
1 %define debug_package %{nil}
2
3 %define prerelease 33e07d32887e1e06b7c025f27ce52f62c7990bc0
4 %define import_path github.com/syndtr/gocapability
5 %define gopath %{_libdir}/golang
6 %define gosrc %{gopath}/src/pkg/%{import_path}
7 %define shortcommit %(c=%{prerelease}; echo ${c:0:7})
8 %define date 20180223
9
10 Summary: Utilities for manipulating POSIX capabilities in Go
11 Name: golang-syndtr-gocapability
12 Version: 0.1.%{date}_git%{shortcommit}
13 Release: %mkrel 2
14 License: MIT
15 Group: Development/Other
16 Url: https://%{import_path}
17 Source0: https://%{import_path}/archive/%{prerelease}.tar.gz
18 Provides: golang(%{import_path}) = %{version}-%{release}
19 Provides: golang(%{import_path}/capability) = %{version}-%{release}
20
21 %description
22 Utilities for manipulating POSIX capabilities in Go
23
24 %prep
25 %setup -q -n gocapability-%{prerelease}
26
27 %build
28
29 %install
30 mkdir -p %{buildroot}%{gosrc}
31 cp -av * %{buildroot}%{gosrc}/
32 rm -f %{buildroot}%{gosrc}/LICENSE
33
34 %files
35 %doc LICENSE
36 %{gosrc}/*

  ViewVC Help
Powered by ViewVC 1.1.30