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