]> git.pld-linux.org Git - packages/etcd.git/commitdiff
new, version 0.1.1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 9 Oct 2013 20:26:31 +0000 (23:26 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 9 Oct 2013 20:26:31 +0000 (23:26 +0300)
based on fedora initial package
deee4eb5ce2fc40e2e1e4ea6619e58821d7f10ac

etcd.spec [new file with mode: 0644]

diff --git a/etcd.spec b/etcd.spec
new file mode 100644 (file)
index 0000000..e23b0e5
--- /dev/null
+++ b/etcd.spec
@@ -0,0 +1,36 @@
+# disable debug packages for go packages
+%define debug_package %{nil}
+Summary:       A highly-available key value store for shared configuration
+Name:          etcd
+Version:       0.1.1
+Release:       1
+License:       Apache v2.0
+Group:         Daemons
+Source0:       https://github.com/coreos/etcd/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 04dfdb78ffc6e5a289f340615525bf70
+URL:           https://github.com/coreos/etcd/
+BuildRequires: golang
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A highly-available key value store for shared configuration.
+
+%prep
+%setup -q
+sed -i "s/^\(VER=\).*HEAD)/\1%{version}/" scripts/release-version
+
+%build
+./build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p %{name} $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md Documentation/internal-protocol-versioning.md
+%attr(755,root,root) %{_bindir}/%{name}
This page took 0.069908 seconds and 4 git commands to generate.