[perl-IO-Socket-PortState] Initial import (#974077)

Miro Hrončok churchyard at fedoraproject.org
Thu Jun 13 14:42:56 UTC 2013


commit 8572562e65a18aab164df0b71a86dc6313584339
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Thu Jun 13 16:42:19 2013 +0200

    Initial import (#974077)

 .gitignore                    |    1 +
 perl-IO-Socket-PortState.spec |   49 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2ebbaa7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/IO-Socket-PortState-0.03.tar.gz
diff --git a/perl-IO-Socket-PortState.spec b/perl-IO-Socket-PortState.spec
new file mode 100644
index 0000000..0f77a62
--- /dev/null
+++ b/perl-IO-Socket-PortState.spec
@@ -0,0 +1,49 @@
+Name:           perl-IO-Socket-PortState
+Version:        0.03
+Release:        2%{?dist}
+Summary:        Perl extension for checking the open or closed status of a port
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/IO-Socket-PortState/
+Source0:        http://www.cpan.org/authors/id/D/DM/DMUEY/IO-Socket-PortState-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+You can use it to check if a port is open or closed for a given host
+and protocol.
+
+%prep
+%setup -q -n IO-Socket-PortState-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jun 13 2013 Miro Hrončok <mhroncok at redhat.com> - 0.03-2
+- Adding missing BRs, as suggested by package reviewer (#974077)
+
+* Thu Jun 13 2013 Miro Hrončok <mhroncok at redhat.com> 0.03-1
+- Specfile autogenerated by cpanspec 1.78 and revised
diff --git a/sources b/sources
index e69de29..5ee325f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ba82446a68380e8bd79ab49a5948d6c1  IO-Socket-PortState-0.03.tar.gz


More information about the scm-commits mailing list