2007-01-15 23:31:17 +00:00
|
|
|
#
|
2007-12-14 16:08:13 +00:00
|
|
|
# spec file for package perl-Net-IP (Version 1.25)
|
2007-01-15 23:31:17 +00:00
|
|
|
#
|
2008-08-21 23:56:41 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:17 +00:00
|
|
|
#
|
2008-08-21 23:56:41 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2007-12-14 16:08:13 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:31:17 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2008-08-21 23:56:41 +00:00
|
|
|
|
2007-12-14 16:08:13 +00:00
|
|
|
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
|
2008-08-21 23:56:41 +00:00
|
|
|
Release: 46
|
2007-12-14 16:08:13 +00:00
|
|
|
Source: Net-IP-%{version}.tar.bz2
|
2008-08-21 23:56:41 +00:00
|
|
|
Patch: %{name}-%{version}-zero_address.diff
|
2007-12-14 16:08:13 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:31:17 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is the Net::IP module, designed to allow easy manipulation of IPv4
|
|
|
|
|
and IPv6 addresses.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Manuel Valente
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-08-21 23:56:41 +00:00
|
|
|
%setup -n Net-IP-%{version} -q
|
|
|
|
|
%patch
|
2007-01-15 23:31:17 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL
|
|
|
|
|
make
|
2007-12-14 16:08:13 +00:00
|
|
|
|
|
|
|
|
%check
|
2007-01-15 23:31:17 +00:00
|
|
|
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}
|
|
|
|
|
|
2007-12-14 16:08:13 +00:00
|
|
|
%changelog
|
2008-08-21 23:56:41 +00:00
|
|
|
* Thu Aug 21 2008 anicka@suse.cz
|
|
|
|
|
- fix undefined value (bnc#418946)
|
|
|
|
|
* Fri Dec 14 2007 anicka@suse.cz
|
2007-12-14 16:08:13 +00:00
|
|
|
- update to 1.25
|
|
|
|
|
* Math::BigInt is now mandatory
|
|
|
|
|
* Several bugfixes done
|
|
|
|
|
* Bugfix in overlaps function
|
|
|
|
|
* Updated Makefile
|
|
|
|
|
* ran perltidy on the code
|
2008-08-21 23:56:41 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:31:17 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-08-21 23:56:41 +00:00
|
|
|
* Thu Sep 29 2005 dmueller@suse.de
|
2007-01-15 23:31:17 +00:00
|
|
|
- add norootforbuild
|
2008-08-21 23:56:41 +00:00
|
|
|
* Sun Jul 31 2005 cthiel@suse.de
|
2007-01-15 23:31:17 +00:00
|
|
|
- update to version 1.23
|
2008-08-21 23:56:41 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-15 23:31:17 +00:00
|
|
|
- require the perl version we build with
|
2008-08-21 23:56:41 +00:00
|
|
|
* Fri Aug 01 2003 ro@suse.de
|
2007-01-15 23:31:17 +00:00
|
|
|
- update to 1.20 / package binaries
|
2008-08-21 23:56:41 +00:00
|
|
|
* Mon Jul 28 2003 ro@suse.de
|
2007-01-15 23:31:17 +00:00
|
|
|
- install to vendor locations
|
2008-08-21 23:56:41 +00:00
|
|
|
* Mon Jun 23 2003 coolo@suse.de
|
2007-01-15 23:31:17 +00:00
|
|
|
- package directories
|
2008-08-21 23:56:41 +00:00
|
|
|
* Tue Apr 22 2003 schubi@suse.de
|
2007-01-15 23:31:17 +00:00
|
|
|
- initial
|