ALT Linux repositórios
Group :: Monitoramento
RPM: swatch
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
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
…
Todas as alterações você pod ver aqui