Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37505987
en ru br
Репозитории ALT
S:2.0002-alt1
5.1: 1.9015-alt1
4.1: 1.9015-alt1
4.0: 1.9015-alt1
3.0: 1.9011-alt2
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Net-Netmask

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define module Net-Netmask

Name: perl-%module
Version: 2.0002
Release: alt1

Summary: Perl module for manipulation and lookup of IP network blocks
License: Perl
Group: Development/Perl

URL: %CPAN %module
Source0: http://www.cpan.org/authors/id/J/JM/JMASLAK/%{module}-%{version}.tar.gz
BuildArch: noarch

# Automatically added by buildreq on Sun Apr 10 2011

BuildRequires: perl-devel /usr/bin/pod2text perl(Test/UseAllModules.pm) perl(Test2/V0.pm) perl(Math/BigInt.pm)

%description
Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an
object-oriented interface. Nearly all functions are methods that operate on a
Net::Netmask object. There are methods that provide the nearly all bits of
information about a network block that you might want. There are also functions
to put a network block into a table and then later lookup network blocks by IP
address in that table. There are functions to turn a IP address range into a
list of CIDR blocks. There are functions to turn a list of CIDR blocks into a
list of IP addresses. There is a function for sorting by text IP address.

%prep
%setup -q -n %{module}-%{version}

#Test2::V0 version 0.000111 required

[ %version = "1.9104" ] && rm t/ipv6_*

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc CONTRIBUTING README Changes
%perl_vendor_privlib/Net/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin