2009-12-26 23:12:37 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-HTTP-Server-Simple
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-HTTP-Server-Simple
|
|
|
|
%define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
Summary: Lightweight HTTP server
|
|
|
|
Url: http://search.cpan.org/perldoc?HTTP::Server::Simple
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
2010-02-20 12:28:18 +00:00
|
|
|
Version: 0.42
|
2009-12-26 23:12:37 +00:00
|
|
|
Release: 1
|
|
|
|
Vendor: openSUSE-Education
|
|
|
|
Source: %{real_name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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 Net::Server classes to create forking, pre-forking, and
|
|
|
|
other types of more complicated servers; see "net_server".
|
|
|
|
|
|
|
|
Author:
|
|
|
|
-------
|
|
|
|
Jesse Vincent, <jesse@bestpractical.com>
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{real_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc Changes README MANIFEST
|
|
|
|
|
|
|
|
%changelog
|