[packages/statsd] package examples

glen glen at pld-linux.org
Thu May 16 00:16:17 CEST 2013


commit 3e71fc8fcf87cb35863f37035ce792dee9e91a3d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 16 01:16:08 2013 +0300

    package examples

 statsd.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/statsd.spec b/statsd.spec
index a05c3d1..5c024c0 100644
--- a/statsd.spec
+++ b/statsd.spec
@@ -1,7 +1,10 @@
+# TODO
+# - packages for apis (examples/* that are usable as library)
+# - packages for clients https://github.com/etsy/statsd/wiki
 Summary:	Lightweight network daemon to collect metrics over UDP
 Name:		statsd
 Version:	0.6.0
-Release:	0.5
+Release:	0.6
 License:	BSD
 Group:		Networking/Daemons
 Source0:	https://github.com/etsy/statsd/archive/v0.6.0.tar.gz?/%{name}-%{version}.tgz
@@ -29,6 +32,9 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_appdir}
 cp -a *.js bin lib backends $RPM_BUILD_ROOT%{_appdir}
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -42,3 +48,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_appdir}/lib
 %dir %{_appdir}/bin
 %attr(755,root,root) %{_appdir}/bin/statsd
+%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/statsd.git/commitdiff/3e71fc8fcf87cb35863f37035ce792dee9e91a3d



More information about the pld-cvs-commit mailing list