Files
perl-POE-Component-Client-I…/perl-POE-Component-Client-Ident.spec

77 lines
2.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-POE-Component-Client-Ident
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-POE-Component-Client-Ident
Version: 1.16
Release: 1
License: GPL+ or Artistic
%define cpan_name POE-Component-Client-Ident
Summary: A component that provides non-blocking ident lookups to your sessions.
Url: http://search.cpan.org/dist/POE-Component-Client-Ident/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/B/BI/BINGOS/POE-Component-Client-Ident-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl(POE) >= 0.38
BuildRequires: perl(POE::Filter::Line)
BuildRequires: perl(POE::Wheel::ReadWrite)
BuildRequires: perl(POE::Wheel::SocketFactory)
BuildRequires: perl(Test::POE::Server::TCP)
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(POE) >= 0.38
Requires: perl(POE::Filter::Line)
Requires: perl(POE::Wheel::ReadWrite)
Requires: perl(POE::Wheel::SocketFactory)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
POE::Component::Client::Ident is a POE component that provides non-blocking
Ident lookup services to other components and sessions. The Ident protocol
is described in RFC 1413 the http://www.faqs.org/rfcs/rfc1413.html manpage.
The component takes requests in the form of events, spawns the
POE::Component::Client::Ident::Agent manpage sessions to perform the Ident
queries and returns the appropriate responses to the requesting session.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes LICENSE README
%changelog