/[packages]/cauldron/golang-go-systemd/current/SPECS/golang-go-systemd.spec
ViewVC logotype

Contents of /cauldron/golang-go-systemd/current/SPECS/golang-go-systemd.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 642212 - (show annotations) (download)
Wed Jul 2 00:15:53 2014 UTC (9 years, 8 months ago) by bcornec
File size: 1353 byte(s)
golang-go-systemd shouldn't be a noarch pkg

1 %global debug_package %{nil}
2 %define import_path github.com/coreos/go-systemd
3 %define gopath %{_libdir}/golang
4 %define gosrc %{gopath}/src/pkg/%{import_path}
5
6 Name: golang-go-systemd
7 Version: 2
8 Release: %mkrel 3
9 Summary: Go bindings to systemd socket activation, journal and D-BUS APIs
10 License: ASL 2.0
11 URL: http://%{import_path}
12 Source0: https://%{import_path}/archive/v%{version}.tar.gz
13 Group: Development/Other
14 Requires: golang
15 Provides: golang(%{import_path}) = %{version}-%{release}
16 Provides: golang(%{import_path}/activation) = %{version}-%{release}
17 Provides: golang(%{import_path}/dbus) = %{version}-%{release}
18 Provides: golang(%{import_path}/journal) = %{version}-%{release}
19
20
21 %description
22 %{summary}
23
24 This package contains library source intended for building other packages
25 which use coreos/go-systemd.
26
27 %prep
28 %setup -n go-systemd-%{version}
29
30 %build
31
32 %install
33 install -d -p %{buildroot}/%{gosrc}/{activation,dbus,journal}
34 cp -av {activation,dbus,journal} %{buildroot}/%{gosrc}
35
36 %files
37 %doc LICENSE README.md
38 %dir %attr(755,root,root) %{gosrc}
39 %dir %attr(755,root,root) %{gosrc}/activation
40 %dir %attr(755,root,root) %{gosrc}/dbus
41 %dir %attr(755,root,root) %{gosrc}/journal
42 %{gosrc}/activation/*.go
43 %{gosrc}/dbus/*.go
44 %{gosrc}/journal/*.go

  ViewVC Help
Powered by ViewVC 1.1.30