Summary: A handy syslog file(s) manipulation/monitoring/parsing tool
-Vendor: A.L.Lambert <al@9b.com>
+Summary(pl): Porêczne narzêdzie do manipulowania/monitorowania/parsowania plików sysloga
Name: logtool
Version: 1.1.0
-Release: 1
+Release: 3
License: GPL
-Source0: http://users.digitex.net/~max/logtool/%{name}-%{version}.tar.gz
Group: Applications/Text
-Group(de): Applikationen/Text
-Group(pl): Aplikacje/Tekst
+Source0: http://www.xjack.org/logtool/logtool/%{name}-%{version}.tar.gz
+Patch0: %{name}-ac_fixes.patch
+URL: http://www.xjack.org/logtool/
+BuildRequires: autoconf
+BuildRequires: automake
Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/logtool
/etc/logtool/* files. It is suitable for use in generating easy to
read logfile reports, webpages, and online monitoring of logfiles.
+%description -l pl
+Logtool jest porêcznym narzêdziem do obrabiania/monitorowania/
+parsowania plików sysloga i podobnych. Mo¿e produkowaæ wyniki w
+postaci ANSI, ASCII, CSV, HTML; jest ³atwo konfigurowalny do potrzeb
+poprzez pliki /etc/logtool/*. Nadaje siê do generowania ³atwych do
+czytania raportów, stron WWW oraz monitorowania logów on-line.
+
%prep
-%setup -q
+%setup -q
+%patch0 -p1
%build
-%{__make} clean
-%configure
-%{__make} CFLAGS="%{rpmcflags} -ansi -pedantic -DHAVE_CONFIG_H"
+rm -f missing
+aclocal
+autoconf
+automake -a -c || :
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
install conf/{include,exclude,logtool.conf,green,yellow} \
- $RPM_BUILD_ROOT%{_sysconfdir}
+ $RPM_BUILD_ROOT%{_sysconfdir}
install logtool/logtool logtail/logtail $RPM_BUILD_ROOT%{_bindir}
-ln -sf ./logtool $RPM_BUILD_ROOT%{_bindir}/lt
-
+ln -sf logtool $RPM_BUILD_ROOT%{_bindir}/lt
gzip -9nf README TODO CHANGES USAGE CREDITS doc/logtool.txt doc/examples/*
%files
%defattr(644,root,root,755)
-%doc {README,TODO,CHANGES,USAGE,CREDITS}.gz doc/*.gz doc/examples
+%doc *.gz doc/*.gz doc/examples
%attr(750,root,root) %dir %{_sysconfdir}
%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
%attr(755,root,root) %{_bindir}/*