8
0
Files
perl-NetAddr-IP/perl-NetAddr-IP.spec

77 lines
2.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-NetAddr-IP (Version 3.32)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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: 3.32
Release: 1
Summary: NetAddr::IP - Manages IP addresses and subnets
Url: http://search.cpan.org
Source: NetAddr-IP-%{version}.tar.gz
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 <luismunoz@cpan.org>
%prep
%setup -n NetAddr-IP-%{version}
%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_vendorlib}/NetAddr
%dir %{perl_vendorarch}/auto/NetAddr
%dir %{perl_vendorarch}/auto/NetAddr/IP
%{perl_vendorlib}/NetAddr/IP.pm
%{perl_vendorarch}/auto/NetAddr/IP/.packlist
%doc %{_mandir}/man?/NetAddr::IP.3pm.gz
/var/adm/perl-modules/%{name}
%changelog -n perl-NetAddr-IP
* 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)