perl-NetAddr-IP/perl-NetAddr-IP.spec

Name: perl-NetAddr-IP
Summary: Manages IPv4 and IPv6 addresses and subnets
Version: 4.079
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/NetAddr-IP/
Description: Manages IPv4 and IPv6 addresses and subnets.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Luis Muñoz <luismunoz$cpan,org>

### EL6 ships with perl-NetAddr-IP-4.027-3.el6
%{?el6:# Tag: rfx}

### EL5 ships with perl-NetAddr-IP-4.027-5.el5_6
%{?el5:# Tag: rfx}

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name NetAddr-IP

Summary: Manages IPv4 and IPv6 addresses and subnets
Name: perl-NetAddr-IP
Version: 4.079
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/NetAddr-IP/

Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl >= 0:5.00503
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl >= 0:5.00503

%description
Manages IPv4 and IPv6 addresses and subnets.

%prep
%setup -q -n %{real_name}-%{version}

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

### Clean up docs 
find docs/ -type f -exec %{__chmod} a-x {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST MANIFEST.SKIP META.yml TODO docs/
%doc %{_mandir}/man3/*.3pm*
%dir %{perl_vendorarch}/NetAddr/
%{perl_vendorarch}/NetAddr/IP.pm
%{perl_vendorarch}/NetAddr/IP/
%dir %{perl_vendorarch}/auto/NetAddr/
%{perl_vendorarch}/auto/NetAddr/IP/

%changelog
* Fri Jul 22 2016 Dries Verachtert <dries.verachtert@dries.eu> - 4.079-1
- Updated to release 4.079.

* Mon Dec 17 2012 David Hrbáč <david@hrbac.cz> - 4.066-1
- new upstream release

* Thu Jun 14 2012 David Hrbáč <david@hrbac.cz> - 4.062-1
- new upstream release

* Tue May 22 2012 David Hrbáč <david@hrbac.cz> - 4.061-1
- new upstream release

* Thu Mar 08 2012 David Hrbáč <david@hrbac.cz> - 4.059-1
- new upstream release

* Thu Feb 16 2012 David Hrbáč <david@hrbac.cz> - 4.058-1
- new upstream release

* Thu Jan 12 2012 David Hrbáč <david@hrbac.cz> - 4.044-2
- rfxed for el6

* Fri Jun 03 2011 David Hrbáč <david@hrbac.cz> - 4.044-1
- new upstream release

* Fri Apr 08 2011 David Hrbáč <david@hrbac.cz> - 4.043-1
- new upstream release

* Thu Mar 24 2011 David Hrbáč <david@hrbac.cz> - 4.042-1
- new upstream release

* Fri Mar 11 2011 David Hrbáč <david@hrbac.cz> - 4.041-1
- new upstream release

* Wed Mar 02 2011 David Hrbáč <david@hrbac.cz> - 4.040-1
- new upstream release

* Mon Dec 20 2010 David Hrbáč <david@hrbac.cz> - 4.038-1
- new upstream release

* Sat Nov 20 2010 David Hrbáč <david@hrbac.cz> - 4.037-1
- new upstream release

* Wed Nov 17 2010 Steve Huff <shuff@vecna.org> - 4.036-1
- CPAN RT#62521 patch merged upstream.
- new upstream release with other fixes.

* Wed Nov 10 2010 Steve Huff <shuff@vecna.org> - 4.035-2
- Applied patch for CPAN RT#62521 new6() issue.

* Fri Oct 29 2010 David Hrbáč <david@hrbac.cz> - 4.035-1
- new upstream release

* Tue Oct 26 2010 David Hrbáč <david@hrbac.cz> - 4.034-1
- new upstream release

* Thu Sep 30 2010 David Hrbáč <david@hrbac.cz> - 4.033-1
- new upstream release

* Tue Sep 28 2010 David Hrbáč <david@hrbac.cz> - 4.032-1
- new upstream release

* Thu Sep 23 2010 David Hrbáč <david@hrbac.cz> - 4.030-1
- new upstream release

* Sat Jul  4 2009 Christoph Maser <cmr@financial.com> - 4.027-1
- Updated to version 4.027.

* Fri Sep 28 2007 Dag Wieers <dag@wieers.com> - 4.007-1
- Updated to release 4.007.

* Tue Feb 13 2007 Dries Verachtert <dries@ulyssis.org> - 4.004-1
- Updated to release 4.004.
- Buildarch isn't noarch anymore (thanks to Peter Bieringer)

* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 3.028-1.2
- Rebuild for Fedora Core 5.

* Sat Nov  5 2005 Dries Verachtert <dries@ulyssis.org> - 3.028-1
- Updated to release 3.028.

* Sat Mar 03 2004 Dag Wieers <dag@wieers.com> - 3.20-1
- Initial package. (using DAR)