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 1.07-1 - Initial packaging