Name: perl-Getopt-GUI-Long Version: 0.93 Release: 24%{?dist} Summary: A wrapper around Getopt::Long to provide a GUI to applications License: GPL+ or Artistic URL: https://metacpan.org/release/Getopt-GUI-Long Source0: https://cpan.metacpan.org/authors/id/H/HA/HARDAKER/Getopt-GUI-Long-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) # These are not auto-detected since they're technically optional # (they're the best of the alternative choices available on linux) Requires: perl(QWizard) Requires: perl(Gtk2) # neither are picked up automagically. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module is a wrapper around Getopt::Long that extends the value of the original Getopt::Long module to: 1) add a simple graphical user interface option screen if no arguments are passed to the program. Thus, the arguments to actually use are built based on the results of the user interface. If arguments were passed to the program, the user interface is not shown and the program executes as it normally would and acts just as if Getopt::Long::GetOptions had been called instead. This requires the QWizard and Gtk2 or Tk interfaces to be installed too. 2) provide an auto-help mechanism such that -h and --help are handled automatically. In fact, calling your program with -h will default to showing the user a list of short-style arguments when one exists for the option. Similarly --help will show the user a list of long-style when possible. --help-full will list all potential arguments for an option (short and long both). It's designed to make the creation of graphical shells trivial without the programmer having to think about it much as well as providing automatic good-looking usage output without the programmer needing to write usage() functions. %prep %setup -q -n Getopt-GUI-Long-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* # rpm doc examples shouldn't be executable chmod a-x examples/* %files %doc examples/ %doc README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.93-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.93-23 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.93-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.93-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.93-20 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.93-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.93-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.93-17 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.93-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.93-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.93-14 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.93-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.93-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.93-11 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.93-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.93-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.93-8 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.93-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 0.93-6 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.93-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.93-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.93-3 - Perl 5.22 rebuild * Tue Apr 21 2015 Jitka Plesnikova - 0.93-2 - Removed useless patch, because the issue was fixed by the update * Mon Feb 23 2015 Wes Hardaker - 0.93-1 - new 0.93 for bugs we do not need to fix in fedora * Wed Aug 27 2014 Jitka Plesnikova - 0.91-16 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.91-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Feb 10 2014 Wes Hardaker - 0.91-14 - Fix ARGV warning * Sat Aug 03 2013 Fedora Release Engineering - 0.91-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.91-12 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.91-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.91-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.91-9 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.91-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 0.91-7 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.91-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 0.91-5 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 0.91-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.91-3 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.91-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Mar 5 2009 Wes Hardaker - 0.91-1 - Update to 0.91 * Thu Feb 26 2009 Fedora Release Engineering - 0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 0.8-2 Rebuild for new perl * Wed Dec 19 2007 Wes Hardaker - 0.8-1 - initial version