>From 5e0d22f0236c2a8e8ba4a53ae244abaf26643789 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Tue, 14 Apr 2015 00:31:30 +0200 Subject: Initial import diff --git a/.gitignore b/.gitignore index e69de29..50ee1d8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Mojolicious-Plugin-RenderFile-0.09.tar.gz diff --git a/perl-Mojolicious-Plugin-RenderFile.spec b/perl-Mojolicious-Plugin-RenderFile.spec new file mode 100644 index 0000000..00b6020 --- /dev/null +++ b/perl-Mojolicious-Plugin-RenderFile.spec @@ -0,0 +1,60 @@ +Name: perl-Mojolicious-Plugin-RenderFile +Version: 0.09 +Release: 2%{?dist} +Summary: Mojolicious plugin allowing customization to force file download +# See lib/Mojolicious/Plugin/RenderFile.pm +License: GPL+ or Artistic + +URL: http://search.cpan.org/dist/Mojolicious-Plugin-RenderFile/ +Source0: http://www.cpan.org/authors/id/K/KO/KOORCHIK/Mojolicious-Plugin-RenderFile-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Encode) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(lib) +BuildRequires: perl(Mojo::Base) +BuildRequires: perl(Mojo::Util) +BuildRequires: perl(Mojolicious::Lite) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Mojo) +BuildRequires: perl(Test::More) +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Mojolicious::Plugin::RenderFile is a Mojolicious plugin that makes it +easy to provide files for download. It also allows customization of +the HTTP headers sent to the client. + +%prep +%setup -q -n Mojolicious-Plugin-RenderFile-%{version} + +%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 +%{perl_vendorlib}/Mojolicious* +%{_mandir}/man3/Mojolicious* + +%changelog +* Mon Apr 13 2015 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.09-2 +- Clarify summary and description, per package review (#1210612) + +* Sun Apr 05 2015 Emmanuel Seyman <emmanuel@xxxxxxxxx> 0.09-1 +- Specfile created, based on the one autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..d6eedcd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ead82a600802eff236cf9c795babd1e8 Mojolicious-Plugin-RenderFile-0.09.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Mojolicious-Plugin-RenderFile.git/commit/?h=f22&id=5e0d22f0236c2a8e8ba4a53ae244abaf26643789 -- 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