File perl-Net-Whois-RIPE.spec of Package perl-Net-Whois-RIPE

#
# spec file for package perl-Net-Whois-RIPE (Version 1.23)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           perl-Net-Whois-RIPE
Version:        1.23
Release:        1
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        GPL v2 or later
Url:            http://cpan.org/modules/by-module/Net/
Summary:        Perl module for implementation of RIPE Whois
Source:         http://search.cpan.org/CPAN/authors/id/P/PA/PAULG/Net-Whois-RIPE-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Net::Whois::RIPE class implementing a RIPE whois client



Authors:
--------
    Paul Gampe, <pgampe@users.sourceforge.net>
    Kevin Baker, <shagol@users.sourceforge.net>
    Bruce Campbell, <bxc@users.sourceforge.net>

%prep
%setup -n Net-Whois-RIPE-%{version}

%build
# find demo contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/@/usr/bin/@"
perl Makefile.PL
make
# error because of missing Build.pm: make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%dir %{perl_vendorlib}/Net
%{perl_vendorlib}/Net/Whois
%dir %{perl_vendorarch}/auto/Net
%dir %{perl_vendorarch}/auto/Net/Whois
%{perl_vendorarch}/auto/Net/Whois/RIPE
/var/adm/perl-modules/%{name}
%doc ChangeLog README MANIFEST
%doc %{_mandir}/man?/*

%changelog
* Tue Dec 11 2007 - kssingvo@suse.de
- first try with version 1.23
openSUSE Build Service is sponsored by