X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=logtool.spec;h=c19d6f587a9672831f71510eff730689f7743159;hb=91f9f2be789579966ab5144973675752f2ae0df4;hp=89508f31382880f155ef3e1465ac1967d2a42856;hpb=2ecb7382eaa12c214e50ebb86e23b300e21321a2;p=packages%2Flogtool.git diff --git a/logtool.spec b/logtool.spec index 89508f3..c19d6f5 100644 --- a/logtool.spec +++ b/logtool.spec @@ -1,13 +1,15 @@ Summary: A handy syslog file(s) manipulation/monitoring/parsing tool -Vendor: A.L.Lambert +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 @@ -19,12 +21,23 @@ CSV, HTML format, and is easily configured to your needs via the /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 +rm -f missing +aclocal +autoconf +automake -a -c || : +%configure %{__make} %install @@ -32,11 +45,10 @@ 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/* @@ -45,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT %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}/*