File perl-HTTP-Server-Simple.spec of Package perl-HTTP-Server-Simple

#
# spec file for package perl-HTTP-Server-Simple
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#


Name:           perl-HTTP-Server-Simple
%define real_name HTTP-Server-Simple
Summary:        Lightweight HTTP server
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/perldoc?HTTP::Server::Simple
Version:        0.44
Release:        0
Source:         %{real_name}-%{version}.tar.gz
BuildRequires:  perl-macros
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}

%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 SIGNATURE ex

%changelog