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