Package swatch: Specfile

Name: swatch
Version: 3.2.2
Release: alt1

Summary: Simple log watcher
Summary(ru_RU.KOI8-R): \xf5\xd4\xc9\xcc\xc9\xd4\xc1 \xc4\xcc\xd1 \xd3\xcc\xc5\xd6\xc5\xce\xc9\xd1 \xda\xc1 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xcd\xd9\xcd log-\xc6\xc1\xca\xcc\xcf\xd7
License: GPL
Group: Monitoring
Url: http://swatch.sourceforge.net
Packager: Igor Homyakov <homyakov@altlinux.ru>

BuildArch: noarch

Source: http://dl.sourceforge.net/%name/%name-%version.tar.gz

AutoReqProv: yes, perl

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

%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
Swatch - perl \xd3\xcb\xc9\xd0\xd4 \xc4\xcc\xd1 \xd3\xcc\xc5\xd6\xc5\xce\xc9\xd1 \xda\xc1 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xcd\xd9\xcd log \xc6\xc1\xca\xcc\xcf\xd7. \xe4\xcc\xd1 \xd0\xd2\xc9\xcd\xc5\xd2\xc1
\xd7\xd9\xd0\xcf\xcc\xce\xc9\xd4\xc5 "perl swatch --examine=FILENAME", \xc7\xc4\xc5 FILENAME - \xc9\xcd\xd1 \xc6\xc1\xca\xcc\xc1
\xd3\xcf\xc4\xc5\xd2\xd6\xc9\xcd\xcf\xc5 \xcb\xcf\xd4\xcf\xd2\xcf\xc7\xcf \xce\xc5\xcf\xc2\xc8\xcf\xc4\xc9\xcd\xcf \xd0\xcf\xcb\xc1\xda\xc1\xd4\xd8. \xfc\xd4\xcf\xd4 \xd0\xd2\xcf\xd3\xd4\xcf\xca \xd0\xd2\xc9\xcd\xc5\xd2
\xd0\xd2\xcf\xc4\xc5\xcd\xcf\xce\xd3\xd4\xd2\xc9\xd2\xd5\xc5\xd4 \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xc5 \xd2\xc5\xd6\xc9\xcd\xd9 \xd7\xd9\xd7\xcf\xc4\xc1 \xc9\xce\xc6\xcf\xd2\xcd\xc1\xc3\xc9\xc9.

%prep
%setup

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README CHANGES KNOWN_BUGS
%_bindir/*
%_man1dir/%name.1.*
%_man3dir/*
%perl_vendor_privlib/Swatch/
%perl_vendor_privlib/auto/Swatch/

%changelog
* Mon Mar 10 2008 Slava Semushin <php-coder@altlinux.ru> 3.2.2-alt1
- NMU
- Updated to 3.2.2

* Fri Jun 22 2007 Slava Semushin <php-coder@altlinux.ru> 3.2.1-alt1
- NMU
- Updated to 3.2.1 (also should fix #12101)
- Use macros from perl-devel package for building and installation
- Exclude COPYING and COPYRIGHT files from package
- Spec cleanup:
  + Replaced tabs to one space
  + Updated Url tag
  + Set Packager tag to previous maintainer
  + Updated url in Source tag
  + Updated BuildRequires
  + Don't use %%name macros in %%description
  + s|%%setup -q -n %%name-%%version|%%setup|
  + s|%%_mandir|man1/%%_man1dir|

* Fri May 16 2003 Igor Homyakov <homyakov at altlinux dot ru> 3.0.8-alt1
- 3.0.8

* Mon Apr 15 2002 Igor Homyakov <homyakov at altlinux dot ru> 3.0.4-alt3
- spec cleanup

* Thu Jan 31 2002 Igor Homyakov <homyakov at altlinux dot ru> alt2
- spec file cleanup

* Sun Dec  2 2001 Igor Homyakov <homyakov at altlinux dot ru> alt1
- build 3.0.4 package