# # - HTTP-Server-Simple - # This spec file was automatically generated by cpan2rpm [ver: 2.028] # The following arguments were used: # --keep-pipes HTTP-Server-Simple 2>&1 # For more information on cpan2rpm please visit: http://perl.arix.com/ # %define pkgname HTTP-Server-Simple %define filelist %{pkgname}-%{version}-filelist %define NVR %{pkgname}-%{version}-%{release} %define maketest 1 name: perl-HTTP-Server-Simple summary: HTTP-Server-Simple - Lightweight HTTP server version: 0.44 release: 1 vendor: Jesse Vincent packager: Arix International license: Artistic group: Applications/CPAN url: http://www.cpan.org buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n) buildarch: noarch prefix: %(echo %{_prefix}) source: http://search.cpan.org//CPAN/authors/id/J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz %description This is a simple standalone HTTP server. By default, it doesn't thread or fork. It does, however, act as a simple frontend which can be used to build a standalone web-based application or turn a CGI into one. It is possible to use the Net::Server manpage classes to create forking, pre-forking, and other types of more complicated servers; see the net_server entry elsewhere in this document. By default, the server traps a few signals: =over =item HUP When you `kill -HUP' the server, it lets the current request finish being processed, then uses the `restart' method to re-exec itself. Please note that in order to provide restart-on-SIGHUP, HTTP::Server::Simple sets a SIGHUP handler during initialisation. If your request handling code forks you need to make sure you reset this or unexpected things will happen if somebody sends a HUP to all running processes spawned by your app (e.g. by "kill -HUP