100 lines
3.3 KiB
RPMSpec
100 lines
3.3 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-Perlbal
|
||
|
#
|
||
|
# Copyright (c) 2011 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-Perlbal
|
||
|
Version: 1.79
|
||
|
Release: 0
|
||
|
%define cpan_name Perlbal
|
||
|
Summary: Reverse-proxy load balancer and webserver
|
||
|
License: GPL-1.0+ or Artistic-1.0
|
||
|
Group: Development/Libraries/Perl
|
||
|
Url: http://search.cpan.org/dist/Perlbal/
|
||
|
Source: http://www.cpan.org/authors/id/D/DO/DORMANDO/%{cpan_name}-%{version}.tar.gz
|
||
|
BuildArch: noarch
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildRequires: perl
|
||
|
BuildRequires: perl(BSD::Resource)
|
||
|
BuildRequires: perl(Danga::Socket) >= 1.44
|
||
|
BuildRequires: perl(HTTP::Date)
|
||
|
BuildRequires: perl(HTTP::Response)
|
||
|
BuildRequires: perl(LWP::UserAgent)
|
||
|
BuildRequires: perl(Sys::Syscall)
|
||
|
BuildRequires: perl-macros
|
||
|
#BuildRequires: perl(between)
|
||
|
#BuildRequires: perl(HTTP::Request)
|
||
|
#BuildRequires: perl(IO::Socket::INET6)
|
||
|
#BuildRequires: perl(IO::Socket::SSL) >= 0.98
|
||
|
#BuildRequires: perl(LWP)
|
||
|
#BuildRequires: perl(Net::Netmask)
|
||
|
#BuildRequires: perl(Perlbal)
|
||
|
#BuildRequires: perl(Perlbal::AIO)
|
||
|
#BuildRequires: perl(Perlbal::BackendHTTP)
|
||
|
#BuildRequires: perl(Perlbal::Cache)
|
||
|
#BuildRequires: perl(Perlbal::ChunkedUploadState)
|
||
|
#BuildRequires: perl(Perlbal::ClientHTTP)
|
||
|
#BuildRequires: perl(Perlbal::ClientHTTPBase)
|
||
|
#BuildRequires: perl(Perlbal::ClientManage)
|
||
|
#BuildRequires: perl(Perlbal::ClientProxy)
|
||
|
#BuildRequires: perl(Perlbal::CommandContext)
|
||
|
#BuildRequires: perl(Perlbal::HTTPHeaders)
|
||
|
#BuildRequires: perl(Perlbal::ManageCommand)
|
||
|
#BuildRequires: perl(Perlbal::Pool)
|
||
|
#BuildRequires: perl(Perlbal::ReproxyManager)
|
||
|
#BuildRequires: perl(Perlbal::Service)
|
||
|
#BuildRequires: perl(Perlbal::Socket)
|
||
|
#BuildRequires: perl(Perlbal::SocketSSL)
|
||
|
#BuildRequires: perl(Perlbal::TCPListener)
|
||
|
#BuildRequires: perl(Perlbal::Test)
|
||
|
#BuildRequires: perl(Perlbal::Test::WebClient)
|
||
|
#BuildRequires: perl(Perlbal::Test::WebServer)
|
||
|
#BuildRequires: perl(Perlbal::UploadListener)
|
||
|
#BuildRequires: perl(Perlbal::Util)
|
||
|
#BuildRequires: perl(pidfile)
|
||
|
#BuildRequires: perl(URI)
|
||
|
Requires: perl(BSD::Resource)
|
||
|
Requires: perl(Danga::Socket) >= 1.44
|
||
|
Requires: perl(HTTP::Date)
|
||
|
Requires: perl(HTTP::Response)
|
||
|
Requires: perl(LWP::UserAgent)
|
||
|
Requires: perl(Sys::Syscall)
|
||
|
%{perl_requires}
|
||
|
|
||
|
%description
|
||
|
Reverse-proxy load balancer and webserver
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{cpan_name}-%{version}
|
||
|
find . -type f -print0 | xargs -0 chmod 644
|
||
|
|
||
|
%build
|
||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||
|
%{__make} %{?_smp_mflags}
|
||
|
|
||
|
%check
|
||
|
%{__make} test
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
%perl_gen_filelist
|
||
|
|
||
|
%files -f %{name}.files
|
||
|
%defattr(-,root,root,755)
|
||
|
%doc CHANGES CONTRIBUTING doc perlbal README
|
||
|
|
||
|
%changelog
|