Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Tk-ObjScanner
perl-Tk-ObjScanner.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Tk-ObjScanner.spec of Package perl-Tk-ObjScanner
# # spec file for package perl-Tk-ObjScanner # # 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 Tk-ObjScanner Name: perl-Tk-ObjScanner Version: 2.18.0 Release: 0 %define cpan_version 2.018 License: Artistic-1.0 OR GPL-1.0-or-later Summary: GUI to scan any perl data structure or object URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DD/DDUMONT/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(JSON) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Tk) BuildRequires: perl(Tk::Adjuster) BuildRequires: perl(Tk::Derived) BuildRequires: perl(Tk::Frame) BuildRequires: perl(Tk::HList) BuildRequires: perl(Tk::Menubutton) BuildRequires: perl(Tk::ROText) BuildRequires: perl(YAML::PP) Requires: perl(JSON) Requires: perl(Path::Tiny) Requires: perl(Tk) Requires: perl(Tk::Adjuster) Requires: perl(Tk::Derived) Requires: perl(Tk::Frame) Requires: perl(Tk::HList) Requires: perl(Tk::Menubutton) Requires: perl(Tk::ROText) Requires: perl(YAML::PP) Provides: perl(Tk::ObjScanner) = 2.18.0 %undefine __perllib_provides %{perl_requires} %description The scanner provides a GUI to scan the attributes of an object. It can also be used to scan the elements of a hash or an array. This widget can be used as a regular widget in a Tk application or can be used as an autonomous popup widget that will display the content of a data structure. The latter is like a call to a graphical Data::Dumper. The scanner can be used in an autonomous way with the 'scan_object' function. The scanner is a composite widget made of a menubar and Tk::HList. This widget acts as a scanner to the object (or hash ref) passed with the 'caller' parameter. The scanner will retrieve all keys of the hash/object and insert them in the HList. When the user double clicks on a key, the corresponding value will be added in the HList. If the value is a multi-line scalar, the scalar will be displayed in a popup text window. Code ref will be deparsed and shown also in the pop-up window. Tied scalar, hash or array internal can also be scanned by clicking on the _middle_ button to open them. Weak references are recognized (See WeakRef for details) %prep %autosetup -n %{cpan_name}-%{cpan_version} %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 README.org %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor