[packages/etcd] new, version 0.1.1

glen glen at pld-linux.org
Wed Oct 9 22:27:04 CEST 2013


commit f9eb0a8968837514425cdb442aaddf9a0cb8692b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 9 23:26:31 2013 +0300

    new, version 0.1.1
    
    based on fedora initial package
    deee4eb5ce2fc40e2e1e4ea6619e58821d7f10ac

 etcd.spec | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
---
diff --git a/etcd.spec b/etcd.spec
new file mode 100644
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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/etcd.git/commitdiff/f9eb0a8968837514425cdb442aaddf9a0cb8692b



More information about the pld-cvs-commit mailing list