[perl-Plack-Middleware-ReverseProxy] initial import (rhbz#734164)

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

 



commit cd7a0b6dd39cb8d7b97a8afec779b7a9a978c6a3
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Tue Aug 30 17:40:37 2011 +0200

    initial import (rhbz#734164)

 .gitignore                              |    1 +
 perl-Plack-Middleware-ReverseProxy.spec |   52 +++++++++++++++++++++++++++++++
 sources                                 |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..58e0bf2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Plack-Middleware-ReverseProxy-0.10.tar.gz
diff --git a/perl-Plack-Middleware-ReverseProxy.spec b/perl-Plack-Middleware-ReverseProxy.spec
new file mode 100644
index 0000000..7291496
--- /dev/null
+++ b/perl-Plack-Middleware-ReverseProxy.spec
@@ -0,0 +1,52 @@
+Name:           perl-Plack-Middleware-ReverseProxy
+Version:        0.10
+Release:        1%{?dist}
+Summary:        Supports app to run as a reverse proxy backend
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Plack-Middleware-ReverseProxy/
+Source0:        http://www.cpan.org/authors/id/D/DA/DANJOU/Plack-Middleware-ReverseProxy-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Filter::Util::Call)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Plack::Middleware)
+BuildRequires:  perl(Plack::Request)
+BuildRequires:  perl(YAML)
+Requires:       perl(Plack::Middleware)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Plack::Middleware::ReverseProxy resets some HTTP headers, which changed by
+reverse-proxy. You can specify the reverse proxy address and stop fake
+requests using 'enable_if' directive in your app.psgi.
+
+%prep
+%setup -q -n Plack-Middleware-ReverseProxy-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Aug 29 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.10-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..75b3d68 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9473223e9b2415611f3e11b9e02eaa8f  Plack-Middleware-ReverseProxy-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