[perl-Starman] Initial import.
Emmanuel Seyman
eseyman at fedoraproject.org
Thu Jul 7 13:42:10 UTC 2011
commit d052a7c9106bcf4e9ca2edd13781086c8451bed6
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date: Thu Jul 7 15:41:58 2011 +0200
Initial import.
.gitignore | 1 +
perl-Starman.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..588f3c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Starman-0.2013.tar.gz
diff --git a/perl-Starman.spec b/perl-Starman.spec
new file mode 100644
index 0000000..a365aa9
--- /dev/null
+++ b/perl-Starman.spec
@@ -0,0 +1,64 @@
+Name: perl-Starman
+Version: 0.2013
+Release: 2%{?dist}
+Summary: High-performance preforking PSGI/Plack web server
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Starman/
+Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Starman-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Data::Dump)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(HTTP::Date)
+BuildRequires: perl(HTTP::Parser::XS)
+BuildRequires: perl(HTTP::Status)
+BuildRequires: perl(Net::Server)
+BuildRequires: perl(Net::Server::SS::PreFork)
+BuildRequires: perl(parent)
+BuildRequires: perl(Plack)
+BuildRequires: perl(Server::Starter)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Requires)
+BuildRequires: perl(Test::TCP)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Starman is a PSGI perl web server that has unique features such as high
+performance, preforking, use of signals and a small memory footprint. It is PSGI
+compatible and offers HTTP/1.1 support.
+
+%prep
+%setup -q -n Starman-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+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
+
+%files
+%doc Changes README
+%{perl_vendorlib}/HTTP
+%{perl_vendorlib}/Plack
+%{perl_vendorlib}/Starman
+%{perl_vendorlib}/Starman.pm
+%{_bindir}/starman
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jul 07 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> 0.2013-2
+- Change the files stanza to be more explicit
+
+* Fri Jun 17 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> 0.2013-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..5b423fa 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+302a9955f8721a5a26f04e7d562f683c Starman-0.2013.tar.gz
More information about the scm-commits
mailing list