[packages/statsd] new, etsy statsd, version 0.6.0

glen glen at pld-linux.org
Thu Apr 4 16:35:21 CEST 2013


commit d72843a185d5b555e5335417e2d5e7c8b62c4b78
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 4 17:35:02 2013 +0300

    new, etsy statsd, version 0.6.0

 statsd.spec | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
diff --git a/statsd.spec b/statsd.spec
new file mode 100644
index 0000000..cbb6c7c
--- /dev/null
+++ b/statsd.spec
@@ -0,0 +1,41 @@
+Summary:	Lightweight network daemon to collect metrics over UDP
+Name:		statsd
+Version:	0.6.0
+Release:	0.1
+License:	BSD
+Group:		Networking/Daemons
+URL:		https://github.com/etsy/statsd
+Source0:	https://github.com/etsy/statsd/archive/v0.6.0.tar.gz?/%{name}-%{version}.tgz
+# Source0-md5:	56eece3aec5fa9745822d1d34a6e193a
+Requires:	nodejs
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir		%{_datadir}/%{name}
+
+%description
+A network daemon that runs on the Node.js platform and listens for
+statistics, like counters and timers, sent over UDP and sends
+aggregates to one or more pluggable backend services (e.g., Graphite).
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# install the js files which to the work
+install -d $RPM_BUILD_ROOT%{_appdir}
+cp -a *.js bin lib backends $RPM_BUILD_ROOT%{_appdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md Changelog.md LICENSE
+%{_appdir}/stats.js
+%{_appdir}/exampleConfig.js
+%{_appdir}/backends
+%{_appdir}/lib
+%dir %{_appdir}/bin
+%attr(755,root,root) %{_appdir}/bin/statsd
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list