1 |
%define upstream_name Mojolicious |
2 |
%define upstream_version 5.27 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 1 |
7 |
|
8 |
Summary: A next generation web framework for Perl |
9 |
License: Artistic 2.0 |
10 |
Group: Development/Perl |
11 |
Url: http://mojolicious.org/ |
12 |
Source0: http://www.cpan.org/authors/id/S/SR/SRI/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
|
14 |
BuildRequires: perl(ExtUtils::MakeMaker) |
15 |
BuildRequires: perl(Pod::Simple) >= 3.90.0 |
16 |
BuildArch: noarch |
17 |
|
18 |
%description |
19 |
Back in the early day of the web there was this wonderful Perl library |
20 |
called CGI, many people only learned Perl because of it. It was simple |
21 |
enough to get started without knowing much about the language and powerful |
22 |
enough to keep you going, learning by doing was much fun. While most of the |
23 |
techniques used are outdated now, the idea behind it is not. Mojolicious is |
24 |
a new attempt at implementing this idea using state of the art technology. |
25 |
|
26 |
%prep |
27 |
%setup -q -n %{upstream_name}-%{upstream_version} |
28 |
|
29 |
%build |
30 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
31 |
%make |
32 |
|
33 |
%check |
34 |
make test |
35 |
|
36 |
%install |
37 |
%makeinstall_std |
38 |
|
39 |
%files |
40 |
%doc Changes LICENSE META.json META.yml MYMETA.yml examples |
41 |
%{_bindir}/mojo |
42 |
%{_bindir}/hypnotoad |
43 |
%{perl_vendorlib}/* |
44 |
%{_mandir}/man1/* |
45 |
%{_mandir}/man3/* |
46 |
%_bindir/morbo |