rpms/perl-QWizard/F-8 perl-QWizard-copyright.patch, NONE, 1.1 perl-QWizard.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Wes Hardaker (hardaker) fedora-extras-commits at redhat.com
Fri Dec 21 21:14:36 UTC 2007


Author: hardaker

Update of /cvs/extras/rpms/perl-QWizard/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10911/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	perl-QWizard-copyright.patch perl-QWizard.spec 
Log Message:
initial import

perl-QWizard-copyright.patch:

--- NEW FILE perl-QWizard-copyright.patch ---
Index: QWizard.pm
===================================================================
--- QWizard.pm	(revision 4672)
+++ QWizard.pm	(working copy)
@@ -3298,6 +3298,15 @@
 
 Wes Hardaker, hardaker at users.sourceforge.net
 
+=head1 COPYRIGHT and LICENSE
+
+Copyright (c) 2003-2007, SPARTA, Inc.  All rights reserved
+
+Copyright (c) 2006-2007, Wes Hardaker. All rights reserved
+
+QWizard is free software; you can redistribute it and/or modify it under
+the same terms as Perl itself.
+
 =head1 SEE ALSO
 
 For extra information, consult the following manual pages:


--- NEW FILE perl-QWizard.spec ---
Name:           perl-QWizard
Version:        3.12
Release:        2%{?dist}
Summary:        A very portable graphical question and answer wizard system
License:        GPL+ or Artistic 
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/QWizard/
Source0:        http://www.cpan.org/authors/id/H/HA/HARDAKER/QWizard-%{version}.tar.gz
# Patch from the author to add the proper licensing to the documentation
Patch1:         perl-QWizard-copyright.patch
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(CGI)
Requires:       perl(Gtk2)
Requires:       perl(Chart::Lines)

# neither are picked up automagically.
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The QWizard module allows script authors to concentrate on the
content of the forms they want their users to fill in without
worrying about the display.  It allows "Question Wizard" like
interfaces to be very easily created and the results of the input
easily acted upon.  Scripts written which are entirely based on
QWizard inputs are able to be run from the command line which will
show a Gtk2, Tk window or as a ReadLine interactive session or as a
CGI script without modification.  Script writers do not need to know
which interface is being used to display the resulting form(s) as it
should be transparent to the script itself.

Other wizard interfaces exist for perl, but this one strives very
hard to be both extensible and easy to code with requiring as little
work by script authors as possible.  It is also one of the only ones
that supports both web environments and windowing environments
without code modification required by the script author.

%prep
%setup -q -n QWizard-%{version}

%patch1 -p0

%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 \;

# rpm doc examples shouldn't be executable
chmod a-x examples/*.pl
# not needed perl script that is actually just a pod generator from dist
rm -f %{buildroot}%{perl_vendorlib}/QWizard_Widgets.pl

%{_fixperms} %{buildroot}/*

%check
make test

%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> - 3.12-2
- Changed Chart requirement to Chart::Lines to pick up proper dependencies

* Sat Dec  1 2007  Wes Hardaker <wjhns174 at hardakers.net> - 3.12-1
- Initial version


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-QWizard/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Dec 2007 19:48:36 -0000	1.1
+++ .cvsignore	21 Dec 2007 21:13:58 -0000	1.2
@@ -0,0 +1 @@
+QWizard-3.12.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-QWizard/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Dec 2007 19:48:36 -0000	1.1
+++ sources	21 Dec 2007 21:13:58 -0000	1.2
@@ -0,0 +1 @@
+c764dec1fa4c010605acfce6d89b4b94  QWizard-3.12.tar.gz




More information about the fedora-extras-commits mailing list