Name: perl-MasonX-Interp-WithCallbacks Version: 1.19 Release: 29%{?dist} Summary: Mason callback support via Params::CallbackRequest License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/MasonX-Interp-WithCallbacks Source0: https://cpan.metacpan.org/authors/id/D/DW/DWHEELER/MasonX-Interp-WithCallbacks-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: perl-generators BuildRequires: perl(Module::Build) # Module Runtime BuildRequires: perl(Class::Container) >= 0.09 BuildRequires: perl(HTML::Mason) >= 1.23 BuildRequires: perl(HTML::Mason::Exceptions) BuildRequires: perl(HTML::Mason::Interp) BuildRequires: perl(HTML::Mason::MethodMaker) BuildRequires: perl(Params::CallbackRequest) >= 1.15 BuildRequires: perl(strict) BuildRequires: perl(vars) # Test Suite BuildRequires: perl(Attribute::Handlers) BuildRequires: perl(base) BuildRequires: perl(CGI) BuildRequires: perl(Class::ISA) BuildRequires: perl(constant) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(FindBin) BuildRequires: perl(HTML::Mason::ApacheHandler) BuildRequires: perl(HTML::Mason::CGIHandler) BuildRequires: perl(Params::Callback) BuildRequires: perl(Test::More) >= 0.17 BuildRequires: perl(Test::Pod) >= 1.20 BuildRequires: perl(Test::Simple) >= 0.17 # Runtime Requires: perl(Class::Container) >= 0.09 Requires: perl(HTML::Mason) >= 1.23 Requires: perl(HTML::Mason::MethodMaker) Requires: perl(Params::CallbackRequest) >= 1.15 %description MasonX::Interp::WithCallbacks subclasses HTML::Mason::Interp in order to provide a Mason callback system built on Params::CallbackRequest. Callbacks may be either code references provided to the new() constructor, or methods defined in subclasses of Params::Callback. Callbacks are triggered either for every request or by specially named keys in the Mason request arguments, and all callbacks are executed at the beginning of a request, just before Mason creates and executes the request component stack. %prep %setup -q -n MasonX-Interp-WithCallbacks-%{version} # Silence warning from Pod test mkdir bin %build perl Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT %check ./Build test %files %doc Changes README.md %{perl_vendorlib}/MasonX/ %{_mandir}/man3/MasonX::Interp::WithCallbacks.3pm* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 1.19-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.19-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.19-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.19-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.19-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.19-24 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.19-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.19-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1.19-21 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.19-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.19-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.19-18 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.19-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.19-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.19-15 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.19-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.19-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1.19-12 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.19-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.19-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 15 2017 Jitka Plesnikova - 1.19-9 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.19-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu May 19 2016 Jitka Plesnikova - 1.19-7 - Perl 5.24 re-rebuild of bootstrapped packages * Thu Feb 04 2016 Fedora Release Engineering - 1.19-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.19-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.19-4 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 1.19-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Oct 7 2013 Paul Howarth - 1.19-1 - Update to 1.19 - Fixed a pasto in the "Support" section - Moved repository to https://github.com/theory/masonx-interp-withcallbacks/ - Fixed installation documentation in the README so that it demonstrates using Build.PL rather than Makefile.PL, as the latter is not included in the distribution - Drop %%defattr, redundant since rpm 4.4 - Make %%files list more explicit - Don't need to remove empty directories from the buildroot - Don't use macros for commands - Specify all dependencies - Run the test suite, except for tests requiring a web server * Fri Aug 09 2013 Petr Pisar - 1.18-14 - Perl 5.18 rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.18-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.18-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.18-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jul 04 2012 Petr Pisar - 1.18-10 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.18-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Petr Sabata - 1.18-8 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.18-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 1.18-6 - Rebuild to fix problems with vendorarch/lib (#661697) * Mon May 03 2010 Marcela Maslanova - 1.18-5 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.18-4 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 1.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri May 16 2008 Steven Pritchard 1.18-1 - Update to 1.18. * Thu Mar 06 2008 Tom "spot" Callaway - 1.17-2 - Rebuild for new perl * Fri Jul 27 2007 Steven Pritchard 1.17-1 - Update to 1.17. * Mon Jul 16 2007 Steven Pritchard 1.16-1 - Specfile autogenerated by cpanspec 1.73. - BR Test::More and Test::Pod. - Disable tests for now. (The are written for mod_perl 1.)