[packages/logstash] new, version 1.1.9

glen glen at pld-linux.org
Sun Mar 17 18:45:20 CET 2013


commit 74bf6dc79791e9478643558a8dff5d901b47a589
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 17 19:44:36 2013 +0200

    new, version 1.1.9
    
    based on .spec from:
    git://github.com/bloonix/logstash-pkgs.git

 logstash.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/logstash.spec b/logstash.spec
new file mode 100644
index 0000000..d678769
--- /dev/null
+++ b/logstash.spec
@@ -0,0 +1,42 @@
+# TODO
+# - initscript
+# - daemon user
+# - logrotate
+Summary:	logstash is a tool for managing events and logs
+Name:		logstash
+Version:	1.1.9
+Release:	0.2
+License:	Apache v2.0
+Group:		Daemons
+Source0:	http://logstash.objects.dreamhost.com/release/%{name}-%{version}-monolithic.jar
+# Source0-md5:	70addd3ccd37e796f473fe5647c31126
+URL:		http://www.logstash.net/
+Requires:	jre
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+logstash is a tool for managing events and logs. You can use it to
+collect logs, parse them, and store them for later use (like, for
+searching). Speaking of searching, logstash comes with a web interface
+for searching and drilling into all of your logs.
+
+%prep
+%setup -qcT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name}/patterns,%{_datadir}/%{name},/var/{lib,log}/logstash}
+cp -p %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/%{name}/logstash-monolithic.jar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %attr(750,logstash,logstash) %{_sysconfdir}/%{name}
+%dir %attr(750,logstash,logstash) %{_sysconfdir}/%{name}/patterns
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/%{name}-monolithic.jar
+%dir %attr(750,logstash,logstash) /var/lib/%{name}
+%dir %attr(750,logstash,logstash) /var/log/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/logstash.git/commitdiff/74bf6dc79791e9478643558a8dff5d901b47a589



More information about the pld-cvs-commit mailing list