commit 3d4379d890771e08fc7c3aeb593c2f06d6eb8594 Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Thu Apr 17 14:58:08 2014 +0200 Initial import. .gitignore | 1 + perl-Class-Forward.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 56 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..fec5479 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Class-Forward-0.100006.tar.gz diff --git a/perl-Class-Forward.spec b/perl-Class-Forward.spec new file mode 100644 index 0000000..8ca5161 --- /dev/null +++ b/perl-Class-Forward.spec @@ -0,0 +1,54 @@ +Name: perl-Class-Forward +Version: 0.100006 +Release: 2%{?dist} +Summary: Namespace Dispatch and Resolution +License: GPL+ or Artistic + +URL: http://search.cpan.org/dist/Class-Forward/ +Source0: http://www.cpan.org/authors/id/A/AW/AWNCORP/Class-Forward-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(FindBin) +BuildRequires: perl(Test::More) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Class::Forward is designed to resolve Perl namespaces from shorthand (which +is simply a file-path-like specification). Class::Forward can also be used +to dispatch method calls using said shorthand. See the included exported +functions for examples on how this can be used. + +%prep +%setup -q -n Class-Forward-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README README.mkdn +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Apr 16 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.100006-2 +- Take review comments into account (#1087986) + +* Sat Feb 08 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> 0.100006-1 +- Specfile autogenerated by cpanspec 1.78 and tweaked diff --git a/sources b/sources index e69de29..d14a760 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +23d52a816096055db04531f1a7a25e6e Class-Forward-0.100006.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel