Blame SPECS/perl-NetAddr-IP.spec

a6bab8
Name:           perl-NetAddr-IP
a6bab8
Version:        4.079
a6bab8
Release:        7%{?dist}
a6bab8
Summary:        Manages IPv4 and IPv6 addresses and subnets
a6bab8
# Lite/Util/Util.xs is GPLv2+
a6bab8
# Other files are (GPLv2+ or Artistic clarified)
a6bab8
License:        GPLv2+ and (GPLv2+ or Artistic clarified)
a6bab8
Group:          Development/Libraries
a6bab8
URL:            http://search.cpan.org/dist/NetAddr-IP/
a6bab8
Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-%{version}.tar.gz
a6bab8
# Module Build
a6bab8
BuildRequires:  coreutils
a6bab8
BuildRequires:  findutils
a6bab8
BuildRequires:  gcc
a6bab8
BuildRequires:  make
a6bab8
BuildRequires:  perl-interpreter
a6bab8
BuildRequires:  perl-devel
a6bab8
BuildRequires:  perl-generators
a6bab8
BuildRequires:  perl(Config)
a6bab8
BuildRequires:  perl(Cwd)
a6bab8
BuildRequires:  perl(ExtUtils::MakeMaker)
a6bab8
BuildRequires:  perl(File::Spec)
a6bab8
BuildRequires:  perl(Getopt::Long)
a6bab8
BuildRequires:  perl(Pod::Text)
a6bab8
# Module Runtime
a6bab8
BuildRequires:  perl(AutoLoader)
a6bab8
BuildRequires:  perl(Carp)
a6bab8
BuildRequires:  perl(DynaLoader)
a6bab8
BuildRequires:  perl(Exporter)
a6bab8
BuildRequires:  perl(Math::BigInt)
a6bab8
BuildRequires:  perl(overload)
a6bab8
BuildRequires:  perl(Socket)
a6bab8
BuildRequires:  perl(Socket6)
a6bab8
BuildRequires:  perl(strict)
a6bab8
BuildRequires:  perl(vars)
a6bab8
BuildRequires:  perl(warnings)
a6bab8
# Test Suite
a6bab8
BuildRequires:  perl(Data::Dumper)
a6bab8
BuildRequires:  perl(Storable)
a6bab8
BuildRequires:  perl(Test::More)
a6bab8
# Runtime
a6bab8
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
a6bab8
Requires:       perl(Math::BigInt)
a6bab8
Requires:       perl(Socket6)
a6bab8
a6bab8
# Don't "provide" private Perl libs or redundant unversioned provides
a6bab8
%global __provides_exclude ^(perl\\(NetAddr::IP(::(InetBase|Util(PP)?))?\\)$|Util\\.so)
a6bab8
a6bab8
%description
a6bab8
This module provides an object-oriented abstraction on top of IP addresses
a6bab8
or IP subnets, that allows for easy manipulations.
a6bab8
a6bab8
%prep
a6bab8
%setup -q -n NetAddr-IP-%{version}
a6bab8
a6bab8
%build
a6bab8
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
a6bab8
make %{?_smp_mflags}
a6bab8
a6bab8
%install
a6bab8
make pure_install DESTDIR=%{buildroot}
a6bab8
find %{buildroot} -type f -name .packlist -delete
a6bab8
find %{buildroot} -type f -name '*.bs' -empty -delete
a6bab8
%{_fixperms} %{buildroot}
a6bab8
a6bab8
%check
a6bab8
make test
a6bab8
a6bab8
%files
a6bab8
%if 0%{?_licensedir:1}
a6bab8
%license Artistic Copying
a6bab8
%else
a6bab8
%doc Artistic Copying
a6bab8
%endif
a6bab8
%doc About-NetAddr-IP.txt Changes TODO docs/rfc1884.txt
a6bab8
%{perl_vendorarch}/auto/NetAddr/
a6bab8
%{perl_vendorarch}/NetAddr/
a6bab8
%{_mandir}/man3/NetAddr::IP.3*
a6bab8
%{_mandir}/man3/NetAddr::IP::InetBase.3*
a6bab8
%{_mandir}/man3/NetAddr::IP::Lite.3*
a6bab8
%{_mandir}/man3/NetAddr::IP::Util.3*
a6bab8
%{_mandir}/man3/NetAddr::IP::UtilPP.3*
a6bab8
a6bab8
%changelog
a6bab8
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.079-7
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a6bab8
a6bab8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.079-6
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a6bab8
a6bab8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.079-5
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a6bab8
a6bab8
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.079-4
a6bab8
- Perl 5.26 rebuild
a6bab8
a6bab8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.079-3
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a6bab8
a6bab8
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.079-2
a6bab8
- Perl 5.24 rebuild
a6bab8
a6bab8
* Sun Mar 27 2016 Paul Howarth <paul@city-fan.org> - 4.079-1
a6bab8
- Update to 4.079
a6bab8
  - Correct non-suppression of leading zeros in certain instances of new_no use
