File Perlbal.spec of Package Perlbal
#
# spec file for package Perlbal (Version 1.70)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: Perlbal
Version: 1.70
Release: 0
Requires: perl = %{perl_version}
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
URL: http://www.danga.com/perlbal/
Summary: Reverse-proxy load balancer and webserver
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl(Danga::Socket) >= 1.44
BuildRequires: perl(Sys::Syscall)
BuildRequires: perl(BSD::Resource)
BuildRequires: perl(HTTP::Date)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(Test::More)
BuildRequires: perl(File::Find)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(IO::AIO) >= 1.6
BuildRequires: perl-libwww-perl
# Fix HTTP:: alternatives
Requires: perl(Danga::Socket) >= 1.44
Requires: perl(Sys::Syscall)
Requires: perl(BSD::Resource)
Requires: perl(HTTP::Date)
Requires: perl(HTTP::Response)
Requires: perl(Test::More)
Requires: perl(File::Find)
Requires: perl(Time::HiRes)
Requires: perl(IO::AIO) >= 1.6
Requires: perl-libwww-perl
# Fix HTTP:: alternatives
%description
Perlbal is a single-threaded event-based server supporting HTTP load balancing, web serving, and a mix of the two
%prep
%setup -q
%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 CHANGES
%doc %{_mandir}/man?/*
%{_bindir}/*
%{perl_vendorarch}/auto/Perlbal
%{perl_vendorlib}/Perlbal*
/var/adm/perl-modules/*
%changelog
* Sun Aug 3 2008 pzb@novell.com
- New package