[perl-Method-Signatures-Simple] Initial import (#1168673)

Petr Šabata psabata at fedoraproject.org
Mon Dec 1 14:31:13 UTC 2014


commit 53a1443b6d814ab8bab761a758d4a15bba340ce6
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Dec 1 15:31:06 2014 +0100

    Initial import (#1168673)

 .gitignore                         |    1 +
 perl-Method-Signatures-Simple.spec |   51 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bf39e63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Method-Signatures-Simple-1.07.tar.gz
diff --git a/perl-Method-Signatures-Simple.spec b/perl-Method-Signatures-Simple.spec
new file mode 100644
index 0000000..1444e34
--- /dev/null
+++ b/perl-Method-Signatures-Simple.spec
@@ -0,0 +1,51 @@
+Name:           perl-Method-Signatures-Simple
+Version:        1.07
+Release:        1%{?dist}
+Summary:        Basic method declarations with signatures, without source filters
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Method-Signatures-Simple/
+Source0:        http://www.cpan.org/authors/id/R/RH/RHESA/Method-Signatures-Simple-%{version}.tar.gz
+BuildArch:      noarch
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(base)
+BuildRequires:  perl(Devel::Declare::MethodInstaller::Simple)
+# Tests only
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+
+%description
+This module provides basic method and func keywords with simple
+signatures. It's intentionally simple, and is supposed to be a
+stepping stone for its bigger brothers MooseX::Method::Signatures and
+Method::Signatures.  It only has a small benefit over regular subs,
+so if you want more features, look at those modules.  But if you're
+looking for a small amount of syntactic sugar, this might just be enough.
+
+%prep
+%setup -q -n Method-Signatures-Simple-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Nov 27 2014 Petr Šabata <contyk at redhat.com> 1.07-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..f6dcc9c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+53b315b6debda04b31e9323ff227999b  Method-Signatures-Simple-1.07.tar.gz


More information about the scm-commits mailing list