# # spec file for package perl-NetAddr-IP (Version 4.004) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-NetAddr-IP License: Artistic License Group: Development/Libraries/Perl Provides: NetAddr AutoReqProv: on Version: 4.004 Release: 103 Summary: NetAddr::IP - Manages IP addresses and subnets Url: http://search.cpan.org/~luismunoz/NetAddr-IP-4.004 Source: NetAddr-IP-%{version}.tar.gz Patch: NetAddr-IP-%{version}.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This module is designed as a help for managing (ranges of) IP addresses. It includes efficient implementations for most common tasks done to subnets or ranges of IP addresses, namely verifying if an address is within a subnet, comparing, looping, splitting subnets into longer prefixes, compacting addresses to the shortest prefixes, etc. Authors: -------- Luis E. Munoz %prep %setup -n NetAddr-IP-%{version} %patch %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL make %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %files %defattr(-,root,root) %doc README %dir %{perl_vendorarch}/NetAddr %dir %{perl_vendorarch}/auto/NetAddr %dir %{perl_vendorarch}/auto/NetAddr/IP %{perl_vendorarch}/NetAddr/IP.pm %{perl_vendorarch}/NetAddr/IP %{perl_vendorarch}/auto/NetAddr/IP/.packlist %{perl_vendorarch}/auto/NetAddr/IP %doc %{_mandir}/man?/NetAddr::IP.3pm.gz %doc %{_mandir}/man?/NetAddr::IP::Lite.3pm.gz %doc %{_mandir}/man?/NetAddr::IP::Util.3pm.gz %doc %{_mandir}/man?/NetAddr::IP::UtilPP.3pm.gz /var/adm/perl-modules/%{name} %changelog * Tue Jan 30 2007 ms@suse.de - update to version 4.00.4 4.004 Wed Aug 16 16:01:54 PDT 2006 update to include/exclude files in corrupted distro 4.003 Sun Aug 6 10:48:25 PDT 2006 correct SYNOPSIS documentation add :old_nth update Lite.pm documentation update Util.pm documentation Imported into distribution CVS tree - Some revision number mismatches are to be expected Latin-1 is back Fixed some angle brackets so that they show up in the docs 4.002 Fri Aug 4 14:14:16 PDT 2006 remove unused global variable $isV6 update Lite.pm to v1.02 $isV6 global converted to a lexical variable within sub "_xnew" $Class global removed and replaced by calls to UNIVERSAL::isa Thanks to julian@mehnle.net for spotting problems related to using the Lite.pm with mod_perl 4.001 Thu Jul 6 14:09:01 PDT 2006 various bug fixes courtesy of Luis Munoz: changes to Lite.pm v1.01, Util.pm v0.17 see Changes in those distros. update t/v6-re.t, addconst called as a scalar, should be called to return the address value ()[1] 4.000 Mon Jun 19 21:51:10 PDT 2006 initial release of version 4.000 which includes full support of ipV6 addresses and drops the requirement for Math::BigInt and will run on older versions of Perl at least back to 5.005_03 * Mon May 08 2006 ms@suse.de - update to version 3.32 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Sep 29 2005 dmueller@suse.de - add norootforbuild * Thu May 19 2005 ms@suse.de - update to version 3.24 * Wed Oct 20 2004 ms@suse.de - fixed filelist (perl_vendorlib) * Thu Feb 26 2004 ms@suse.de - initial version of perl-NetAddr-IP (v3.19)