]> git.pld-linux.org Git - packages/logtool.git/blobdiff - logtool.spec
- really use rpmcflags
[packages/logtool.git] / logtool.spec
index a1e7dd8002666944f5e7d472e6b807cef615fafd..8c88e5a7f904157ab297a7c3fa93898c774392f5 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
+Version:       1.1.0
 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,36 +19,33 @@ 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}
+%{__make} CFLAGS="%{rpmcflags} -ansi -pedantic -DHAVE_CONFIG_H"
 
 %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}
 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.037835 seconds and 4 git commands to generate.