File perl-Net-IP.spec of Package perl-Net-IP

# spec file for package perl-Net-IP
# Copyright (c) 2013 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

Name:           perl-Net-IP
Provides:       perl_Net-IP
Obsoletes:      perl_Net-IP
Summary:        allow easy manipulation of IPv4 and IPv6 addresses
License:        Artistic-1.0
Group:          Development/Libraries/Perl
Version:        1.26
Release:        0
Source:         Net-IP-%{version}.tar.gz
Patch:          %{name}-1.25-zero_address.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros

This is the Net::IP module, designed to allow easy manipulation of IPv4
and IPv6 addresses.

    Manuel Valente

%setup -n Net-IP-%{version} -q

perl Makefile.PL
make %{?_smp_mflags}

make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor


%dir %perl_vendorlib/Net
%dir %perl_vendorarch/auto/Net