Name: perl-Net-Works Version: 0.22 Release: 2%{?dist} Summary: Sane APIs for IP addresses and networks License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-Works/ Source0: http://www.cpan.org/authors/id/M/MA/MAXMIND/Net-Works-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.010 BuildRequires: perl(B) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(integer) BuildRequires: perl(List::AllUtils) BuildRequires: perl(Math::BigInt) BuildRequires: perl(Math::Int64) >= 0.54 BuildRequires: perl(Math::Int128) >= 0.06 BuildRequires: perl(Moo) BuildRequires: perl(Moo::Role) BuildRequires: perl(namespace::autoclean) >= 0.16 BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Socket) >= 1.99 BuildRequires: perl(strict) BuildRequires: perl(Sub::Quote) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(warnings) BuildRequires: perl-generators Requires: perl(Carp) Requires: perl(Exporter) Requires: perl(integer) Requires: perl(List::AllUtils) Requires: perl(Math::Int128) >= 0.06 Requires: perl(Moo) Requires: perl(Moo::Role) Requires: perl(namespace::autoclean) >= 0.16 Requires: perl(overload) Requires: perl(Scalar::Util) Requires: perl(Socket) >= 1.99 Requires: perl(strict) Requires: perl(Sub::Quote) Requires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) provides: perl(Net::Works) = %{version} provides: perl(Net::Works) = %{version} provides: perl(Net::Works::Address) = %{version} provides: perl(Net::Works::Network) = %{version} provides: perl(Net::Works::Role::IP) = %{version} provides: perl(Net::Works::Types) = %{version} provides: perl(Net::Works::Util) = %{version} %description The NetAddr::IP module is very complete, correct, and useful. However, its API design is a bit crufty. This distro provides an alternative API that aims to address the biggest problems with that module's API, as well as adding some additional features. %prep %setup -q -n Net-Works-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor 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 -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes cpanfile dist.ini LICENSE META.json perlcriticrc perltidyrc README.md tidyall.ini %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jul 23 2020 Greg Wildman 0.22-2 - Specfile autogenerated by cpanspec 1.78.