1 Summary: A handy syslog file(s) manipulation/monitoring/parsing tool
2 Summary(pl): Porêczne narzêdzie do manipulowania/monitorowania/parsowania plików sysloga
7 Group: Applications/Text
8 Source0: http://www.xjack.org/logtool/logtool/%{name}-%{version}.tar.gz
9 # Source0-md5: 1c51da0ee599441200c74f761c617139
10 Patch0: %{name}-ac_fixes.patch
11 URL: http://www.xjack.org/logtool/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _sysconfdir /etc/logtool
19 Logtool is a handy little tool for manipulation/monitoring/parsing of
20 syslog (and syslog-like) files. It produces output in ANSI, ASCII,
21 CSV, HTML format, and is easily configured to your needs via the
22 /etc/logtool/* files. It is suitable for use in generating easy to
23 read logfile reports, webpages, and online monitoring of logfiles.
26 Logtool jest porêcznym narzêdziem do obrabiania/monitorowania/
27 parsowania plików sysloga i podobnych. Mo¿e produkowaæ wyniki w
28 postaci ANSI, ASCII, CSV, HTML; jest ³atwo konfigurowalny do potrzeb
29 poprzez pliki /etc/logtool/*. Nadaje siê do generowania ³atwych do
30 czytania raportów, stron WWW oraz monitorowania logów on-line.
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
47 install conf/{include,exclude,logtool.conf,green,yellow} \
48 $RPM_BUILD_ROOT%{_sysconfdir}
49 install logtool/logtool logtail/logtail $RPM_BUILD_ROOT%{_bindir}
51 ln -sf logtool $RPM_BUILD_ROOT%{_bindir}/lt
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc README TODO CHANGES USAGE CREDITS doc/logtool.txt doc/examples
59 %attr(750,root,root) %dir %{_sysconfdir}
60 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
61 %attr(755,root,root) %{_bindir}/*