2024-07-27 21:44:56 +00:00
committed by Git OBS Bridge
parent 78f43549ef
commit c28b18f99d

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Perlbal # spec file for package perl-Perlbal
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Perlbal
Version: 1.80
Release: 0
%define cpan_name Perlbal %define cpan_name Perlbal
Name: perl-Perlbal
Version: 1.800.0
Release: 0
# 1.80 -> normalize -> 1.800.0
%define cpan_version 1.80
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Reverse-proxy load balancer and webserver Summary: Reverse-proxy load balancer and webserver
License: GPL-1.0+ or Artistic-1.0 URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/D/DO/DORMANDO/%{cpan_name}-%{cpan_version}.tar.gz
Url: http://search.cpan.org/dist/Perlbal/
Source: http://www.cpan.org/authors/id/D/DO/DORMANDO/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(BSD::Resource) BuildRequires: perl(BSD::Resource)
BuildRequires: perl(Danga::Socket) >= 1.44 BuildRequires: perl(Danga::Socket) >= 1.440
BuildRequires: perl(HTTP::Date) BuildRequires: perl(HTTP::Date)
BuildRequires: perl(HTTP::Request) BuildRequires: perl(HTTP::Request)
BuildRequires: perl(HTTP::Response) BuildRequires: perl(HTTP::Response)
@@ -38,28 +38,81 @@ BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Sys::Syscall) BuildRequires: perl(Sys::Syscall)
BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Test::More) >= 0.94
Requires: perl(BSD::Resource) Requires: perl(BSD::Resource)
Requires: perl(Danga::Socket) >= 1.44 Requires: perl(Danga::Socket) >= 1.440
Requires: perl(HTTP::Date) Requires: perl(HTTP::Date)
Requires: perl(HTTP::Request) Requires: perl(HTTP::Request)
Requires: perl(HTTP::Response) Requires: perl(HTTP::Response)
Requires: perl(LWP::UserAgent) Requires: perl(LWP::UserAgent)
Requires: perl(Sys::Syscall) Requires: perl(Sys::Syscall)
Requires: perl(Test::More) >= 0.94 Requires: perl(Test::More) >= 0.94
Provides: perl(PalImg)
Provides: perl(PaletteModify)
Provides: perl(Perlbal) = %{version}
Provides: perl(Perlbal::AIO)
Provides: perl(Perlbal::BackendHTTP)
Provides: perl(Perlbal::Cache) = 1.0.0
Provides: perl(Perlbal::ChunkedUploadState)
Provides: perl(Perlbal::ClientHTTP)
Provides: perl(Perlbal::ClientHTTPBase)
Provides: perl(Perlbal::ClientManage)
Provides: perl(Perlbal::ClientProxy)
Provides: perl(Perlbal::CommandContext)
Provides: perl(Perlbal::Fields)
Provides: perl(Perlbal::HTTPHeaders)
Provides: perl(Perlbal::ManageCommand)
Provides: perl(Perlbal::Plugin::AccessControl)
Provides: perl(Perlbal::Plugin::AutoRemoveLeadingDir)
Provides: perl(Perlbal::Plugin::Cgilike)
Provides: perl(Perlbal::Plugin::Cgilike::Request)
Provides: perl(Perlbal::Plugin::EchoService)
Provides: perl(Perlbal::Plugin::EchoService::Client)
Provides: perl(Perlbal::Plugin::FlvStreaming)
Provides: perl(Perlbal::Plugin::Highpri)
Provides: perl(Perlbal::Plugin::Include)
Provides: perl(Perlbal::Plugin::LazyCDN)
Provides: perl(Perlbal::Plugin::MaxContentLength)
Provides: perl(Perlbal::Plugin::NotModified)
Provides: perl(Perlbal::Plugin::Palimg)
Provides: perl(Perlbal::Plugin::Queues)
Provides: perl(Perlbal::Plugin::Redirect)
Provides: perl(Perlbal::Plugin::Stats)
Provides: perl(Perlbal::Plugin::Stats::Storage)
Provides: perl(Perlbal::Plugin::Throttle) = 1.200.0
Provides: perl(Perlbal::Plugin::Throttle::Store)
Provides: perl(Perlbal::Plugin::Throttle::Store::Memcached)
Provides: perl(Perlbal::Plugin::Throttle::Store::Memory)
Provides: perl(Perlbal::Plugin::Vhosts)
Provides: perl(Perlbal::Plugin::Vpaths)
Provides: perl(Perlbal::Plugin::XFFExtras)
Provides: perl(Perlbal::Pool)
Provides: perl(Perlbal::ReproxyManager)
Provides: perl(Perlbal::Service)
Provides: perl(Perlbal::Socket)
Provides: perl(Perlbal::SocketSSL)
Provides: perl(Perlbal::SocketSSL2)
Provides: perl(Perlbal::TCPListener)
Provides: perl(Perlbal::Test)
Provides: perl(Perlbal::Test::WebClient)
Provides: perl(Perlbal::Test::WebServer)
Provides: perl(Perlbal::UploadListener)
Provides: perl(Perlbal::Util)
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
Reverse-proxy load balancer and webserver Reverse-proxy load balancer and webserver
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@@ -67,7 +120,6 @@ find . -type f -print0 | xargs -0 chmod 644
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc CHANGES CONTRIBUTING doc perlbal README %doc CHANGES CONTRIBUTING doc perlbal README
%changelog %changelog