2010-04-16 00:06:42 +00:00
|
|
|
#
|
2011-11-17 15:42:08 +00:00
|
|
|
# spec file for package perl-Net-Ident
|
2010-04-16 00:06:42 +00:00
|
|
|
#
|
2011-11-17 15:42:08 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-04-16 00:06:42 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Net-Ident
|
2010-08-02 01:36:11 +00:00
|
|
|
%define cpan_name Net-Ident
|
2010-04-16 00:06:42 +00:00
|
|
|
Summary: Lookup the username on the remote end of a TCP/IP connection
|
2010-08-02 01:36:11 +00:00
|
|
|
Version: 1.23
|
2011-11-11 11:20:51 +00:00
|
|
|
Release: 2
|
2010-08-02 01:36:11 +00:00
|
|
|
License: GPL+ or Artistic
|
2010-04-16 00:06:42 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/Net-Ident/
|
2010-08-02 01:36:11 +00:00
|
|
|
#Source: http://www.cpan.org/modules/by-module/Net/Net-Ident-%{version}.tar.gz
|
2011-11-17 15:42:08 +00:00
|
|
|
Source: %{cpan_name}-%{version}.tar.gz
|
2010-04-16 00:06:42 +00:00
|
|
|
BuildArch: noarch
|
2010-08-02 01:36:11 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:44:19 +00:00
|
|
|
%{perl_requires}
|
2010-04-16 00:06:42 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2010-08-02 01:36:11 +00:00
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Fcntl)
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
BuildRequires: perl(Socket)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(Config)
|
|
|
|
Requires: perl(Exporter)
|
|
|
|
Requires: perl(Fcntl)
|
|
|
|
Requires: perl(FileHandle)
|
|
|
|
Requires: perl(Socket)
|
|
|
|
Requires: perl(vars)
|
2010-04-16 00:06:42 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
You can either use the simple interface, which does one ident lookup at a
|
|
|
|
time, or use the asynchronous interface to perform (possibly) many
|
|
|
|
simultaneous lookups, or simply continue serving other things while the
|
|
|
|
lookup is proceeding.
|
|
|
|
|
2010-08-02 01:36:11 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Jan-Pieter Cornet, <johnpc@xs4all.nl>
|
|
|
|
Todd Rinaldo <toddr@cpan.org>
|
|
|
|
|
2010-04-16 00:06:42 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
# do not perl_process_packlist (noarch)
|
|
|
|
# remove .packlist file
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
|
|
# remove perllocal.pod file
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
|
|
|
|
%changelog
|