commit b5a6806d2e395d12dd61395d1e127b2c217fe0b2 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Apr 17 08:56:43 2014 +0200 Import .gitignore | 1 + perl-HTML-FormFu-MultiForm.spec | 68 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..67abacf 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/HTML-FormFu-MultiForm-1.00.tar.gz diff --git a/perl-HTML-FormFu-MultiForm.spec b/perl-HTML-FormFu-MultiForm.spec new file mode 100644 index 0000000..a04a4e1 --- /dev/null +++ b/perl-HTML-FormFu-MultiForm.spec @@ -0,0 +1,68 @@ +Name: perl-HTML-FormFu-MultiForm +Version: 1.00 +Release: 1%{?dist} +Summary: Handle multi-page/stage forms +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/HTML-FormFu-MultiForm/ +Source0: http://www.cpan.org/authors/id/C/CF/CFRANKS/HTML-FormFu-MultiForm-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Clone) >= 0.31 +BuildRequires: perl(Crypt::CBC) +# Crypt::DES not used anywhere +BuildRequires: perl(HTML::FormFu) >= 1.00 +BuildRequires: perl(HTML::FormFu::Attribute) +BuildRequires: perl(HTML::FormFu::ObjectUtil) +BuildRequires: perl(HTML::FormFu::QueryType::CGI) +BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(Moose) >= 1.00 +BuildRequires: perl(MooseX::Attribute::Chained) >= 1.0.1 +BuildRequires: perl(overload) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Storable) +# Test: +BuildRequires: perl(Test::Aggregate::Nested) >= 0.371 +BuildRequires: perl(Test::More) >= 0.92 + +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Clone) >= 0.31 +Requires: perl(HTML::FormFu) >= 1.00 +Requires: perl(Moose) >= 1.00 +Requires: perl(MooseX::Attribute::Chained) >= 1.0.1 + +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Clone|HTML::FormFu|Moose|MooseX::Attribute::Chained)\\)$ + +%description +Multi-page support for HTML::FormFu, a Perl HTML form framework. + +%prep +%setup -q -n HTML-FormFu-MultiForm-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +# Disable hash key randomization to work around CPAN RT#91788 +PERL_HASH_SEED=0 make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Apr 14 2014 Petr Pisar <ppisar@xxxxxxxxxx> 1.00-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..5176373 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0e5defa7cb5bdccda48414beccf74901 HTML-FormFu-MultiForm-1.00.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