Compare commits
10 Commits
21e6ee7e79
...
7cf94c3047
Author | SHA256 | Date | |
---|---|---|---|
7cf94c3047 | |||
|
fef8d0de1c | ||
|
8a0ac7e89a | ||
|
b5ce034a1f | ||
|
0c9b2a00de | ||
|
75e5eaa803 | ||
|
0a24ae75d0 | ||
|
a5d6cb4e29 | ||
|
bbad08aa21 | ||
|
0e50d4ccc2 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9e4cb1c88e1a4eea11a1fab4c115601fa4666521e7d2b43830116b256a2d8d98
|
||||
size 59708
|
3
UI-Dialog-1.21.tar.gz
Normal file
3
UI-Dialog-1.21.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5eff18e753b6ee5d692918782f6816daf55d122faeb9ae6103e4510dd06f752a
|
||||
size 97110
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,128 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 10:36:36 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.21
|
||||
see /usr/share/doc/packages/perl-UI-Dialog/Changes
|
||||
|
||||
1.21 - Sat, 2 Apr 2016 18:04:33 -0500
|
||||
|
||||
* Refactored unit tests to not fail unless it's during actual testing
|
||||
* All unit test scripts are consistently formatted
|
||||
|
||||
1.20 - Sun, 6 Mar 2016 21:03:33 -0500
|
||||
|
||||
* Removed Gconf module cludges from Nautilus
|
||||
* Nautilus example and backend general tweaks
|
||||
* Closes github issue 21
|
||||
* Renamed COPYRIGHT to LICENSE
|
||||
|
||||
1.19 - Sun, 21 Feb 2016 18:26:22 -0500
|
||||
|
||||
* Nautilus and XOSD tweaks, tests shouldn't fail now
|
||||
* minor changes
|
||||
|
||||
1.18 - Fri, 12 Feb 2016 21:48:42 -0500
|
||||
|
||||
* xdialog cleaned up, example script and test included
|
||||
* minor changes
|
||||
|
||||
1.17 - Fri, 12 Feb 2016 00:16:03 -0500
|
||||
|
||||
* gdialog cleaned up, example script and test included
|
||||
* kdialog cleaned up, example script and test included
|
||||
* general unit tests fleshed out and/or updated
|
||||
* password dialog for gdialog no longer supported
|
||||
|
||||
1.16 - Tue, 9 Feb 2016 21:44:42 -0500
|
||||
|
||||
* Fix for File::Slurp::Unicode dependency (Closes: RT111890)
|
||||
* Fixes for ASCII backend
|
||||
* examples/ascii.pl en-par with cdialog, whiptail and zenity
|
||||
|
||||
1.15 - Mon, 8 Feb 2016 18:55:33 -0500
|
||||
|
||||
* Added dependencies for String::ShellQuote, File::Slurp::Unicode
|
||||
* Fixed trust-input, this should now work perfectly (thanks to shell_quote)
|
||||
|
||||
1.14 - Tue, 2 Feb 2016 19:52:03 -0500
|
||||
|
||||
* CDialog revisited, tests passing, example script re-written
|
||||
* Whiptail revisited, tests passing, example script re-written
|
||||
* Zenity revisited, tests passing, example script re-written
|
||||
* (Note: need to revisit the rest of the backends, perhaps prune some)
|
||||
* Copyright / license updates
|
||||
* Use warnings across all modules
|
||||
* Minimum perl version is consistently 5.6
|
||||
* This is an "I'm sorry" release for all who actually use this module and I somehow broke your day.
|
||||
|
||||
1.13 - Sat, 30 Jan 2016 16:12:04 -0500
|
||||
|
||||
* Bugfix for CDialog menu issue (RT111472)
|
||||
* Patched for checklist issue (RT111429), thanks Ricky!
|
||||
* Updated CONTRIBUTORS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 27 10:48:35 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.12
|
||||
see /usr/share/doc/packages/perl-UI-Dialog/Changes
|
||||
|
||||
1.12 - Fri, 22 Jan 2016 02:20:02 -0500
|
||||
|
||||
* Bugfixes for tests failing when backend binaries are not found
|
||||
* Bugfixes for CDialog backend form() functionality
|
||||
|
||||
1.11 - Sat, 10 Oct 2015 16:20:42 -0500
|
||||
|
||||
* New 'trust-input' option implemented. CVE-2008-7315
|
||||
* all new class, UI::Dialog::Screen::Druid. See examples/screen-druid.pl for usage. Has pod too.
|
||||
* added copyright notice to UI::Dialog::Screen::Menu
|
||||
* fix an issue with Zenity and a noisy stderr getting into the user input. zenity backend now ignores stderr for all subcommands
|
||||
* more reliable checking/defaulting for trust-input option
|
||||
* bugfix, hash assign, not regular =
|
||||
* bugfix, semi-colon needed to be a comma.
|
||||
* version bump to 1.11
|
||||
* added Matthijs to contributors (bugreport) and updated Changes
|
||||
* copyright date bumped to 2015
|
||||
* updated documentation to reflect trust-input feature
|
||||
* an example script for trust-input feature
|
||||
* trust-input can now be set on a per-command basis, not just on module construction.
|
||||
* feature "trust-input" - Addresses CVE-2008-7315
|
||||
|
||||
-- Kevin C. Krinke <kevin@krinke.ca>
|
||||
|
||||
1.10 - Sun, 01 Sep 2013 21:12:22 -0500
|
||||
|
||||
* Input and arguments now escaped "more". Not sure it's "secure", but it's definitely better.
|
||||
* Added new UI::Dialog::Backend::NotifySend class
|
||||
* More POD tweaks / fixes, thanks Debian maintainers!
|
||||
|
||||
-- Kevin C. Krinke <kevin@krinke.ca>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 10:25:35 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
- update to 1.09:
|
||||
+ Updated author email address, finally
|
||||
+ Added new UI::Dialog::Screen::Menu class
|
||||
+ POD tweaks ala Debian packaging patch
|
||||
+ Resolved CPAN tickets: 35289, 33365, 18134, 32706, 82093
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:35:56 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:31:26 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove /var/adm/perl-modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 28 11:38:04 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove .packlist file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 15:36:39 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,69 +1,90 @@
|
||||
#
|
||||
# spec file for package perl-UI-Dialog
|
||||
#
|
||||
# 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.
|
||||
|
||||
# norootforbuild
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name UI-Dialog
|
||||
Name: perl-UI-Dialog
|
||||
%define real_name UI-Dialog
|
||||
Summary: OOPerl wrapper for the various dialog applications.
|
||||
Url: http://search.cpan.org/perldoc?UI::Dialog
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License
|
||||
Version: 1.08
|
||||
Release: 1
|
||||
Vendor: openSUSE-Education
|
||||
Source: %{real_name}-%{version}.tar.bz2
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Version: 1.210.0
|
||||
Release: 0
|
||||
# 1.21 -> normalize -> 1.210.0
|
||||
%define cpan_version 1.21
|
||||
License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Summary: Wrapper for various dialog applications
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KC/KCK/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(File::Slurp)
|
||||
BuildRequires: perl(String::ShellQuote)
|
||||
Requires: perl(File::Slurp)
|
||||
Requires: perl(String::ShellQuote)
|
||||
Provides: perl(UI::Dialog) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::ASCII) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::CDialog) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::GDialog) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::KDialog) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::Nautilus) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::NotifySend) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::Whiptail) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::XDialog) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::XOSD) = %{version}
|
||||
Provides: perl(UI::Dialog::Backend::Zenity) = %{version}
|
||||
Provides: perl(UI::Dialog::Console) = %{version}
|
||||
Provides: perl(UI::Dialog::GNOME) = %{version}
|
||||
Provides: perl(UI::Dialog::Gauged) = %{version}
|
||||
Provides: perl(UI::Dialog::KDE) = %{version}
|
||||
Provides: perl(UI::Dialog::Screen::Druid) = %{version}
|
||||
Provides: perl(UI::Dialog::Screen::Menu) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
UI::Dialog is a OOPerl wrapper for the various dialog applications. These
|
||||
dialog backends are currently supported: Zenity, XDialog, GDialog, KDialog,
|
||||
CDialog, and Whiptail. There is also an ASCII backend provided as a last resort
|
||||
interface for the console based dialog variants. UI::Dialog is a class that
|
||||
provides a strict interface to these various backend modules. By using
|
||||
UI:Dialog (with it's imposed limitations on the widgets) you can ensure that
|
||||
your Perl program will function with any available interfaces.
|
||||
UI::Dialog supports priority ordering of the backend detection process. So
|
||||
if you'd prefer that Xdialog should be used first if available, simply
|
||||
designate the desired order when creating the new object. The default order
|
||||
for detecting and utilization of the backends are as follows: (with DISPLAY
|
||||
env): Zenity, GDialog, XDialog, KDialog (without DISPLAY): CDialog,
|
||||
Whiptail, ASCII
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Kevin C. Krinke, <kckrinke@opendoorsoftware.com>
|
||||
UI::Dialog is the result of a complete re-write of the UDPM CPAN module.
|
||||
This was done to break away from the bad choice of name
|
||||
(UserDialogPerlModule) and to implement a cleaner, more detached, OOPerl
|
||||
interface.
|
||||
|
||||
%prep
|
||||
%setup -n %{real_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?jobs:-j%jobs}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%if 0%{?suse_version}
|
||||
%perl_process_packlist
|
||||
%endif
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc Changes README MANIFEST*
|
||||
%doc %{_mandir}/man3/*
|
||||
%dir %{perl_vendorarch}/auto/UI
|
||||
%dir %{perl_vendorarch}/auto/UI/Dialog
|
||||
%dir %{perl_vendorlib}/UI
|
||||
%dir %{perl_vendorlib}/UI/Dialog
|
||||
%{perl_vendorlib}/UI/*.pm
|
||||
%{perl_vendorlib}/UI/*.pod
|
||||
%{perl_vendorlib}/UI/Dialog/*
|
||||
%{perl_vendorarch}/auto/UI/Dialog/.packlist
|
||||
%if 0%{?suse_version}
|
||||
/var/adm/perl-modules/%{name}
|
||||
%endif
|
||||
%files -f %{name}.files
|
||||
%doc Changes CONTRIBUTORS examples README TODO
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user