/[packages]/cauldron/golang-rackspace-gophercloud/current/SPECS/golang-rackspace-gophercloud.spec
ViewVC logotype

Contents of /cauldron/golang-rackspace-gophercloud/current/SPECS/golang-rackspace-gophercloud.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 679877 - (show annotations) (download)
Tue Sep 16 16:09:54 2014 UTC (10 years, 2 months ago) by umeabot
File size: 947 byte(s)
Mageia 5 Mass Rebuild
1 %define prerelease aa3a31dadec0fcae98b2e40c85e87ac3f971c023
2 %define import_path github.com/rackspace/gophercloud
3 %define gopath %{_libdir}/golang
4 %define gosrc %{gopath}/src/%{import_path}
5 %define shortcommit %(c=%{prerelease}; echo ${c:0:7})
6 Summary: A multi-cloud language binding for Go
7 Name: golang-rackspace-gophercloud
8 Version: 0.20131025
9 Release: %mkrel 3
10 License: ASL 2.0
11 Group: Development/Other
12 Url: https://%{import_path}
13 Source0: https://%{import_path}/archive/%{prerelease}.tar.gz
14 Provides: golang(%{import_path}) = %{version}-%{release}
15
16 %description
17 Gophercloud provides a Go binding to OpenStack cloud APIs.
18
19 %prep
20 %setup -q -n gophercloud-%{prerelease}
21
22 %build
23
24 %install
25 mkdir -p %{buildroot}%{gosrc}
26 cp -av * %{buildroot}%{gosrc}/
27 rm -f %{buildroot}%{gosrc}/LICENSE
28 rm -f %{buildroot}%{gosrc}/README.asciidoc
29 rm -f %{buildroot}%{gosrc}/CONTRIBUTORS.md
30
31 %files
32 %doc LICENSE
33 %doc README.asciidoc
34 %doc CONTRIBUTORS.md
35 %{gosrc}/*

  ViewVC Help
Powered by ViewVC 1.1.30