]> git.pld-linux.org Git - packages/perl-Regexp-Log.git/blame - perl-Regexp-Log.spec
use generic url
[packages/perl-Regexp-Log.git] / perl-Regexp-Log.spec
CommitLineData
bb4347ab
JB
1#
2# Conditional build:
6cba3fdb 3%bcond_without tests # do not perform "make test"
69ae0425 4
90efa61a 5%define pdir Regexp
6%define pnam Log
69ae0425 7%include /usr/lib/rpm/macros.perl
bb4347ab 8Summary: Regexp::Log - base class for log files regexp builders
c90b565a 9Summary(pl.UTF-8): Regexp::Log - klasa bazowa do tworzenia wyrażeń regularnych dla plików logów
bb4347ab 10Name: perl-Regexp-Log
e607d932 11Version: 0.04
bb4347ab 12Release: 1
16129763 13# same as perl
bb4347ab
JB
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
e607d932 17# Source0-md5: 0047fed2a6b0a1182f2b7d886cfa846c
69ae0425 18URL: http://search.cpan.org/dist/Regexp-Log/
30fd1b08 19BuildRequires: perl-devel >= 1:5.8.0
bb4347ab 20BuildRequires: rpm-perlprov >= 4.1-13
69ae0425
ER
21%if %{with tests}
22BuildRequires: perl-Test-Simple
23%endif
bb4347ab
JB
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Regexp::Log is a base class for a variety of modules that generate
29regular expressions for performing the usual data munging tasks on log
30files that cannot be simply split().
31
32The goal of this module family is to compute regular expressions based
33on the configuration string of the log.
34
df559fed
JR
35%description -l pl.UTF-8
36Regexp::Log to klasa bazowa dla różnych modułów generujących wyrażenia
37regularne do obrabiania danych z plików logów, których nie wystarczy
38tylko potraktować funkcją split().
bb4347ab 39
df559fed
JR
40Celem rodziny modułów jest wyliczanie wyrażeń regularnych oparte na
41łańcuchu konfiguracyjnym dla loga.
bb4347ab
JB
42
43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45
46# one test seems broken
47perl -pi -e 's/"a a /"a /' t/20debug.t
48
49%build
50%{__perl} Makefile.PL \
51 INSTALLDIRS=vendor
bb4347ab
JB
52%{__make}
53
6cba3fdb 54%{?with_tests:%{__make} test}
bb4347ab
JB
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc Changes README
ad0d338c 68%{perl_vendorlib}/%{pdir}/%{pnam}.pm
bb4347ab 69%{_mandir}/man3/*
This page took 0.079241 seconds and 4 git commands to generate.