[perl-HTML-FormHandler] initial import (rhbz#742543)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 2278b86c1f504651d47c71cf42ac3443cb40a60f
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Tue Oct 4 05:02:41 2011 +0200

    initial import (rhbz#742543)

 .gitignore                 |    1 +
 perl-HTML-FormHandler.spec |   89 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 91 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c8a3079 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTML-FormHandler-0.35003.tar.gz
diff --git a/perl-HTML-FormHandler.spec b/perl-HTML-FormHandler.spec
new file mode 100644
index 0000000..8a1e85f
--- /dev/null
+++ b/perl-HTML-FormHandler.spec
@@ -0,0 +1,89 @@
+Name:           perl-HTML-FormHandler
+Version:        0.35003
+Release:        2%{?dist}
+Summary:        HTML forms using Moose
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/HTML-FormHandler/
+Source0:        http://www.cpan.org/authors/id/G/GS/GSHANK/HTML-FormHandler-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(aliased)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Load) >= 0.06
+BuildRequires:  perl(DateTime)
+BuildRequires:  perl(DateTime::Format::Strptime)
+BuildRequires:  perl(Email::Valid)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::ShareDir)
+BuildRequires:  perl(File::ShareDir::Install)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Locale::Maketext) >= 1.09
+BuildRequires:  perl(Moose) >= 2.0007
+BuildRequires:  perl(MooseX::Getopt) >= 0.16
+BuildRequires:  perl(MooseX::Types) >= 0.20
+BuildRequires:  perl(MooseX::Types::Common)
+BuildRequires:  perl(MooseX::Types::LoadableClass) >= 0.006
+BuildRequires:  perl(namespace::autoclean) >= 0.09
+BuildRequires:  perl(Template)
+BuildRequires:  perl(Test::Differences)
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::Memory::Cycle) >= 1.04
+BuildRequires:  perl(Test::More) >= 0.94
+BuildRequires:  perl(Try::Tiny)
+Requires:       perl(Class::Load) >= 0.06
+Requires:       perl(Locale::Maketext) >= 1.09
+Requires:       perl(Moose) >= 2.0007
+Requires:       perl(MooseX::Getopt) >= 0.16
+Requires:       perl(MooseX::Types) >= 0.20
+Requires:       perl(MooseX::Types::Common)
+Requires:       perl(MooseX::Types::LoadableClass) >= 0.006
+Requires:       perl(namespace::autoclean) >= 0.09
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# hidden from Pause
+Provides:       perl(HTML::FormHandler::Meta::Role)
+Provides:       perl(HTML::FormHandler::Model::CDBI) = 0.02
+Provides:       perl(HTML::FormHandler::Params)
+Provides:       perl(HTML::FormHandler::Field::Repeatable::Instance)
+
+%{?perl_default_filter}
+
+%description
+HTML::FormHandler is a form handling class that validates HTML form data and,
+for database forms, saves it to the database on validation. It has field
+classes that can be used for creating a set of widgets and highly automatic
+templates. There are two simple rendering roles plus a set of widget roles for
+individual form and field classes. FormHandler is designed to make it easy to
+produce alternative rendering modules.
+
+%prep
+%setup -q -n HTML-FormHandler-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Oct 02 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.35003-2
+- fix explicit provides - should be
+  HTML::FormHandler::Field::Repeatable::Instance, not
+  HTML::FormHandler::Field::Compound.
+
+* Fri Sep 30 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.35003-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..12711b3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ea8d91d19fb1871f6c0304a3b9f365b3  HTML-FormHandler-0.35003.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux