3 %bcond_without tests # do not perform "make test"
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
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
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_vendorlib}/Net/*.pm