Name: perl-Net-IP-CMatch Version: 0.02 Release: 49%{?dist} Summary: Efficiently match IP addresses against IP ranges with C License: GPL+ or Artistic URL: https://metacpan.org/release/Net-IP-CMatch Source0: https://cpan.metacpan.org/authors/id/B/BE/BEAU/Net-IP-CMatch-%{version}.tar.gz BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.6.1 BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(FindBin) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Net::IP::CMatch is based upon, and does the same thing as Net::IP::Match. The unconditionally exported subroutine 'match_ip' determines if the IP to match (first argument) matches any of the subsequent IP arguments. Match arguments may be absolute quads, as '127.0.0.1', or contain mask bits as '111.245.76.248/29'. A true return value indicates a match. It was written in C, rather than a macro, preprocessed through perl's source filter mechanism (as is Net::IP::Match), so that the IP arguments could be traditional perl scalars. The C code is lean and mean (IMHO). %prep %setup -q -n Net-IP-CMatch-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %files %doc Changes %{perl_vendorarch}/auto/Net/ %{perl_vendorarch}/Net/ %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.02-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.02-48 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.02-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.02-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.02-45 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.02-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.02-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.02-42 - Perl 5.32 rebuild * Tue Mar 03 2020 Petr Pisar - 0.02-41 - Specify all dependencies * Thu Jan 30 2020 Fedora Release Engineering - 0.02-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.02-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.02-38 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.02-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.02-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.02-35 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.02-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.02-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.02-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.02-31 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.02-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.02-29 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.02-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.02-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.02-26 - Perl 5.22 rebuild * Tue Aug 26 2014 Jitka Plesnikova - 0.02-25 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.02-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.02-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.02-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.02-21 - Perl 5.18 rebuild * Sun Feb 17 2013 - Orion Poplawski - 0.02-20 - Add BR perl(ExtUtils::MakeMaker) * Thu Feb 14 2013 Fedora Release Engineering - 0.02-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.02-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 10 2012 Petr Pisar - 0.02-17 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.02-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 0.02-15 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.02-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 0.02-13 - 661697 rebuild for fixing problems with vendorach/lib * Tue May 04 2010 Marcela Maslanova - 0.02-12 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.02-11 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.02-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.02-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 0.02-8 Rebuild for new perl * Tue Feb 19 2008 Fedora Release Engineering - 0.02-7 - Autorebuild for GCC 4.3 * Thu Aug 23 2007 - Orion Poplawski - 0.02-6 - Add BR perl(Test::More) * Thu Aug 23 2007 - Orion Poplawski - 0.02-5 - Update license tag to GPL+ or Artistic - Rebuild for BuildID * Tue Aug 29 2006 - Orion Poplawski - 0.02-4 - Rebuild for FC6 * Mon Feb 27 2006 - Orion Poplawski - 0.02-3 - Rebuild for FC5 * Tue Oct 18 2005 Paul Howarth - 0.02-2 - Add Changes as %%doc - Fix directory ownership - Remove redundant BR: perl - Simplify compiler optimization - Tidy up %%description * Mon Oct 3 2005 - Orion Poplawski - 0.02-1 - Initial version