]> git.pld-linux.org Git - packages/perl-POE-Component-Client-Ident.git/blame - perl-POE-Component-Client-Ident.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-POE-Component-Client-Ident.git] / perl-POE-Component-Client-Ident.spec
CommitLineData
f994b95b
MP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
f994b95b
MP
5%define pdir POE
6%define pnam Component-Client-Ident
82c91953
JB
7Summary: POE::Filter::Ident - A POE-based parser for the Ident protocol
8Summary(pl.UTF-8): POE::Filter::Ident - oparty na POE analizator protokołu Ident
f994b95b 9Name: perl-POE-Component-Client-Ident
dab5aed2 10Version: 1.16
f994b95b
MP
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
82c91953 15Source0: http://www.cpan.org/modules/by-module/POE/%{pdir}-%{pnam}-%{version}.tar.gz
dab5aed2 16# Source0-md5: cfe5b1e3658df5455ed43526325b239a
82c91953 17URL: http://search.cpan.org/dist/POE-Component-Client-Ident/
f994b95b
MP
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
82c91953 21BuildRequires: perl-POE >= 0.0607
75a3545c 22BuildRequires: perl-Test-POE-Server-TCP
f994b95b
MP
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28POE::Filter::Ident takes lines of raw Ident input and turns them into
29weird little data structures, suitable for feeding to
30POE::Component::Client::Ident::Agent. They look like this:
82c91953 31
f994b95b
MP
32{ name => 'event name', args => [ some info about the event ] }
33
6db626d7 34%description -l pl.UTF-8
82c91953
JB
35POE::Filter::Ident przyjmuje linie surowego wejścia od Identa i
36zamienia je na dziwne małe struktury danych, nadające się do
37przekazywania do modułu POE::Component::Client::Ident::Agent.
38Wyglądają tak:
f994b95b 39
82c91953 40{ name => 'nazwa zdarzenia', args => [ informacja o zdarzeniu ] }
f994b95b
MP
41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
48%{__make}
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc Changes README
64%{perl_vendorlib}/POE/Component/Client/*.pm
65%{perl_vendorlib}/POE/Component/Client/Ident
66%{perl_vendorlib}/POE/Filter/Ident.pm
67%{_mandir}/man3/*
This page took 0.092066 seconds and 4 git commands to generate.