]> git.pld-linux.org Git - packages/logtool.git/commitdiff
small cleanup
authorArtur Frysiak <artur@frysiak.net>
Wed, 7 Feb 2001 11:30:01 +0000 (11:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    logtool.spec -> 1.3

logtool.spec

index a1e7dd8002666944f5e7d472e6b807cef615fafd..e2cbaa5f0449699f3e461c1eb0db81b7155cf10a 100644 (file)
@@ -1,13 +1,13 @@
 Summary:       A handy syslog file(s) manipulation/monitoring/parsing tool
-Vendor:                A.L.Lambert
+Vendor:                A.L.Lambert <al@9b.com>
 Name:          logtool
 Version:       1.0.5
 Release:       1
+License:       GPL
+Source0:       http://users.digitex.net/~max/logtool/%{name}-%{version}.tar.gz
 Group:         Applications/Text
 Group(de):     Applikationen/Text
 Group(pl):     Aplikacje/Tekst
-License:       GPL
-Source0:       %{name}-%{version}.tar.gz
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir /etc/logtool
@@ -19,18 +19,16 @@ 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.
 
-Please see the included documentation files (which are located in
-/usr/doc/%{name}-%{version}) for more details.
-
 %prep
 %setup -q  
+
 %build
+%{__make} clean
 %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} \
@@ -38,17 +36,18 @@ install conf/{include,exclude,logtool.conf,green,yellow} \
 install logtool/logtool logtail/logtail        $RPM_BUILD_ROOT%{_bindir}
 install doc/logtool.1                  $RPM_BUILD_ROOT%{_mandir}/man1
 
-ln -sf %{_bindir}/logtool $RPM_BUILD_ROOT%{_bindir}/lt
+ln -sf ./logtool $RPM_BUILD_ROOT%{_bindir}/lt
+
 
-gzip -9nf README TODO INSTALL CHANGES USAGE CREDITS
+gzip -9nf README TODO CHANGES USAGE CREDITS doc/logtool.txt doc/examples/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {README,TODO,INSTALL,CHANGES,USAGE,CREDITS}.gz doc/examples
+%doc {README,TODO,CHANGES,USAGE,CREDITS}.gz doc/*.gz doc/examples
 %attr(750,root,root) %dir %{_sysconfdir}
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
+%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
This page took 0.061011 seconds and 4 git commands to generate.