[perl-Plack-Middleware-MethodOverride] Initial import.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 958ccbf634253106b1bf3eece1d823abe0f1ada3
Author: Emmanuel Seyman <emmanuel@xxxxxxxxx>
Date:   Fri Dec 5 07:28:18 2014 +0100

    Initial import.

 .gitignore                                |    1 +
 perl-Plack-Middleware-MethodOverride.spec |   59 +++++++++++++++++++++++++++++
 sources                                   |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3e401e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Plack-Middleware-MethodOverride-0.10.tar.gz
diff --git a/perl-Plack-Middleware-MethodOverride.spec b/perl-Plack-Middleware-MethodOverride.spec
new file mode 100644
index 0000000..bf010ad
--- /dev/null
+++ b/perl-Plack-Middleware-MethodOverride.spec
@@ -0,0 +1,59 @@
+Name:           perl-Plack-Middleware-MethodOverride
+Version:        0.10
+Release:        2%{?dist}
+Summary:        Override REST methods to Plack apps via POST
+License:        GPL+ or Artistic
+
+URL:            http://search.cpan.org/dist/Plack-Middleware-MethodOverride/
+Source0:        http://www.cpan.org/authors/id/D/DW/DWHEELER/Plack-Middleware-MethodOverride-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Plack) >= 0.9929
+BuildRequires:  perl(Plack::Middleware)
+BuildRequires:  perl(Plack::Test)
+BuildRequires:  perl(Test::More) >= 0.70
+BuildRequires:  perl(Test::Pod) >= 1.41
+BuildRequires:  perl(URI)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This Plack middleware allows your apps to override any HTTP method over POST.
+Specifically, you can provide a query parameter named "x-tunneled-method"
+or a header named "x-http-method-override" (as used by Google's APIs).
+Either way, the overriding works only via POST requests, not GET.
+
+%prep
+%setup -q -n Plack-Middleware-MethodOverride-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes README.md
+%{perl_vendorlib}/Plack*
+%{_mandir}/man3/Plack*
+
+%changelog
+* Thu Dec 04 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.10-2
+- Remove BRs perl(Test::Builder) and perl(Test::Pod::Coverage)
+  as they are not used (#1169358)
+
+* Sat Nov 29 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> 0.10-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..987e836 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+844aa657234b3aeb44870a326356955d  Plack-Middleware-MethodOverride-0.10.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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux