Name: perl-Mojolicious version: 5.05 Release: 2%{?dist} Summary: A next generation web framework for Perl License: Artistic 2.0 Group: Development/Libraries URL: http://mojolicious.org/ Source0: http://www.cpan.org/authors/id/K/KR/KRAIH/Mojolicious-%{version}.tar.gz Patch0: Mojolicious-4.91.untaint.patch Patch1: Mojolicious-4.91.SSL_version.patch %define CSRFProtect_version 0.13 Source1: Mojolicious-Plugin-CSRFProtect-%{CSRFProtect_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008007 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::More) BuildRequires: perl(Taint::Util) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Digest::SHA) BuildRequires: perl(Time::HiRes) BuildRequires: perl(IO::Compress::Gzip) BuildRequires: perl(Compress::Raw::Zlib) BuildRequires: perl(Data::Dumper) Requires: perl(Taint::Util) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %define filelist %{pkgname}-%{version}-filelist %define NVR %{pkgname}-%{version}-%{release} %define maketest 1 %define custom_find_req %{_tmppath}/%{NVR}-find-requires %define _use_internal_dependency_generator 0 %define __find_requires %{custom_find_req} %define __perl_requires %{custom_find_req} %define perl_vendorlib /usr/share/perl5/vendor_perl %description Back in the early days of the web there was this wonderful Perl library called CGI, many people only learned Perl because of it. It was simple enough to get started without knowing much about the language and powerful enough to keep you going, learning by doing was much fun. While most of the techniques used are outdated now, the idea behind it is not. Mojolicious is a new attempt at implementing this idea using state of the art technology. %prep %setup -q -n Mojolicious-%{version} -b 0 -a 1 %patch0 -p1 %patch1 -p1 mv Mojolicious-Plugin-CSRFProtect-%{CSRFProtect_version}/lib/Mojolicious/Plugin/* lib/Mojolicious/Plugin/ rm -rf Mojolicious-Plugin-CSRFProtect-%{CSRFProtect_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=/usr/share/perl5/vendor_perl make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT cat < %{custom_find_req} #!/bin/sh /usr/lib/rpm/find-requires |grep -v -e 'feature' -e 'IO::Epoll' -e 'IO::KQueue' -e 'EV' EOF chmod 755 %{custom_find_req} make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT rm -f %{custom_find_req} %files %defattr(-,root,root,-) %doc Changes LICENSE examples %{_bindir}/mojo %{_bindir}/morbo %{_bindir}/hypnotoad %{perl_vendorlib}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Thu Feb 5 2015 Daniel Berteaud - 5.05-1 - Add some missing buildreq so it can build in mock [SME: 7819] * Mon Jun 09 2014 Charlie Brady - 5.05-1 - Upgrade Mojolicious to 5.05. [MN00522946] * Fri Apr 25 2014 Charlie Brady - 4.94-1 - Upgrade Mojolicious to 4.94. [MN00522946] * Mon Mar 31 2014 Charlie Brady - 4.91-1 - Upgrade Mojolicious to 4.91. [MN00522946] * Fri Oct 25 2013 Charlie Brady - 4.50-2 - Drop IO::Socket::SSL dependency from 1.75 to 1.44. [MN00504964] * Fri Oct 25 2013 Charlie Brady - 4.50-1 - Upgrade Mojolicious to 4.50. [MN00500199] * Tue Jul 09 2013 Charlie Brady - 4.18-2 - Add untaint for eval in Mojo::Template. [MN00480041] * Tue Jul 09 2013 Charlie Brady - 4.18-1 - Upgrade Mojolicious to 4.18. Not yet taint or SSL friendly. [MN00480041] * Wed May 01 2013 Charlie Brady - 3.97-3 - Add untaint for eval in Mojo::Template. [MN00480041] * Wed May 01 2013 Charlie Brady - 3.97-2 - Upgrade Mojolicious-Plugin-CSRFProtect to version 0.13. [MN00480041] * Wed May 01 2013 Charlie Brady - 3.97-1 - Upgrade Mojolicious to 3.97. Not yet taint or SSL friendly. [MN00480041] * Wed Sep 26 2012 Martin Gillen - 3.05-6 - Upgrade Mojolicious-Plugin-CSRFProtect to version 0.12. [MN00390742] * Thu Aug 23 2012 Charlie Brady - 3.05-5 - Fix typo in IO::Socket::SSL dependency patch. [MN00443005] * Mon Aug 20 2012 Charlie Brady - 3.05-4 - Update CSRF plugin. [MN00441747] * Tue Aug 14 2012 Charlie Brady - 3.05-3 - Drop IO::Socket::SSL dependency from 1.75 to 1.44. [MN00443005] * Tue Aug 14 2012 Charlie Brady - 3.05-2 - Apply untaint patch. * Wed Jul 11 2012 Charlie Brady - 3.05-1 - Upgrade to latest upstream. * Mon Apr 30 2012 Charlie Brady - 2.91-1 - Upgrade to latest upstream. * Mon Apr 30 2012 Charlie Brady - 2.49-2 - Add CSRFProtect plugin. [MN00396402] - Build into /usr/share/perl5/vendor_perl. * Tue Feb 14 2012 Charlie Brady - 2.49-1 - Upgrade to latest upstream. * Wed Feb 08 2012 Charlie Brady - 2.47-1 - Upgrade to latest upstream. * Wed Feb 01 2012 Charlie Brady - 2.46-5 - Update untaint patch to include untaint of template code when running under -T. * Wed Feb 01 2012 Charlie Brady - 2.46-4 - Restore use of pre-exising perl-Mojolicious spec file. Re-remove dependency on EV module. * Mon Jan 30 2012 Charlie Brady - 2.46-3 - Build into /usr/lib/perl5/vendor_perl. * Mon Jan 30 2012 Charlie Brady - 2.46-2 - Apply untaint patch. * Mon Jan 30 2012 Charlie Brady - 2.46 - Upgrade to latest upstream. * Wed Aug 03 2011 Charlie Brady 1.69-3 - Remove dependency on EV module. * Wed Aug 03 2011 Charlie Brady 1.69-2 - Apply patch to permit setuid scripts to run - untaint data. * Wed Aug 03 2011 Charlie Brady 1.69-1 - Update to upstream 1.64 - no patches, but do not require IO::Epoll and IO::KQueue modules. * Wed Aug 03 2011 Charlie Brady 1.64-2 - Apply patch to permit setuid scripts to run - untaint data. * Wed Aug 03 2011 Charlie Brady 1.64-1 - Update to upstream 1.64 - no patches, but do not require IO::Epoll and IO::KQueue modules. * Fri Jul 15 2011 Charlie Brady 1.48-2 - Ensure that 'perl(feature)' does not appear in dependency list. * Mon Jun 27 2011 Charlie Brady 1.48-1 - Update to upstream 1.48 - no patches * Thu Apr 21 2011 Charlie Brady 1.21-2 - Apply patches (taint checking and test fixes. * Thu Apr 21 2011 Charlie Brady 1.21-1 - Update to upstream 1.21 - no patches * Mon Jan 03 2011 Charlie Brady 1.0-2 - Backport to perl 5.8.5 (mostly test fixes). * Mon Jan 03 2011 Charlie Brady 1.0-1 - Latest upstream release. * Sun Dec 12 2010 Charlie Brady 0.999950-2 - Latest upstream snapshot, includes exception template - https://github.com/kraih/mojo/tree/fba7a4b549d8e247e03f1e3fc6284cd92fafb4a4 * Sun Dec 05 2010 Charlie Brady 0.999950-1 - Latest upstream release. http://search.cpan.org/src/KRAIH/Mojolicious-0.999950/Changes * Sun Nov 21 2010 Charlie Brady 0.999941-2 - Patch around exceptions in taint mode. * Sun Nov 21 2010 Charlie Brady 0.999941-1 - Latest upstream release. http://search.cpan.org/src/KRAIH/Mojolicious-0.999941/Changes * Mon Aug 16 2010 Yanko Kaneti 0.999927-1 - Latest upstream release. http://search.cpan.org/src/KRAIH/Mojolicious-0.999927/Changes * Tue Jun 22 2010 Petr Pisar 0.999926-2 - Rebuild against perl-5.12 * Fri Jun 16 2010 Yanko Kaneti 0.999926-1 - Latest upstream release. http://search.cpan.org/src/KRAIH/Mojolicious-0.999926/Changes * Fri Jun 11 2010 Yanko Kaneti 0.999925-3 - Actually include the examples. * Fri Jun 11 2010 Yanko Kaneti 0.999925-2 - Initial import. Include examples as doc. * Tue Jun 08 2010 Yanko Kaneti 0.999925-1 - Specfile mostly autogenerated by cpanspec 1.78.