[golang-github-coreos-go-systemd] Initial upload(#1018533)

Lokesh Mandvekar lsm5 at fedoraproject.org
Wed Oct 16 01:33:30 UTC 2013


commit 82fc9993ff980927735d0c31a320b5b75cebfbf3
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date:   Tue Oct 15 20:33:08 2013 -0500

    Initial upload(#1018533)
    
    Signed-off-by: Lokesh Mandvekar <lsm5 at redhat.com>

 .gitignore                           |    1 +
 golang-github-coreos-go-systemd.spec |   66 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0a3bb99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/go-systemd-68bc612.tar.gz
diff --git a/golang-github-coreos-go-systemd.spec b/golang-github-coreos-go-systemd.spec
new file mode 100644
index 0000000..67b7f4b
--- /dev/null
+++ b/golang-github-coreos-go-systemd.spec
@@ -0,0 +1,66 @@
+%global debug_package   %{nil}
+%global import_path     github.com/coreos/go-systemd
+%global gopath          %{_datadir}/gocode
+%global commit          68bc612f441de7b3d3a0750c6d2a5305c846de22
+%global shortcommit     %(c=%{commit}; echo ${c:0:7})
+
+Name:           golang-github-coreos-go-systemd
+Version:        0
+Release:        0.2.git%{shortcommit}%{?dist}
+Summary:        Go bindings to systemd socket activation, journal and D-BUS APIs
+License:        ASL 2.0
+URL:            http://%{import_path}
+Source0:        https://%{import_path}/archive/%{commit}/go-systemd-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
+
+%description
+%{summary}
+
+%package devel
+Requires:       golang
+Summary:        Go bindings to systemd socket activation, journal and D-BUS APIs
+Provides:       golang("%{import_path}") = %{version}-%{release}
+Provides:       golang("%{import_path}/activation") = %{version}-%{release}
+Provides:       golang("%{import_path}/dbus") = %{version}-%{release}
+Provides:       golang("%{import_path}/journal") = %{version}-%{release}
+
+%description devel
+%{summary}
+
+This package contains library source intended for building other packages
+which use coreos/go-systemd.
+
+%prep
+%setup -n go-systemd-%{commit}
+
+%build
+
+%install
+install -d -p %{buildroot}/%{gopath}/src/%{import_path}/{activation,dbus,journal}
+cp -av {activation,dbus,journal} %{buildroot}/%{gopath}/src/%{import_path}
+
+%files devel
+%doc LICENSE README.md
+%dir %attr(755,root,root) %{gopath}
+%dir %attr(755,root,root) %{gopath}/src
+%dir %attr(755,root,root) %{gopath}/src/github.com
+%dir %attr(755,root,root) %{gopath}/src/github.com/coreos
+%dir %attr(755,root,root) %{gopath}/src/%{import_path}
+%dir %attr(755,root,root) %{gopath}/src/%{import_path}/activation
+%dir %attr(755,root,root) %{gopath}/src/%{import_path}/dbus
+%dir %attr(755,root,root) %{gopath}/src/%{import_path}/journal
+%{gopath}/src/%{import_path}/activation/*.go
+%{gopath}/src/%{import_path}/dbus/*.go
+%{gopath}/src/%{import_path}/journal/*.go
+
+%changelog
+* Mon Oct 14 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.2.git68bc612
+- provides golang("github.com/coreos/go-systemd")
+- defattr removed
+
+* Sat Oct 12 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.1.git68bc612
+- Initial fedora package
diff --git a/sources b/sources
index e69de29..391b90d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2e4498e615c6b7e34cc30b1dfcc41a47  go-systemd-68bc612.tar.gz


More information about the scm-commits mailing list