%define upstream_name IO-Socket-PortState %define upstream_version 0.03 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 9 Summary: Perl extension for checking the open or closed status of a port License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/modules/by-module/IO/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::Socket::INET) BuildArch: noarch %description You can use it to check if a port is open or closed for a given host and protocol. EXPORT None by default. But you can export check_ports(); %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Mar 20 2022 umeabot <umeabot> 0.30.0-9.mga9 + Revision: 1804142 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.30.0-8.mga8 + Revision: 1495160 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 0.30.0-7.mga7 + Revision: 1268832 - Mageia 7 Mass Rebuild * Sun Jun 19 2016 pterjan <pterjan> 0.30.0-6.mga6 + Revision: 1028781 - Rebuild for perl 5.22.2 * Mon Feb 08 2016 umeabot <umeabot> 0.30.0-5.mga6 + Revision: 946833 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.30.0-4.mga5 + Revision: 744627 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.30.0-3.mga5 + Revision: 685080 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 0.30.0-2.mga4 + Revision: 528430 - Mageia 4 Mass Rebuild * Wed Jun 19 2013 shlomif <shlomif> 0.30.0-1.mga4 + Revision: 445033 - imported package perl-IO-Socket-PortState * Wed Jun 19 2013 cpan2dist 0.03-1mga - initial mageia release, generated with cpan2dist