Compare commits

...

10 Commits

Author SHA256 Message Date
7cf94c3047 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=13
2024-08-04 18:27:30 +00:00
Stephan Kulow
fef8d0de1c Accepting request 384006 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/384006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=12
2016-04-06 06:46:20 +00:00
Stephan Kulow
8a0ac7e89a Accepting request 356260 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/356260
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=11
2016-01-28 21:11:00 +00:00
Lars Vogdt
b5ce034a1f - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=10
2013-11-27 10:26:20 +00:00
Stephan Kulow
0c9b2a00de use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=9
2011-11-17 15:55:24 +00:00
Stephan Kulow
75e5eaa803 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=7 2011-11-11 11:24:07 +00:00
Stephan Kulow
0a24ae75d0 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=6
2010-12-03 14:54:59 +00:00
Stephan Kulow
a5d6cb4e29 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=5
2010-12-01 13:56:56 +00:00
Stephan Kulow
bbad08aa21 - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=4
2010-11-29 19:00:27 +00:00
Stephan Kulow
0e50d4ccc2 remove .packlist file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=3
2010-11-28 11:44:04 +00:00
5 changed files with 224 additions and 50 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5eff18e753b6ee5d692918782f6816daf55d122faeb9ae6103e4510dd06f752a
size 97110

28
cpanspec.yml Normal file
View 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

View File

@@ -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 Tue Oct 19 15:36:39 UTC 2010 - coolo@novell.com

View File

@@ -1,69 +1,90 @@
# #
# spec file for package perl-UI-Dialog # 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/
#
Name: perl-UI-Dialog
%define real_name UI-Dialog %define cpan_name UI-Dialog
Summary: OOPerl wrapper for the various dialog applications. Name: perl-UI-Dialog
Url: http://search.cpan.org/perldoc?UI::Dialog Version: 1.210.0
Group: Development/Libraries/Perl Release: 0
License: Artistic License # 1.21 -> normalize -> 1.210.0
Version: 1.08 %define cpan_version 1.21
Release: 1 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
Vendor: openSUSE-Education Summary: Wrapper for various dialog applications
Source: %{real_name}-%{version}.tar.bz2 URL: https://metacpan.org/release/%{cpan_name}
Requires: perl = %{perl_version} Source0: https://cpan.metacpan.org/authors/id/K/KC/KCK/%{cpan_name}-%{cpan_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl 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 %description
UI::Dialog is a OOPerl wrapper for the various dialog applications. These UI::Dialog supports priority ordering of the backend detection process. So
dialog backends are currently supported: Zenity, XDialog, GDialog, KDialog, if you'd prefer that Xdialog should be used first if available, simply
CDialog, and Whiptail. There is also an ASCII backend provided as a last resort designate the desired order when creating the new object. The default order
interface for the console based dialog variants. UI::Dialog is a class that for detecting and utilization of the backends are as follows: (with DISPLAY
provides a strict interface to these various backend modules. By using env): Zenity, GDialog, XDialog, KDialog (without DISPLAY): CDialog,
UI:Dialog (with it's imposed limitations on the widgets) you can ensure that Whiptail, ASCII
your Perl program will function with any available interfaces.
Authors: 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
Kevin C. Krinke, <kckrinke@opendoorsoftware.com> (UserDialogPerlModule) and to implement a cleaner, more detached, OOPerl
interface.
%prep %prep
%setup -n %{real_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL perl Makefile.PL INSTALLDIRS=vendor
make %{?jobs:-j%jobs} %make_build
%check %check
make test make test
%install %install
%perl_make_install %perl_make_install
%if 0%{?suse_version}
%perl_process_packlist %perl_process_packlist
%endif %perl_gen_filelist
%clean %files -f %{name}.files
rm -rf %{buildroot} %doc Changes CONTRIBUTORS examples README TODO
%license LICENSE
%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
%changelog %changelog