hardaker pushed to perl-QWizard (epel7). "initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 28 18:02:41 UTC 2015


>From 4e7c3fe9f8d5e4f5cec17b28dd9ef268be11c560 Mon Sep 17 00:00:00 2001
From: Wes Hardaker <hardaker at fedoraproject.org>
Date: Fri, 21 Dec 2007 21:14:51 +0000
Subject: initial import


diff --git a/.cvsignore b/.cvsignore
index e69de29..e28020a 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+QWizard-3.12.tar.gz
diff --git a/perl-QWizard-copyright.patch b/perl-QWizard-copyright.patch
new file mode 100644
index 0000000..3970e24
--- /dev/null
+++ b/perl-QWizard-copyright.patch
@@ -0,0 +1,20 @@
+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:
diff --git a/perl-QWizard.spec b/perl-QWizard.spec
new file mode 100644
index 0000000..9680d7d
--- /dev/null
+++ b/perl-QWizard.spec
@@ -0,0 +1,84 @@
+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
diff --git a/sources b/sources
index e69de29..dd408bb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c764dec1fa4c010605acfce6d89b4b94  QWizard-3.12.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-QWizard.git/commit/?h=epel7&id=4e7c3fe9f8d5e4f5cec17b28dd9ef268be11c560


More information about the scm-commits mailing list