102 lines
3.3 KiB
RPMSpec
102 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package perl-Apache-Test
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Apache-Test
|
|
Name: perl-Apache-Test
|
|
Version: 1.430.0
|
|
Release: 0
|
|
# 1.43 -> normalize -> 1.430.0
|
|
%define cpan_version 1.43
|
|
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
|
License: Apache-2.0
|
|
Summary: Test.pm wrapper with helpers for testing Apache
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
Patch0: fix-provides.diff
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
#BuildRequires: perl(Win32::Process)
|
|
#Requires: perl(Win32::Process)
|
|
Provides: perl(Apache::Test) = %{version}
|
|
Provides: perl(Apache::Test5005compat) = 0.10.0
|
|
Provides: perl(Apache::TestBuild)
|
|
Provides: perl(Apache::TestClient)
|
|
Provides: perl(Apache::TestClientResponse)
|
|
Provides: perl(Apache::TestCommon)
|
|
Provides: perl(Apache::TestCommonPost)
|
|
Provides: perl(Apache::TestConfig)
|
|
Provides: perl(Apache::TestConfigC)
|
|
Provides: perl(Apache::TestConfigPHP)
|
|
Provides: perl(Apache::TestConfigParrot)
|
|
Provides: perl(Apache::TestHandler)
|
|
Provides: perl(Apache::TestHarness)
|
|
Provides: perl(Apache::TestHarnessPHP)
|
|
Provides: perl(Apache::TestMB)
|
|
Provides: perl(Apache::TestMM)
|
|
Provides: perl(Apache::TestReport)
|
|
Provides: perl(Apache::TestReportPerl)
|
|
Provides: perl(Apache::TestRequest)
|
|
Provides: perl(Apache::TestRun)
|
|
Provides: perl(Apache::TestRunPHP) = 1.0.0
|
|
Provides: perl(Apache::TestRunParrot) = 1.0.0
|
|
Provides: perl(Apache::TestRunPerl) = 1.0.0
|
|
Provides: perl(Apache::TestSSLCA)
|
|
Provides: perl(Apache::TestServer)
|
|
Provides: perl(Apache::TestSmoke)
|
|
Provides: perl(Apache::TestSmokePerl)
|
|
Provides: perl(Apache::TestSort)
|
|
Provides: perl(Apache::TestToString)
|
|
Provides: perl(Apache::TestTrace) = 0.10.0
|
|
Provides: perl(Apache::TestUtil) = 0.20.0
|
|
Provides: perl(Bundle::ApacheTest) = 0.20.0
|
|
#Provides: perl(HTTP::Request::Common)
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
# MANUAL BEGIN
|
|
BuildRequires: netcfg
|
|
Requires: netcfg
|
|
# MANUAL END
|
|
|
|
%description
|
|
*Apache::Test* is a wrapper around the standard 'Test.pm' with helpers for
|
|
testing an Apache server.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes CONTRIBUTORS README SUPPORT ToDo
|
|
%license LICENSE
|
|
|
|
%changelog
|