2009-12-26 23:12:37 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-HTTP-Server-Simple
|
|
|
|
#
|
2012-02-10 12:40:46 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-11-18 08:33:51 +00:00
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
2009-12-26 23:12:37 +00:00
|
|
|
|
2011-11-18 08:33:51 +00:00
|
|
|
Name: perl-HTTP-Server-Simple
|
|
|
|
%define real_name HTTP-Server-Simple
|
|
|
|
Summary: Lightweight HTTP server
|
2012-02-10 12:40:46 +00:00
|
|
|
License: Artistic-1.0
|
2011-11-18 08:33:51 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-02-10 12:40:46 +00:00
|
|
|
Url: http://search.cpan.org/perldoc?HTTP::Server::Simple
|
2011-11-18 08:33:51 +00:00
|
|
|
Version: 0.44
|
2012-02-10 12:40:46 +00:00
|
|
|
Release: 0
|
2011-11-18 08:33:51 +00:00
|
|
|
Source: %{real_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:38:09 +00:00
|
|
|
%{perl_requires}
|
2009-12-26 23:12:37 +00:00
|
|
|
|
|
|
|
%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)
|
2011-04-04 18:23:24 +00:00
|
|
|
%doc Changes README MANIFEST SIGNATURE ex
|
2009-12-26 23:12:37 +00:00
|
|
|
|
2011-11-18 08:33:51 +00:00
|
|
|
%changelog
|