# # spec file for package perl-Webinject-Gui # # Copyright (c) 2024 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 Webinject-Gui Name: perl-Webinject-Gui Version: 1.560.0 Release: 0 # 1.56 -> normalize -> 1.560.0 %define cpan_version 1.56 License: GPL-2.0-or-later 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 Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 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) BuildRequires: perl(Webinject) >= 1.500 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) Requires: perl(Webinject) >= 1.500 Provides: perl(Webinject::Gui) = %{version} %undefine __perllib_provides %{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 %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 %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor %make_build %check # needs Display # make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes icon.gif icon.ico logo.gif %changelog