a6bab8
  - Put in missing code to propagate NetAddr::IP::Lite :nofqdn to IP.pm
a6bab8
- Explicitly BR: perl-devel, needed for EXTERN.h
a6bab8
- Simplify find commands using -empty and -delete
a6bab8
a6bab8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.078-2
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a6bab8
a6bab8
* Thu Aug 20 2015 Paul Howarth <paul@city-fan.org> - 4.078-1
a6bab8
- Update to 4.078
a6bab8
  - Fix typo in Util.pm 1.53 MakefilePL that caused failure to find compiler
a6bab8
a6bab8
* Fri Aug 14 2015 Paul Howarth <paul@city-fan.org> - 4.077-1
a6bab8
- Update to 4.077
a6bab8
  - Added method is_local() to Lite.pm
a6bab8
  - Fix Util/Makefile.PL to work around bug in Android's sh
a6bab8
  - Add method full6m()
a6bab8
  - Fix Util/Makefile.PL issue with clang compiler (CPAN RT#86831)
a6bab8
- Classify buildreqs by usage
a6bab8
- Use %%license where possible
a6bab8
a6bab8
a6bab8
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.075-5
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a6bab8
a6bab8
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.075-4
a6bab8
- Perl 5.22 rebuild
a6bab8
a6bab8
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.075-3
a6bab8
- Perl 5.20 rebuild
a6bab8
a6bab8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.075-2
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a6bab8
a6bab8
* Thu Jun 12 2014 Paul Howarth <paul@city-fan.org> - 4.075-1
a6bab8
- Update to 4.075
a6bab8
  - Change input filter for resolvable hostnames to allow the underscore
a6bab8
    character
a6bab8
a6bab8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.073-2
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a6bab8
a6bab8
* Sat Apr  5 2014 Paul Howarth <paul@city-fan.org> - 4.073-1
a6bab8
- Update to 4.073
a6bab8
  - Add documentation about FQDN conversion and an option to disable
a6bab8
a6bab8
* Tue Jan 28 2014 Paul Howarth <paul@city-fan.org> - 4.072-1
a6bab8
- Update to 4.072
a6bab8
  - Modify Makefile.PL to bypass missing 'pod2text'
a6bab8
- BR: perl(Pod::Text) to ensure we get pod2text
a6bab8
a6bab8
* Tue Oct  1 2013 Paul Howarth <paul@city-fan.org> - 4.071-1
a6bab8
- Update to 4.071
a6bab8
  - Add method "canon"
a6bab8
a6bab8
* Fri Sep 13 2013 Paul Howarth <paul@city-fan.org> - 4.070-1
a6bab8
- Update to 4.070
a6bab8
  - Yet another documention error fixed
a6bab8
  - Add new6FFFF, RFC4291 compliant ipv4->ipV6 new in Lite.pm
a6bab8
a6bab8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.069-3
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a6bab8
a6bab8
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 4.069-2
a6bab8
- Perl 5.18 rebuild
a6bab8
a6bab8
* Sun May 26 2013 Paul Howarth <paul@city-fan.org> - 4.069-1
a6bab8
- Update to 4.069
a6bab8
  - Add proper pod encoding in Lite.pm
a6bab8
  - Changed Makefile.PL to check for config.h when building for XS with 'gcc',
a6bab8
    try building with 'cc', and check again; if config.h is not found, force
a6bab8
    Pure Perl mode
a6bab8
  - Kill XS in winduhs and Darwin, both of which misbehave when compiling XS
a6bab8
    code
a6bab8
- Drop UTF8 patch, no longer needed
a6bab8
a6bab8
* Wed Apr  3 2013 Paul Howarth <paul@city-fan.org> - 4.068-1
a6bab8
- Update to 4.068
a6bab8
  - Update Makefile.PL in Util.pm to better detect 'winduhs'
a6bab8
a6bab8
* Sun Mar 31 2013 Paul Howarth <paul@city-fan.org> - 4.067-1
a6bab8
- Update to 4.067
a6bab8
  - Improved diagnostic message for "die" with bad mask for hostenum,
a6bab8
    hostenumref, split, splitref, rsplit, rsplitref
a6bab8
- Include new docfile About-NetAddr-IP.txt
a6bab8
a6bab8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.066-3
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a6bab8
a6bab8
* Tue Nov 27 2012 Petr Pisar <ppisar@redhat.com> - 4.066-2
a6bab8
- Change license to reflect some files allow Artistic license
a6bab8
a6bab8
* Tue Oct 30 2012 Paul Howarth <paul@city-fan.org> - 4.066-1
a6bab8
- Update to 4.066
a6bab8
  - Support bracketed IPv6 URI notation as described in RFC-3986
a6bab8
a6bab8
* Wed Oct  3 2012 Paul Howarth <paul@city-fan.org> - 4.065-1
a6bab8
- Update to 4.065
a6bab8
  - Correct format for IPv6 embedded IPv4 addresses (CPAN RT#79964)
a6bab8
a6bab8
* Thu Sep 27 2012 Paul Howarth <paul@city-fan.org> - 4.064-1
a6bab8
- Update to 4.064
a6bab8
  - Updated GPL v2.0 text and address in all modules
a6bab8
  - Added support for rfc3021 /31 networks to hostenum
a6bab8
- Update UTF8 patch
a6bab8
a6bab8
* Thu Aug 09 2012 Petr Pisar <ppisar@redhat.com> - 4.062-5
a6bab8
- Declare encoding of POD
a6bab8
a6bab8
* Thu Aug 09 2012 Petr Pisar <ppisar@redhat.com> - 4.062-4
a6bab8
- Specify all dependencies
a6bab8
a6bab8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.062-3
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a6bab8
a6bab8
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 4.062-2
a6bab8
- Perl 5.16 rebuild
a6bab8
a6bab8
* Fri Jun  8 2012 Paul Howarth <paul@city-fan.org> 4.062-1
a6bab8
- update to 4.062 (#802994)
a6bab8
  - add is_rfc1918 to Lite.pm v1.42
a6bab8
  - fix change in behavior introduced in v4.050 where an empty string supplied
a6bab8
    to "new" previously returned 'undef' and now returns 'default' for ipV4 or
a6bab8
    ipV6 (CPAN RT#75976)
a6bab8
  - documentation updates
a6bab8
- don't need to remove empty directories from the buildroot
a6bab8
- recode NetAddr::IP::Lite module and manpage as UTF-8
a6bab8
- don't use macros for commands
a6bab8
a6bab8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 4.058-2
a6bab8
- rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a6bab8
a6bab8
* Sat Nov 12 2011 Paul Howarth <paul@city-fan.org> 4.058-1
a6bab8
- update to 4.058
a6bab8
  - in Lite.pm v1.40:
a6bab8
    - add call to InetBase::fillIPv4 to all uses of gethostbyname
a6bab8
  - in InetBase.pm v0.06:
a6bab8
    - break out the code that expands short IPv4 addresses into dotquad format
a6bab8
      to account for broken BSD implementations of inet_aton and gethostbyname
a6bab8
      that do not recognize the short format, and EXPORT this as sub 'fillIPv4'
a6bab8
  - in Util.pm v1.45:
a6bab8
    - add 'fillIPv4' to calls to gethostbyname to work around broken inet_aton
a6bab8
      and gethostbyname implementations in certain BSD implementations
a6bab8
a6bab8
* Fri Nov  4 2011 Paul Howarth <paul@city-fan.org> 4.056-1
a6bab8
- update to 4.056
a6bab8
  - in InetBase.pm v0.04:
a6bab8
    - improve inet_aton to overcome broken gethostbyname found in NetBSD and
a6bab8
      OpenBSD
a6bab8
a6bab8
* Sat Oct 29 2011 Paul Howarth <paul@city-fan.org> 4.055-1
a6bab8
- update to 4.055
a6bab8
  - in Lite.pm v1.38:
a6bab8
    - patch for CPAN RT#71869: issues with Math::BigInt variants
a6bab8
a6bab8
* Fri Oct 28 2011 Paul Howarth <paul@city-fan.org> 4.054-1
a6bab8
- update to 4.054
a6bab8
  - in Lite.pm v1.37:
a6bab8
    - fix CPAN RT#71925, a sub-variant of CPAN RT#62521 that showed up only for
a6bab8
      short notation for IPv4, e.g. 127/n, 127.0/n, 127.0.0/n but not
a6bab8
      127.0.0.0/n
a6bab8
    - remove Calc.pm
a6bab8
    - add detection of early Math::BigInt object structure
a6bab8
    - fix CPAN RT#71869 - a failed test routine
a6bab8
- upstream no longer ships README so no need to fix its encoding
a6bab8
a6bab8
* Wed Oct 26 2011 Paul Howarth <paul@city-fan.org> 4.052-1
a6bab8
- update to 4.052
a6bab8
  - in InetBase.pm v0.03:
a6bab8
    - Socket6 prior to version 0.23 does not have AF_INET6 in the EXPORT_OK
a6bab8
      array; modify InetBase.pm to work around this
a6bab8
    - remove reference to Config{osname}
a6bab8
  - in Lite.pm v1.35:
a6bab8
    - add support for Math::BigInt to NetAddr::IP::Lite
a6bab8
    - use Math::BigInt::Calc for creating BigInt values and fall back to
a6bab8
      NetAddr::IP::Calc if Math::BigInt is not present (fixes CPAN RT#71869)
a6bab8
- BR: perl(Data::Dumper) and perl(Math::BigInt)
a6bab8
- add runtime dependency on perl(Math::BigInt) for performance and consistency
a6bab8
- update UTF-8 patch to apply cleanly
a6bab8
a6bab8
* Thu Oct 20 2011 Paul Howarth <paul@city-fan.org> - 4.049-1
a6bab8
- update to 4.049
a6bab8
  - in Lite v1.32:
a6bab8
    - add capability to parse input of the form ->new6(12345,1); this should
a6bab8
      have been there but was missing (CPAN RT#68723)
a6bab8
  - in Util v1.41:
a6bab8
    - add inet_pton, inet_ntop, AF_INET, AF_INET6
a6bab8
    - modify inet_n2dx and inet_n2ad to recognize the new 128-bit IPv4 format
a6bab8
      ::FFFF:FFFF:0:0
a6bab8
    - replace isIPv4 with a pure perl version for portability
a6bab8
  - split the following into NetAddr::IP::InetBase v0.01 to provide better
a6bab8
    long-term support for IPv6:
a6bab8
    - inet_aton
a6bab8
    - inet_ntoa
a6bab8
    - ipv6_aton
a6bab8
    - ipv6_n2x
a6bab8
    - ipv6_n2d
a6bab8
    - inet_any2n
a6bab8
    - inet_n2dx
a6bab8
    - inet_n2ad
a6bab8
    - inet_ntop
a6bab8
    - inet_pton
a6bab8
    - packzeros
a6bab8
    - isIPv4
a6bab8
    - isNewIPv4
a6bab8
    - isAnyIPv4
a6bab8
    - AF_INET
a6bab8
    - AF_INET6
a6bab8
- BR: perl(Carp)
a6bab8
- BR: perl(Socket6) for test suite
a6bab8
- update UTF-8 patch to apply cleanly
a6bab8
- license is now GPL+ or Artistic in most of the code but Util.xs is GPLv2+ so
a6bab8
  we ship the whole thing under that license
a6bab8
a6bab8
* Fri Oct 07 2011 Petr Sabata <contyk@redhat.com> - 4.047-1
a6bab8
- 4.047 bump
a6bab8
a6bab8
* Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 4.044-4
a6bab8
- Fix RPM 4.9 dependency filtering
a6bab8
a6bab8
* Thu Jul 21 2011 Paul Howarth <paul@city-fan.org> - 4.044-3
a6bab8
- use a patch rather than scripted iconv to fix character encoding
a6bab8
- use rpm native provides filtering
a6bab8
- make %%files list more explicit
a6bab8
a6bab8
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.044-2
a6bab8
- Perl mass rebuild
a6bab8
a6bab8
* Tue Jun  7 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.044-1
a6bab8
- update to 4.044
a6bab8
- clean specfile
a6bab8
a6bab8
* Wed Apr  6 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.042-1
a6bab8
- update to 4.042, because we had terribly old release
a6bab8
a6bab8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.027-6
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a6bab8
a6bab8
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 4.027-5
a6bab8
- 661697 rebuild for fixing problems with vendorach/lib
a6bab8
a6bab8
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 4.027-4
a6bab8
- Mass rebuild with perl-5.12.0
a6bab8
a6bab8
* Wed Feb 17 2010 Marcela Mašláňová <mmaslano@redhat.com> - 4.027-3
a6bab8
- make rpmlint happy
a6bab8
a6bab8
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 4.027-2
a6bab8
- rebuild against perl 5.10.1
a6bab8
a6bab8
* Wed Sep 16 2009 Warren Togami <wtogami@redhat.com> - 4.027-1
a6bab8
- 4.027
a6bab8
a6bab8
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.007-5
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a6bab8
a6bab8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.007-4
a6bab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a6bab8
a6bab8
* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.007-3
a6bab8
- fix license tag
a6bab8
a6bab8
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.007-2
a6bab8
- rebuild for new perl
a6bab8
a6bab8
* Tue Feb 12 2008 Andreas Thienemann <athienem@redhat.com> 4.007-1
a6bab8
- Updated to 4.007
a6bab8
- Rebuilt against gcc-4.3
a6bab8
a6bab8
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 4.004-4
a6bab8
- Rebuild for selinux ppc32 issue.
a6bab8
a6bab8
* Tue Jul 10 2007 Andreas Thienemann <andreas@bawue.net> 4.004-3
a6bab8
- Fixed missing BR on rawhide
a6bab8
a6bab8
* Thu Apr 26 2007 Andreas Thienemann <andreas@bawue.net> 4.004-2
a6bab8
- Moar docs!
a6bab8
a6bab8
* Thu Apr 12 2007 Andreas Thienemann <andreas@bawue.net> 4.004-1
a6bab8
- Specfile autogenerated by cpanspec 1.69.1.
a6bab8
- Cleand up for FE