1 |
kharec |
89166 |
%define upstream_name Mojolicious |
2 |
kharec |
214352 |
%define upstream_version 2.53 |
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 |
|
|
Source0: http://www.cpan.org/authors/id/K/KR/KRAIH/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
|
|
|
14 |
|
|
BuildRequires: perl(B) |
15 |
|
|
BuildRequires: perl(Carp) |
16 |
kharec |
134164 |
BuildRequires: perl(Config) |
17 |
jquelin |
118401 |
BuildRequires: perl(Cwd) |
18 |
|
|
BuildRequires: perl(Data::Dumper) |
19 |
|
|
BuildRequires: perl(Digest::MD5) |
20 |
kharec |
160440 |
BuildRequires: perl(Digest::SHA) |
21 |
jquelin |
118401 |
BuildRequires: perl(Encode) |
22 |
|
|
BuildRequires: perl(Errno) |
23 |
|
|
BuildRequires: perl(Exporter) |
24 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker) |
25 |
kharec |
130131 |
BuildRequires: perl(Fcntl) |
26 |
jquelin |
118401 |
BuildRequires: perl(File::Basename) |
27 |
|
|
BuildRequires: perl(File::Copy) |
28 |
kharec |
130131 |
BuildRequires: perl(File::Find) |
29 |
jquelin |
118401 |
BuildRequires: perl(File::Path) |
30 |
|
|
BuildRequires: perl(File::Spec) |
31 |
|
|
BuildRequires: perl(File::Temp) |
32 |
|
|
BuildRequires: perl(FindBin) |
33 |
|
|
BuildRequires: perl(Getopt::Long) |
34 |
|
|
BuildRequires: perl(I18N::LangTags) |
35 |
kharec |
130131 |
BuildRequires: perl(I18N::LangTags::Detect) |
36 |
jquelin |
118401 |
BuildRequires: perl(IO::File) |
37 |
|
|
BuildRequires: perl(IO::Poll) |
38 |
|
|
BuildRequires: perl(IO::Socket) |
39 |
kharec |
130131 |
BuildRequires: perl(IO::Socket::INET) |
40 |
jquelin |
118401 |
BuildRequires: perl(List::Util) |
41 |
|
|
BuildRequires: perl(Locale::Maketext) |
42 |
|
|
BuildRequires: perl(MIME::Base64) |
43 |
|
|
BuildRequires: perl(MIME::QuotedPrint) |
44 |
|
|
BuildRequires: perl(POSIX) |
45 |
kharec |
160440 |
BuildRequires: perl(Pod::Simple::HTML) |
46 |
|
|
BuildRequires: perl(Pod::Simple::Search) |
47 |
jquelin |
118401 |
BuildRequires: perl(Scalar::Util) |
48 |
kharec |
130131 |
BuildRequires: perl(Socket) |
49 |
jquelin |
118401 |
BuildRequires: perl(Sys::Hostname) |
50 |
|
|
BuildRequires: perl(Test::Harness) |
51 |
|
|
BuildRequires: perl(Test::More) |
52 |
|
|
BuildRequires: perl(Time::HiRes) |
53 |
kharec |
162870 |
BuildRequires: perl(re) |
54 |
jquelin |
118401 |
BuildArch: noarch |
55 |
|
|
|
56 |
kharec |
89166 |
%description |
57 |
|
|
Back in the early day of the web there was this wonderful Perl library |
58 |
|
|
called CGI, many people only learned Perl because of it. It was simple |
59 |
|
|
enough to get started without knowing much about the language and powerful |
60 |
|
|
enough to keep you going, learning by doing was much fun. While most of the |
61 |
|
|
techniques used are outdated now, the idea behind it is not. Mojolicious is |
62 |
|
|
a new attempt at implementing this idea using state of the art technology. |
63 |
|
|
|
64 |
|
|
%prep |
65 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
66 |
|
|
|
67 |
|
|
%build |
68 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
69 |
|
|
%make |
70 |
|
|
|
71 |
|
|
%check |
72 |
|
|
make test |
73 |
|
|
|
74 |
|
|
%install |
75 |
|
|
%makeinstall_std |
76 |
|
|
|
77 |
|
|
%files |
78 |
kharec |
183061 |
%doc Changes LICENSE META.yml MYMETA.yml examples |
79 |
kharec |
89166 |
%{_bindir}/mojo |
80 |
|
|
%{_bindir}/hypnotoad |
81 |
|
|
%{perl_vendorlib}/* |
82 |
|
|
%{_mandir}/man1/* |
83 |
|
|
%{_mandir}/man3/* |
84 |
kharec |
214081 |
%_bindir/morbo |