[packages/syslog-summary] new, version 1.14

glen glen at pld-linux.org
Sun Mar 17 13:15:06 CET 2013


commit d4234ec87ddc2806ebf722a40be363bad4e0711d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 17 14:14:50 2013 +0200

    new, version 1.14

 syslog-summary.spec | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
---
diff --git a/syslog-summary.spec b/syslog-summary.spec
new file mode 100644
index 0000000..59611d5
--- /dev/null
+++ b/syslog-summary.spec
@@ -0,0 +1,39 @@
+Summary:	Summarize the contents of a syslog log file
+Name:		syslog-summary
+Version:	1.14
+Release:	1
+License:	GPL v2
+Group:		Applications/System
+Source0:	https://github.com/downloads/dpaleino/syslog-summary/%{name}-%{version}.tar.gz
+# Source0-md5:	c1f0bed6664bc429d2679405dcb8fc11
+URL:		https://launchpad.net/syslog-summary
+BuildRequires:	sed >= 4.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This program summarizes the contents of a log file written by syslog,
+by displaying each unique (except for the time) line once, and also
+the number of times such a line occurs in the input. The lines are
+displayed in the order they occur in the input.
+
+It is also possible to define some "ignore rules" using regular
+expressions.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_bindir}}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignore.rules
+%attr(755,root,root) %{_bindir}/syslog-summary
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/syslog-summary.git/commitdiff/d4234ec87ddc2806ebf722a40be363bad4e0711d



More information about the pld-cvs-commit mailing list