# Perform optional tests %bcond_without perl_CGI_FormBuilder_enables_optional_test Name: perl-CGI-FormBuilder %global cpanversion 3.10 Version: %{cpanversion}00 Release: 21%{?dist} Summary: Easily generate and process stateful forms License: GPL+ or Artistic URL: https://metacpan.org/release/CGI-FormBuilder Source0: https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/CGI-FormBuilder-%{cpanversion}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(vars) # Run-time: BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(CGI) BuildRequires: perl(CGI::Cookie) # CGI::FastTemplate 1.09 not used at tests # CGI::SSI 0.92 not used at tests # Data::Dumper not used at tests BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(HTML::Template) >= 2.06 BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(Template) >= 2.08 BuildRequires: perl(Text::Template) >= 1.43 BuildRequires: perl(utf8) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(File::Find) BuildRequires: perl(FindBin) BuildRequires: perl(Test) %if %{with perl_CGI_FormBuilder_enables_optional_test} # Optional tests: BuildRequires: perl(CGI::Session) >= 3.95 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(CGI::FastTemplate) >= 1.09 # Requires: perl(CGI::SSI) >= 0.92 not yet packaged Requires: perl(Data::Dumper) Requires: perl(HTML::Template) >= 2.06 Requires: perl(Template) >= 2.08 Requires: perl(Text::Template) >= 1.43 %{?perl_default_filter} # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((CGI::SSI|HTML::Template|Template|Text::Template)\\)$ %description The goal of CGI::FormBuilder (FormBuilder) is to provide an easy way for you to generate and process entire CGI form-based applications. %prep %setup -q -n CGI-FormBuilder-%{cpanversion} # Fix permissions chmod 0644 lib/CGI/FormBuilder/Messages/* # skip failing tests due to hash randomization # see https://rt.cpan.org/Public/Bug/Display.html?id=81650 rm -f t/2d-template-fast.t perl -i -ne 'print $_ unless m{\At/2d-template-fast\.t\b}' MANIFEST %build unset STRICT_FB_TESTS perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 3.1000-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 3.1000-20 - Perl 5.36 rebuild * Thu Jan 20 2022 Fedora Release Engineering - 3.1000-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 3.1000-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 3.1000-17 - Perl 5.34 rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.1000-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 3.1000-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 3.1000-14 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 3.1000-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 25 2019 Petr Pisar - 3.1000-12 - Modernize a spec file * Fri Jul 26 2019 Fedora Release Engineering - 3.1000-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 3.1000-10 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 3.1000-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 3.1000-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 3.1000-7 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 3.1000-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 3.1000-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jul 07 2017 Igor Gnatenko - 3.1000-4 - Rebuild due to bug in RPM (RHBZ #1468476) * Mon Jun 05 2017 Jitka Plesnikova - 3.1000-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 3.1000-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Aug 31 2016 Jitka Plesnikova - 3.1000-1 - 3.10 bump * Mon May 16 2016 Jitka Plesnikova - 3.0900-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 3.0900-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Aug 28 2015 Jitka Plesnikova - 3.0900-1 - 3.09 bump * Thu Jun 18 2015 Fedora Release Engineering - 3.0800-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 3.0800-6 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 3.0800-5 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.0800-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Ken Dreyer - 3.0800-3 - filter CGI::SSI from requires on EL6 * Sat Aug 10 2013 Iain Arnell 3.0800-2 - filter optional CGI::SSI from requires * Sat Aug 10 2013 Iain Arnell 3.0800-1 - update to latest upstream version - skip failing tests due to hash randomization - clean up spec for modern rpmbuild - use perl_default filter * Sat Aug 03 2013 Fedora Release Engineering - 3.0501-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 27 2013 Petr Pisar - 3.0501-18 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 3.0501-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 3.0501-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 21 2012 Petr Pisar - 3.0501-15 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 3.0501-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jul 21 2011 Petr Sabata - 3.0501-13 - Perl mass rebuild * Tue Jul 19 2011 Petr Sabata - 3.0501-12 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 3.0501-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 15 2010 Marcela Maslanova - 3.0501-10 - 661697 rebuild for fixing problems with vendorach/lib * Fri Apr 30 2010 Marcela Maslanova - 3.0501-9 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 3.0501-8 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 3.0501-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 3.0501-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Mar 5 2008 Tom "spot" Callway - 3.0501-5 - rebuild for new perl * Wed Jun 20 2007 Jeffrey C. Ollie - 3.0501-4 - Trim the description to something reasonable. - Delete odd .orig file * Fri Jun 15 2007 Jeffrey C. Ollie - 3.0501-3 - BR perl(CGI::FastTemplate) * Fri Jun 15 2007 Jeffrey C. Ollie - 3.0501-2 - Don't BR perl or perl-devel, instead BR specific Perl modules needed to build. - Proper license tag * Fri Jun 1 2007 Jeffrey C. Ollie - 3.0501-1 - First version for Fedora