2015-02-05 15:14:35 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Webinject-Gui
|
|
|
|
#
|
2024-08-05 20:05:01 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2015-02-05 15:14:35 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-10-29 08:37:41 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-02-05 15:14:35 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-08-05 20:05:01 +00:00
|
|
|
%define cpan_name Webinject-Gui
|
2015-02-05 15:14:35 +00:00
|
|
|
Name: perl-Webinject-Gui
|
2024-08-05 20:05:01 +00:00
|
|
|
Version: 1.560.0
|
2015-02-05 15:14:35 +00:00
|
|
|
Release: 0
|
2024-08-05 20:05:01 +00:00
|
|
|
# 1.56 -> normalize -> 1.560.0
|
|
|
|
%define cpan_version 1.56
|
2019-10-29 08:37:41 +00:00
|
|
|
License: GPL-2.0-or-later
|
2024-08-05 20:05:01 +00:00
|
|
|
Summary: Gui part of Webinject
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/N/NI/NIERLEIN/%{cpan_name}-%{cpan_version}.tar.gz
|
2019-10-29 08:37:41 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:18:25 +02:00
|
|
|
Source100: README.md
|
2015-02-05 15:14:35 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2024-08-05 20:05:01 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
2015-02-05 15:14:35 +00:00
|
|
|
BuildRequires: perl(Tk)
|
|
|
|
BuildRequires: perl(Tk::Compound)
|
|
|
|
BuildRequires: perl(Tk::NoteBook)
|
|
|
|
BuildRequires: perl(Tk::PNG)
|
|
|
|
BuildRequires: perl(Tk::ProgressBar::Mac)
|
|
|
|
BuildRequires: perl(Tk::ROText)
|
|
|
|
BuildRequires: perl(Tk::Stderr)
|
2024-08-05 20:05:01 +00:00
|
|
|
BuildRequires: perl(Webinject) >= 1.500
|
2015-02-05 15:14:35 +00:00
|
|
|
Requires: perl(Tk)
|
|
|
|
Requires: perl(Tk::Compound)
|
|
|
|
Requires: perl(Tk::NoteBook)
|
|
|
|
Requires: perl(Tk::PNG)
|
|
|
|
Requires: perl(Tk::ProgressBar::Mac)
|
|
|
|
Requires: perl(Tk::ROText)
|
|
|
|
Requires: perl(Tk::Stderr)
|
2024-08-05 20:05:01 +00:00
|
|
|
Requires: perl(Webinject) >= 1.500
|
|
|
|
Provides: perl(Webinject::Gui) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2015-02-05 15:14:35 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
WebInject is a free tool for automated testing of web applications and web
|
|
|
|
services. It can be used to test individual system components that have
|
|
|
|
HTTP interfaces (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms, XML/SOAP
|
|
|
|
Web Services, REST, etc), and can be used as a test harness to create a
|
|
|
|
suite of [HTTP level] automated functional, acceptance, and regression
|
|
|
|
tests. A test harness allows you to run many test cases and collect/report
|
|
|
|
your results. WebInject offers real-time results display and may also be
|
|
|
|
used for monitoring system response times.
|
|
|
|
|
|
|
|
%prep
|
2024-08-05 20:05:01 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2015-02-05 15:14:35 +00:00
|
|
|
|
|
|
|
%build
|
2019-10-29 08:37:41 +00:00
|
|
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
2024-08-05 20:05:01 +00:00
|
|
|
%make_build
|
2015-02-05 15:14:35 +00:00
|
|
|
|
2019-10-29 08:37:41 +00:00
|
|
|
%check
|
2015-02-05 15:14:35 +00:00
|
|
|
# needs Display
|
2019-10-29 08:37:41 +00:00
|
|
|
# make test
|
2015-02-05 15:14:35 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes icon.gif icon.ico logo.gif
|
|
|
|
|
|
|
|
%changelog
|