Summary: A program for monitoring logs in real-time. Name: logsurfer+ Version: 1.7 Release: 1%{?dist} License: BSD Group: Applications/System URL: http://www.crypt.gen.nz/logsurfer/ Source: logsurfer+-%{version}.tar.gz Source1: logsurfer.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: glibc >= 2.5-12, glibc-devel >= 2.5-12 Requires: glibc >= 2.5-12 %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. %prep umask 022 %setup -q %build umask 022 %configure \ --with-etcdir=%{_sysconfdir} \ --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} \ --mandir=%{_mandir} make DEBUG="" OPT="$RPM_OPT_FLAGS" %install umask 022 rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{_bindir} install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man{1,4} install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/logsurfer install -m 755 src/logsurfer $RPM_BUILD_ROOT%{_bindir}/ install -m 644 man/*.1.* $RPM_BUILD_ROOT%{_mandir}/man1/ install -m 644 man/*.4.* $RPM_BUILD_ROOT%{_mandir}/man4/ install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logsurfer/logsurfer.conf %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog DISCLAIMER README TODO config-examples contrib regex %{_bindir}/logsurfer %{_mandir}/man*/* %config(noreplace) %{_sysconfdir}/logsurfer/logsurfer.conf %changelog * Fri Aug 19 2011 Tomonori Takekawa - 1.7-1.el5 - initial release.