]> git.pld-linux.org Git - packages/perl-Net-Whois.git/blob - perl-Net-Whois.spec
- Massive attack: new %%doc, use %%{_examplesdir} and proper attrs therein
[packages/perl-Net-Whois.git] / perl-Net-Whois.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Net
3 %define pnam    Whois
4 Summary:        Net::Whois perl module
5 Summary(pl):    Modu³ perla Net::Whois
6 Name:           perl-Net-Whois
7 Version:        1.9
8 Release:        6
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.6
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Net::Whois - Get and parse "whois" data from InterNIC.
19
20 %description -l pl
21 Net::Whois - wsparcie dla us³ugi "whois".
22
23 %prep
24 %setup -q -n %{pdir}-%{pnam}-%{version}
25
26 %build
27 perl Makefile.PL
28 %{__make}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %{__make} install DESTDIR=$RPM_BUILD_ROOT
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc README
41 %{perl_sitelib}/Net/Whois.pm
42 %{_mandir}/man3/*
This page took 0.081497 seconds and 4 git commands to generate.