File perl-Net-IP.spec of Package perl-Net-IP
#
# spec file for package perl-Net-IP (Version 1.25)
#
# Copyright (c) 2008 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-Net-IP
Url: http://cpan.org/modules/by-module/Net/
License: Artistic License
Group: Development/Libraries/Perl
Provides: perl_Net-IP
Obsoletes: perl_Net-IP
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: allow easy manipulation of IPv4 and IPv6 addresses
Version: 1.25
Release: 46
Source: Net-IP-%{version}.tar.bz2
Patch: %{name}-%{version}-zero_address.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is the Net::IP module, designed to allow easy manipulation of IPv4
and IPv6 addresses.
Authors:
--------
Manuel Valente
%prep
%setup -n Net-IP-%{version} -q
%patch
%build
perl Makefile.PL
make
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changes MANIFEST README
/usr/bin/*
%{_mandir}/man3/*
%dir %perl_vendorlib/Net
%perl_vendorlib/Net/IP.pm
%dir %perl_vendorarch/auto/Net
%perl_vendorarch/auto/Net/IP
/var/adm/perl-modules/%{name}
%changelog
* Thu Aug 21 2008 anicka@suse.cz
- fix undefined value (bnc#418946)
* Fri Dec 14 2007 anicka@suse.cz
- update to 1.25
* Math::BigInt is now mandatory
* Several bugfixes done
* Bugfix in overlaps function
* Updated Makefile
* ran perltidy on the code
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Sun Jul 31 2005 cthiel@suse.de
- update to version 1.23
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Fri Aug 01 2003 ro@suse.de
- update to 1.20 / package binaries
* Mon Jul 28 2003 ro@suse.de
- install to vendor locations
* Mon Jun 23 2003 coolo@suse.de
- package directories
* Tue Apr 22 2003 schubi@suse.de
- initial