3 %bcond_without tests # do not perform "make test"
6 %define pnam Component-Client-Ident
7 Summary: POE::Filter::Ident - A POE-based parser for the Ident protocol
8 Summary(pl.UTF-8): POE::Filter::Ident - oparty na POE analizator protokołu Ident
9 Name: perl-POE-Component-Client-Ident
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/POE/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: cfe5b1e3658df5455ed43526325b239a
17 URL: http://search.cpan.org/dist/POE-Component-Client-Ident/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-POE >= 0.0607
22 BuildRequires: perl-Test-POE-Server-TCP
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 POE::Filter::Ident takes lines of raw Ident input and turns them into
29 weird little data structures, suitable for feeding to
30 POE::Component::Client::Ident::Agent. They look like this:
32 { name => 'event name', args => [ some info about the event ] }
34 %description -l pl.UTF-8
35 POE::Filter::Ident przyjmuje linie surowego wejścia od Identa i
36 zamienia je na dziwne małe struktury danych, nadające się do
37 przekazywania do modułu POE::Component::Client::Ident::Agent.
40 { name => 'nazwa zdarzenia', args => [ informacja o zdarzeniu ] }
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{perl_vendorlib}/POE/Component/Client/*.pm
65 %{perl_vendorlib}/POE/Component/Client/Ident
66 %{perl_vendorlib}/POE/Filter/Ident.pm