Name: logsurfer+ Version: 1.7 Release: 1.0 License: Unknown Group: Productivity/Security Url: http://www.crypt.gen.nz/logsurfer/ Source: %name-%version.tar.gz BuildRoot: %_tmppath/%name-%version-build #BuildRequires: Summary: Program for monitoring system logs in real-time, and reporting on the occurrence of events. %description Logsurfer is a program for monitoring system logs in real-time, and reporting on the occurrence of events. It is similar to the well-known swatch program on which it is based, but offers a number of advanced features which swatch does not support. Authors: -------- - Kerry Thompson - Wolfgang Ley - Uwe Ellerman %prep %setup %build %{?suse_update_config:%{suse_update_config -f }} %configure %__make %{?jobs:-j%jobs}; %install #%__make install DESTDIR=%buildroot %__install -D -m 0755 src/logsurfer %buildroot%_bindir/logsurfer %__install -D -m 0644 man/logsurfer.1 %buildroot%_mandir/man1/logsurfer.1 %__install -D -m 0644 man/logsurfer.conf.4 %buildroot%_mandir/man4/logsurfer.conf.4 %__mkdir_p %buildroot%_docdir/%name %__mv config-examples/* %buildroot%_docdir/%name %__install -D -m 0644 regex/regex.ps %buildroot%_docdir/%name %__install -D -m 0644 DISCLAIMER %buildroot%_docdir/%name %__install -D -m 0644 README %buildroot%_docdir/%name %__install -D -m 0644 TODO %buildroot%_docdir/%name %clean test "%buildroot" != "/" && %__rm -rf %buildroot %files %defattr(-,root,root) %_bindir/logsurfer %doc %_docdir/%name %doc %_mandir/man1/logsurfer.1.gz %doc %_mandir/man4/logsurfer.conf.4.gz