1 Summary: A handy syslog file(s) manipulation/monitoring/parsing tool
2 Vendor: A.L.Lambert <al@9b.com>
7 Source0: http://users.digitex.net/~max/logtool/%{name}-%{version}.tar.gz
8 Group: Applications/Text
9 Group(de): Applikationen/Text
10 Group(pl): Aplikacje/Tekst
11 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _sysconfdir /etc/logtool
16 Logtool is a handy little tool for manipulation/monitoring/parsing of
17 syslog (and syslog-like) files. It produces output in ANSI, ASCII,
18 CSV, HTML format, and is easily configured to your needs via the
19 /etc/logtool/* files. It is suitable for use in generating easy to
20 read logfile reports, webpages, and online monitoring of logfiles.
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
34 install conf/{include,exclude,logtool.conf,green,yellow} \
35 $RPM_BUILD_ROOT%{_sysconfdir}
36 install logtool/logtool logtail/logtail $RPM_BUILD_ROOT%{_bindir}
37 install doc/logtool.1 $RPM_BUILD_ROOT%{_mandir}/man1
39 ln -sf ./logtool $RPM_BUILD_ROOT%{_bindir}/lt
42 gzip -9nf README TODO CHANGES USAGE CREDITS doc/logtool.txt doc/examples/*
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc {README,TODO,CHANGES,USAGE,CREDITS}.gz doc/*.gz doc/examples
50 %attr(750,root,root) %dir %{_sysconfdir}
51 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
52 %attr(755,root,root) %{_bindir}/*