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 Patch0: %{name}-ac_fixes.patch
10 URL: http://www.xjack.org/logtool/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _sysconfdir /etc/logtool
18 Logtool is a handy little tool for manipulation/monitoring/parsing of
19 syslog (and syslog-like) files. It produces output in ANSI, ASCII,
20 CSV, HTML format, and is easily configured to your needs via the
21 /etc/logtool/* files. It is suitable for use in generating easy to
22 read logfile reports, webpages, and online monitoring of logfiles.
25 Logtool jest porêcznym narzêdziem do obrabiania/monitorowania/
26 parsowania plików sysloga i podobnych. Mo¿e produkowaæ wyniki w
27 postaci ANSI, ASCII, CSV, HTML; jest ³atwo konfigurowalny do potrzeb
28 poprzez pliki /etc/logtool/*. Nadaje siê do generowania ³atwych do
29 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
53 gzip -9nf README TODO CHANGES USAGE CREDITS doc/logtool.txt doc/examples/*
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc *.gz doc/*.gz doc/examples
61 %attr(750,root,root) %dir %{_sysconfdir}
62 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
63 %attr(755,root,root) %{_bindir}/*