Compare commits
10 Commits
a56143be04
...
28bd0d2fef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28bd0d2fef | ||
|
|
438d01991a | ||
|
|
5435caaa40 | ||
|
|
485112adf3 | ||
|
|
081ace77b1 | ||
|
|
64f756f15e | ||
|
|
96a9018711 | ||
|
|
098d97ee4a | ||
|
|
0a03f0747b | ||
|
|
0cb0d84049 |
BIN
Net-CIDR-Lite-0.22.tar.gz
Normal file
BIN
Net-CIDR-Lite-0.22.tar.gz
Normal file
Binary file not shown.
58
perl-Net-CIDR-Lite.spec
Normal file
58
perl-Net-CIDR-Lite.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
Name: perl-Net-CIDR-Lite
|
||||||
|
Version: 0.22
|
||||||
|
Release: 2
|
||||||
|
Summary: Net::CIDR::Lite - Perl extension for merging IPv4 or IPv6 CIDR addresses
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/pod/Net::CIDR::Lite
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/S/ST/STIGTSP/Net-CIDR-Lite-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: coreutils findutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Carp) perl(strict) perl(Test) perl(Test::More) perl(Test::Pod) >= 1.00
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage) perl(vars)
|
||||||
|
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
Faster alternative to Net::CIDR when merging a large number of CIDR address ranges. Works for IPv4
|
||||||
|
and IPv6 addresses.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Help documents for %{name}
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Man pages and other help documents for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Net-CIDR-Lite-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist | xargs rm -rf
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README
|
||||||
|
%{perl_vendorlib}/Net/
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc Changes
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Nov 10 2022 liyanan <liyanan32@h-partners.com> - 0.22-2
|
||||||
|
- Change source
|
||||||
|
|
||||||
|
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.22-1
|
||||||
|
- Upgrade to version 0.22
|
||||||
|
|
||||||
|
* Sat Dec 21 2019 zhouyihang <zhouyihang1@huawei.com> - 0.21-23
|
||||||
|
- Package init
|
||||||
4
perl-Net-CIDR-Lite.yaml
Normal file
4
perl-Net-CIDR-Lite.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: metacpan
|
||||||
|
src_repo: Net-CIDR-Lite
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user