rpms/perl-Getopt-GUI-Long/F-7 perl-Getopt-GUI-Long.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Wes Hardaker (hardaker) fedora-extras-commits at redhat.com
Wed Dec 26 19:38:09 UTC 2007


Author: hardaker

Update of /cvs/extras/rpms/perl-Getopt-GUI-Long/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32277/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Getopt-GUI-Long.spec 
Log Message:
initial import


--- NEW FILE perl-Getopt-GUI-Long.spec ---
Name:           perl-Getopt-GUI-Long
Version:        0.8
Release:        1%{?dist}
Summary:        A wrapper around Getopt::Long to provide a GUI to applications
License:        GPL+ or Artistic 
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Getopt-GUI-Long/
Source0:        http://www.cpan.org/authors/id/H/HA/HARDAKER/Getopt-GUI-Long-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
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.

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/*

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc examples/
%doc README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Dec 19 2007 Wes Hardaker <wjhns174 at hardakers.net> - 0.8-1
- initial version



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Getopt-GUI-Long/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	26 Dec 2007 18:41:42 -0000	1.1
+++ .cvsignore	26 Dec 2007 19:37:29 -0000	1.2
@@ -0,0 +1 @@
+Getopt-GUI-Long-0.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Getopt-GUI-Long/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	26 Dec 2007 18:41:42 -0000	1.1
+++ sources	26 Dec 2007 19:37:29 -0000	1.2
@@ -0,0 +1 @@
+6af40f2c03fa898b4c22a96eabfb7a85  Getopt-GUI-Long-0.8.tar.gz




More information about the fedora-extras-commits mailing list