1 |
kharec |
89166 |
%define upstream_name Mojolicious |
2 |
kharec |
294656 |
%define upstream_version 3.42 |
3 |
kharec |
89166 |
|
4 |
jquelin |
118401 |
Name: perl-%{upstream_name} |
5 |
|
|
Version: %perl_convert_version %{upstream_version} |
6 |
kharec |
118746 |
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 |
252372 |
Source0: http://www.cpan.org/authors/id/T/TE/TEMPIRE/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
jquelin |
118401 |
|
14 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker) |
15 |
|
|
BuildArch: noarch |
16 |
|
|
|
17 |
kharec |
89166 |
%description |
18 |
|
|
Back in the early day of the web there was this wonderful Perl library |
19 |
|
|
called CGI, many people only learned Perl because of it. It was simple |
20 |
|
|
enough to get started without knowing much about the language and powerful |
21 |
|
|
enough to keep you going, learning by doing was much fun. While most of the |
22 |
|
|
techniques used are outdated now, the idea behind it is not. Mojolicious is |
23 |
|
|
a new attempt at implementing this idea using state of the art technology. |
24 |
|
|
|
25 |
|
|
%prep |
26 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
27 |
|
|
|
28 |
|
|
%build |
29 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
30 |
|
|
%make |
31 |
|
|
|
32 |
|
|
%check |
33 |
|
|
make test |
34 |
|
|
|
35 |
|
|
%install |
36 |
|
|
%makeinstall_std |
37 |
|
|
|
38 |
|
|
%files |
39 |
kharec |
264323 |
%doc Changes LICENSE META.json META.yml MYMETA.yml examples |
40 |
kharec |
89166 |
%{_bindir}/mojo |
41 |
|
|
%{_bindir}/hypnotoad |
42 |
|
|
%{perl_vendorlib}/* |
43 |
|
|
%{_mandir}/man1/* |
44 |
|
|
%{_mandir}/man3/* |
45 |
kharec |
264323 |
%_bindir/morbo |