1 |
kharec |
89166 |
%define upstream_name Mojolicious |
2 |
sander85 |
673128 |
%define upstream_version 5.39 |
3 |
kharec |
89166 |
|
4 |
jquelin |
118401 |
Name: perl-%{upstream_name} |
5 |
|
|
Version: %perl_convert_version %{upstream_version} |
6 |
tv |
735769 |
Release: %mkrel 3 |
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 |
tv |
735769 |
%{?perl_default_filter} |
20 |
|
|
|
21 |
kharec |
89166 |
%description |
22 |
|
|
Back in the early day of the web there was this wonderful Perl library |
23 |
|
|
called CGI, many people only learned Perl because of it. It was simple |
24 |
|
|
enough to get started without knowing much about the language and powerful |
25 |
|
|
enough to keep you going, learning by doing was much fun. While most of the |
26 |
|
|
techniques used are outdated now, the idea behind it is not. Mojolicious is |
27 |
|
|
a new attempt at implementing this idea using state of the art technology. |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
31 |
|
|
|
32 |
|
|
%build |
33 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
34 |
|
|
%make |
35 |
|
|
|
36 |
|
|
%check |
37 |
|
|
make test |
38 |
|
|
|
39 |
|
|
%install |
40 |
|
|
%makeinstall_std |
41 |
|
|
|
42 |
|
|
%files |
43 |
kharec |
264323 |
%doc Changes LICENSE META.json META.yml MYMETA.yml examples |
44 |
kharec |
89166 |
%{_bindir}/mojo |
45 |
|
|
%{_bindir}/hypnotoad |
46 |
|
|
%{perl_vendorlib}/* |
47 |
|
|
%{_mandir}/man1/* |
48 |
|
|
%{_mandir}/man3/* |
49 |
tv |
735769 |
%_bindir/morbo |