]> git.pld-linux.org Git - packages/perl-Net-Whois.git/blame - perl-Net-Whois.spec
use generic url
[packages/perl-Net-Whois.git] / perl-Net-Whois.spec
CommitLineData
b27bd82b 1#
2# Conditional build:
3%bcond_with tests # perform "make test" (uses network!)
04a76f25 4
0a285e61 5%define pdir Net
6%define pnam Whois
04a76f25 7%include /usr/lib/rpm/macros.perl
cc9f6847 8Summary: Net::Whois perl module
e2aec7a7 9Summary(pl.UTF-8): Moduł perla Net::Whois
e98ce284 10Name: perl-Net-Whois
797b72ca 11Version: 1.9
8bd680d4 12Release: 9
b27bd82b 13# same as perl
14License: GPL v1+ or Artistic
e98ce284 15Group: Development/Languages/Perl
57bd48d6 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
947cb205 17# Source0-md5: c461a0f8991d9df848f66c4189971af7
04a76f25 18URL: http://search.cpan.org/dist/Net-Whois/
dfc3ff6a 19BuildRequires: perl-devel >= 1:5.8.0
04a76f25 20BuildRequires: rpm-perlprov >= 4.1-13
f23d0bbb 21BuildArch: noarch
4fbffb34 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e98ce284 23
24%description
cc9f6847 25Net::Whois - Get and parse "whois" data from InterNIC.
e98ce284 26
d07b8fe0
JR
27%description -l pl.UTF-8
28Net::Whois - wsparcie dla usługi "whois".
e98ce284 29
30%prep
9932d514 31%setup -q -n %{pdir}-%{pnam}-%{version}
e98ce284 32
33%build
86ba3953 34%{__perl} Makefile.PL \
b3e38d9a 35 INSTALLDIRS=vendor
eb0c65bc 36%{__make}
e98ce284 37
b27bd82b 38%{?with_tests:%{__make} test}
39
e98ce284 40%install
41rm -rf $RPM_BUILD_ROOT
e98ce284 42
b27bd82b 43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
e98ce284 45
e98ce284 46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
e3966a4e 51%doc README
86ba3953 52%{perl_vendorlib}/Net/Whois.pm
e98ce284 53%{_mandir}/man3/*
This page took 0.254379 seconds and 4 git commands to generate.