[perl-Plack/f13/master] Import.

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

 



commit 1f0a728c38d4b4ff3ec560ae4b503b404c786808
Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Mon Jan 3 06:20:25 2011 +0100

    Import.

 .gitignore      |    1 +
 perl-Plack.spec |  104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 106 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..478a373 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Plack-0.9959.tar.gz
diff --git a/perl-Plack.spec b/perl-Plack.spec
new file mode 100644
index 0000000..3e25b42
--- /dev/null
+++ b/perl-Plack.spec
@@ -0,0 +1,104 @@
+Name:           perl-Plack
+Version:        0.9959
+Release:        2%{?dist}
+Summary:        Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Plack/
+Source0:        http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Plack-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires:  perl(Devel::StackTrace) >= 1.23
+BuildRequires:  perl(Devel::StackTrace::AsHTML) >= 0.09
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::ShareDir) >= 1.00
+BuildRequires:  perl(Filesys::Notify::Simple)
+BuildRequires:  perl(Hash::MultiValue) >= 0.05
+BuildRequires:  perl(HTTP::Body) >= 1.06
+BuildRequires:  perl(LWP) >= 5.814
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Test::Requires)
+BuildRequires:  perl(Test::TCP) >= 0.11
+BuildRequires:  perl(Try::Tiny)
+BuildRequires:  perl(URI) >= 1.36
+
+# for improved tests
+BuildRequires:  perl(Authen::Simple::Passwd)
+BuildRequires:  perl(CGI::Emulate::PSGI)
+BuildRequires:  perl(FCGI)
+BuildRequires:  perl(FCGI::Client)
+BuildRequires:  perl(FCGI::ProcManager)
+BuildRequires:  perl(HTTP::Request::AsCGI)
+# Not yet in Fedora: BuildRequires:  perl(HTTP::Server::Simple::PSGI)
+BuildRequires:  perl(IO::Handle::Util)
+BuildRequires:  perl(Log::Dispatch::Array)
+BuildRequires:  perl(Log::Log4perl)
+BuildRequires:  perl(MIME::Types)
+BuildRequires:  perl(Module::Refresh)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Plack is a set of tools for using the PSGI stack. It contains middleware
+components, a reference server and utilities for Web application
+frameworks. Plack is like Ruby's Rack or Python's Paste for WSGI.
+
+%prep
+%setup -q -n Plack-%{version}
+
+%build
+# --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
+# missing modules
+%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{_bindir}/plackup
+%{_mandir}/man1/plackup.*
+%{perl_vendorlib}/Plack
+%{perl_vendorlib}/Plack.pm
+%{perl_vendorlib}/HTTP
+# Used by Plack/Test
+%{perl_vendorlib}/auto/*
+%exclude %{perl_vendorlib}/auto/share/dist/Plack/stuff..
+%exclude %{perl_vendorlib}/auto/share/dist/Plack/#foo
+# Abandoned/Unsupported in Fedora: Apache1
+%exclude %{perl_vendorlib}/Plack/Server/Apache1.pm
+%exclude %{perl_vendorlib}/Plack/Handler/Apache1.pm
+# Not yet in Fedora: Net::FastCGI
+%exclude %{perl_vendorlib}/Plack/Handler/Net
+%exclude %{perl_vendorlib}/Plack/Handler/Net/FastCGI.pm
+
+%{_mandir}/man3/*
+
+%changelog
+* Wed Dec 22 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 0.9959-2
+- Re-add %%{perl_vendorlib}/auto/*jpg (Used by Plack/Test).
+- Add BR: perl(Authen::Simple::Passwd).
+- Add BR: perl(CGI::Emulate::PSGI).
+
+* Wed Dec 22 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 0.9959-1
+- Update to 0.9959.
+
+* Tue Dec 21 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 0.9958-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..26e6b9d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bb07fdb9a02d182bf21a8d569a0e18b9  Plack-0.9959.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