]> git.pld-linux.org Git - packages/perl-Net-CIDR.git/blob - perl-Net-CIDR.spec
Up to 0.21
[packages/perl-Net-CIDR.git] / perl-Net-CIDR.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Net
6 %define pnam    CIDR
7 Summary:        Net::CIDR - manipulate IPv4/IPv6 netblocks in CIDR notation
8 Summary(pl.UTF-8):      Net::CIDR - przetwarzanie bloków sieci IPv4/IPv6 w notacji CIDR
9 Name:           perl-Net-CIDR
10 Version:        0.21
11 Release:        1
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  31f6679b361ad734d163d3a9f6589c84
16 URL:            http://search.cpan.org/dist/Net-CIDR/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The Net::CIDR package contains functions that manipulate lists of IP
24 netblocks expressed in CIDR notation. The Net::CIDR functions handle
25 both IPv4 and IPv6 addresses.
26
27 %description -l pl.UTF-8
28 Pakiet Net::CIDR zawiera funkcje przetwarzające listy bloków sieci IP
29 zapisanych w notacji CIDR. Funkcje Net::CIDR obsługują adresy IPv4 i
30 IPv6.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc ChangeLog README
54 %{perl_vendorlib}/Net/*.pm
55 %{_mandir}/man3/*
This page took 0.109266 seconds and 4 git commands to generate.