>From b4b6061b000140648a9b1763a03cba55ee5ab581 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Tue, 14 Apr 2015 00:02:18 +0200 Subject: Initial import diff --git a/.gitignore b/.gitignore index e69de29..6ba1525 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Mojolicious-Plugin-CHI-0.11.tar.gz diff --git a/perl-Mojolicious-Plugin-CHI.spec b/perl-Mojolicious-Plugin-CHI.spec new file mode 100644 index 0000000..9e08b0c --- /dev/null +++ b/perl-Mojolicious-Plugin-CHI.spec @@ -0,0 +1,65 @@ +Name: perl-Mojolicious-Plugin-CHI +Version: 0.11 +Release: 2%{?dist} +Summary: Use CHI Caches in Mojolicious +License: Artistic 2.0 + +URL: http://search.cpan.org/dist/Mojolicious-Plugin-CHI/ +Source0: http://www.cpan.org/authors/id/A/AK/AKRON/Mojolicious-Plugin-CHI-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(CHI) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(Mojolicious) >= 4.77 +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(lib) +BuildRequires: perl(Mojo::Base) +BuildRequires: perl(Mojo::Util) +BuildRequires: perl(Mojolicious::Lite) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Mojo) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Output) >= 1 +BuildRequires: perl(warnings) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Mojolicious::Plugin::CHI is a simple plugin to work with CHI caches within +Mojolicious. + +%prep +%setup -q -n Mojolicious-Plugin-CHI-%{version} +find lib -type f -exec chmod -c -x {} ';' +chmod -c -x Changes LICENSE + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes +%license LICENSE +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Apr 10 2015 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.11-2 +- Fix rights on source file, per review (#1210610) + +* Mon Feb 23 2015 Emmanuel Seyman <emmanuel@xxxxxxxxx> 0.11-1 +- Specfile created, based on the one autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ad27f20 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7bcbb11915e5ad970da2b3eec5f5c764 Mojolicious-Plugin-CHI-0.11.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Mojolicious-Plugin-CHI.git/commit/?h=master&id=b4b6061b000140648a9b1763a03cba55ee5ab581 -- 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