Name: Mojolicious Version: 0.999925 Release: 1%{?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 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) Requires: perl(ExtUtils::MakeMaker) Requires: perl(Test::Builder) Requires: perl(Test::Harness) Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %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 chmod -x lib/Mojo/CookieJar.pm %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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 # this test requires newer IO::Socket::INET6 than what we have in Fedora atm rm t/mojolicious/websocket_tls_proxy_lite_app.t make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README.md %{_bindir}/mojo %{_bindir}/mojolicious %{perl_vendorlib}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Tue Jun 08 2010 Yanko Kaneti 0.999925-1 - Specfile mostly autogenerated by cpanspec 1.78.