Sophie

Sophie

distrib > Mandriva > 7.2 > i586 > media > main-src > by-pkgid > 0cfe8c080eccca662da91dd597346026 > files > 2

swatch-3.0.1-1mdk.src.rpm

Summary: A utility for monitoring system logs files.
Name: swatch
Version: 3.0.1
Release: 1mdk
Copyright: Distributable
Group: Monitoring
Source: ftp://ftp.stanford.edu/general/security-tools/swatch/%{name}-%{version}.tar.bz2
BuildRequires: perl, perl-File-Tail, perl-Date-Calc, perl-Time-HiRes, perl-TimeDate
Requires: perl, perl-File-Tail, perl-Date-Calc, perl-Time-HiRes, perl-TimeDate
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
The Swatch utility monitors system log files, filters out unwanted data
and takes specified actions (i.e., sending email, executing a script,
etc.) based upon what it finds in the log files.

Install the swatch package if you need a program that will monitor log
files and alert you in certain situations.

%prep
%setup -q
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
make
make test

%install
eval `perl '-V:installarchlib'`
mkdir -p $RPM_BUILD_ROOT/$installarchlib
make PREFIX=$RPM_BUILD_ROOT/usr install

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
%{_bindir}/swatch
%{_bindir}/swatch_oldrc2newrc

%doc CHANGES COPYING INSTALL COPYRIGHT KNOWN_BUGS README* examples tools

%changelog
* Mon Aug  7 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 3.0.1-1mdk
- Release 3.0.1 (merge from Redhat)

* Fri Jul 28 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 2.2-11mdk
- BM + macroszification (update patch file for man dir)
- rename specfile to remove version of filename

* Sat Mar 25 2000 Daouda Lo <daouda@mandrakesoft.com> 2.2-10mdk
- relocate to new mandrake group structure 

* Fri Nov 5 1999 Damien Krotkine <damien@mandrakesoft.com>
- Mandrakes release

* Wed May 05 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 7)

* Tue Mar 16 1999 Preston Brown <pbrown@redhat.com>
- patched to use /var/log/messages as default, not /var/log/syslog (duh)

* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.

* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
- bumped spec number for initial rh 6.0 build

* Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
- build root

* Wed Apr 29 1998 Cristian Gafton <gafton@redhat.com>
- fixed paths

* Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
- updated to 2.2

* Fri Aug 22 1997 Erik Troan <ewt@redhat.com>
- made a noarch package