Name: perl-Net-NTP Version: 1.5 Release: 1 Summary: Lookup the username on the remote end of a TCP/IP connection License: Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-NTP/ Source0: https://cpan.metacpan.org/authors/id/A/AB/ABH/Net-NTP-1.5.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Socket) BuildRequires: perl(Test::More) Requires: perl(Carp) Requires: perl(Config) Requires: perl(Exporter) Requires: perl(Socket) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Perl extension for decoding NTP server responses %prep %setup -q -n Net-NTP-%{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 META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun May 02 2021 John Crisp 1.5-1-sme First import to contribs [SME: 11587]