Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl
perl-Starman
perl-Starman.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Starman.spec of Package perl-Starman
# # spec file for package perl-Starman # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name Starman Name: perl-Starman Version: 0.4017 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: High-performance preforking PSGI/Plack web server URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Dump) BuildRequires: perl(HTTP::Date) BuildRequires: perl(HTTP::Parser::XS) BuildRequires: perl(HTTP::Status) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Module::Build::Tiny) >= 0.034 BuildRequires: perl(Net::Server) >= 2.007 BuildRequires: perl(Plack) >= 0.9971 BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::TCP) >= 2.00 BuildRequires: perl(parent) Requires: perl(Data::Dump) Requires: perl(HTTP::Date) Requires: perl(HTTP::Parser::XS) Requires: perl(HTTP::Status) Requires: perl(Net::Server) >= 2.007 Requires: perl(Plack) >= 0.9971 Requires: perl(Test::TCP) >= 2.00 Requires: perl(parent) %{perl_requires} %description Starman is a PSGI perl web server that has unique features such as: * High Performance Uses the fast XS/C HTTP header parser * Preforking Spawns workers preforked like most high performance UNIX servers do. Starman also reaps dead children and automatically restarts the worker pool. * Signals Supports 'HUP' for graceful worker restarts, and 'TTIN'/'TTOU' to dynamically increase or decrease the number of worker processes, as well as 'QUIT' to gracefully shutdown the worker processes. * Superdaemon aware Supports Server::Starter for hot deploy and graceful restarts. * Multiple interfaces and UNIX Domain Socket support Able to listen on multiple interfaces including UNIX sockets. * Small memory footprint Preloading the applications with '--preload-app' command line option enables copy-on-write friendly memory management. Also, the minimum memory usage Starman requires for the master process is 7MB and children (workers) is less than 3.0MB. * PSGI compatible Can run any PSGI applications and frameworks * HTTP/1.1 support Supports chunked requests and responses, keep-alive and pipeline requests. * UNIX only This server does not support Win32. %prep %autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Build.PL --installdirs=vendor ./Build build --flags=%{?_smp_mflags} %check ./Build test %install ./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %doc Changes README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor