Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042408
en ru br
ALT Linux repos
S:3.2.3-alt1
5.0: 3.2.2-alt1
4.1: 3.2.2-alt1
4.0: 3.2.1-alt1
3.0: 3.0.8-alt1

Group :: Monitoring
RPM: swatch

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# $Id: swatch.spec,v 1.8 2003/05/16 10:02:37 homyakov Exp $

Name: swatch
Version: 3.0.8
Release: alt1

Summary: Simple log watcher
Summary(ru_RU.KOI8-R): Утилита для слежения за содержимым log-файлов
License: GPL
Group: Monitoring
URL: http://www.stanford.edu/~atkins/swatch

# Uncomment if you do an architecture-independent package

BuildArch: noarch

Source: ftp://ftp.stanford.edu/general/security-tools/%name/%name-%version.tar.gz

AutoReqProv: yes, perl

# Automatically added by buildreq on Fri May 16 2003

BuildRequires: perl-Date-Calc perl-File-Tail perl-TimeDate perl-devel

%description
Swatch was originally written to actively monitor messages as
they are written to a log file via the UNIX syslog utility. For
a simple demonstration type "perl swatch --examine=FILENAME" with
FILENAME being the file that you would like to see the contents of.
All this example will do is demonstrate the different text modes
that are available with to the echo action.

%description -l ru_RU.KOI8-R
%name - perl скипт для слежения за содержимым log файлов. Для примера
выполните "perl swatch --examine=FILENAME", где FILENAME - имя файла
содержимое которого необходимо показать. Это простой пример продемонстрирует
различные режимы вывода информации.

%prep
%setup -q -n %name-%version

%build
%__perl Makefile.PL PREFIX=%_prefix
%make_build
%make test

%install
%make install \
PREFIX=%buildroot%_prefix \
INST_MAN1DIR=%buildroot%_man1dir

%files
%doc README CHANGES COPYING COPYRIGHT README.Y2K examples
%_bindir/*
%_mandir/man1/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin