File perl-Net-Http-Server.spec of Package perl-Net-Http-Server
#
# spec file for package perl-Net-Http-Server (Version 1.1.1)
#
# Copyright (c) 2008 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-Net-Http-Server
Summary: A simple perl Http Server
Version: 1.1.1
Release: 2
Group: Development/Libraries/Perl
License: LGPL v2.0 or later; Perl License, LGPLv2.1 or later
BuildRequires: perl perl-URI
Requires: perl = %{perl_version} perl-URI
Url: http://search.cpan.org/~reatmon/Net-HTTPServer-1.1.1/
Source: %{name}-%{version}.tar.bz2
Patch0: handlewidechar.patch
Patch1: escaped_characters.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Net::HTTPServer basically turns a CGI script into a stand alone server.
Useful for temporary services, mobile/local servers, or embedding an
HTTP server into another program.
Authors:
--------
Ryan Eatmon <reatmon@mail.com>
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
perl Makefile.PL
make
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README CHANGES MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/Net
%dir %{perl_vendorlib}/Net/HTTPServer
%{perl_vendorlib}/Net/*
%{perl_vendorarch}/auto/Net
/var/adm/perl-modules/%{name}
%changelog
* Mon Sep 15 2008 mmaier@suse.de
- added two patches
- http://rt.cpan.org/Public/Bug/Display.html?id=39220
- http://rt.cpan.org/Public/Bug/Display.html?id=24361
* Tue Sep 09 2008 mmaier@suse.de
- initial package version 1.1.1