/[smeserver]/rpms/perl-Mojolicious/sme9/perl-Mojolicious.spec
ViewVC logotype

Contents of /rpms/perl-Mojolicious/sme9/perl-Mojolicious.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Apr 9 04:51:38 2014 UTC (10 years, 1 month ago) by wellsi
Branch: MAIN
CVS Tags: perl-Mojolicious-4_91-1_el6
Initial import

1 Name: perl-Mojolicious
2 version: 4.91
3 Release: 1%{?dist}
4 Summary: A next generation web framework for Perl
5 License: Artistic 2.0
6 Group: Development/Libraries
7 URL: http://mojolicious.org/
8 Source0: http://www.cpan.org/authors/id/K/KR/KRAIH/Mojolicious-%{version}.tar.gz
9 Patch0: Mojolicious-4.91.untaint.patch
10 Patch1: Mojolicious-4.91.SSL_version.patch
11 %define CSRFProtect_version 0.13
12 Source1: Mojolicious-Plugin-CSRFProtect-%{CSRFProtect_version}.tar.gz
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildArch: noarch
15 BuildRequires: perl >= 0:5.008007
16 BuildRequires: perl(ExtUtils::MakeMaker)
17 BuildRequires: perl(Test::Builder)
18 BuildRequires: perl(Test::Harness)
19 BuildRequires: perl(Test::More)
20 BuildRequires: perl(Taint::Util)
21 Requires: perl(Taint::Util)
22 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
23 %define filelist %{pkgname}-%{version}-filelist
24 %define NVR %{pkgname}-%{version}-%{release}
25 %define maketest 1
26 %define custom_find_req %{_tmppath}/%{NVR}-find-requires
27 %define _use_internal_dependency_generator 0
28 %define __find_requires %{custom_find_req}
29 %define __perl_requires %{custom_find_req}
30 %define perl_vendorlib /usr/share/perl5/vendor_perl
31
32 %description
33 Back in the early days of the web there was this wonderful Perl library
34 called CGI, many people only learned Perl because of it. It was simple
35 enough to get started without knowing much about the language and powerful
36 enough to keep you going, learning by doing was much fun. While most of the
37 techniques used are outdated now, the idea behind it is not. Mojolicious is
38 a new attempt at implementing this idea using state of the art technology.
39
40 %prep
41 %setup -q -n Mojolicious-%{version} -b 0 -a 1
42 %patch0 -p1
43 %patch1 -p1
44 mv Mojolicious-Plugin-CSRFProtect-%{CSRFProtect_version}/lib/Mojolicious/Plugin/* lib/Mojolicious/Plugin/
45 rm -rf Mojolicious-Plugin-CSRFProtect-%{CSRFProtect_version}
46
47 %build
48 %{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=/usr/share/perl5/vendor_perl
49 make %{?_smp_mflags}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 cat <<EOF > %{custom_find_req}
54 #!/bin/sh
55 /usr/lib/rpm/find-requires |grep -v -e 'feature' -e 'IO::Epoll' -e 'IO::KQueue' -e 'EV'
56 EOF
57 chmod 755 %{custom_find_req}
58
59 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
60
61 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
62 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
63
64 %{_fixperms} $RPM_BUILD_ROOT/*
65
66 %check
67 make test
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71 rm -f %{custom_find_req}
72
73 %files
74 %defattr(-,root,root,-)
75 %doc Changes LICENSE examples
76 %{_bindir}/mojo
77 %{_bindir}/morbo
78 %{_bindir}/hypnotoad
79 %{perl_vendorlib}/*
80 %{_mandir}/man1/*
81 %{_mandir}/man3/*
82
83 %changelog
84 * Mon Mar 31 2014 Charlie Brady <charlie_brady@mitel.com> - 4.91-1
85 - Upgrade Mojolicious to 4.91. []
86
87 * Fri Oct 25 2013 Charlie Brady <charlie_brady@mitel.com> - 4.50-2
88 - Drop IO::Socket::SSL dependency from 1.75 to 1.44. [MN00504964]
89
90 * Fri Oct 25 2013 Charlie Brady <charlie_brady@mitel.com> - 4.50-1
91 - Upgrade Mojolicious to 4.50. [MN00500199]
92
93 * Tue Jul 09 2013 Charlie Brady <charlie_brady@mitel.com> - 4.18-2
94 - Add untaint for eval in Mojo::Template. [MN00480041]
95
96 * Tue Jul 09 2013 Charlie Brady <charlie_brady@mitel.com> - 4.18-1
97 - Upgrade Mojolicious to 4.18. Not yet taint or SSL friendly. [MN00480041]
98
99 * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-3
100 - Add untaint for eval in Mojo::Template. [MN00480041]
101
102 * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-2
103 - Upgrade Mojolicious-Plugin-CSRFProtect to version 0.13. [MN00480041]
104
105 * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-1
106 - Upgrade Mojolicious to 3.97. Not yet taint or SSL friendly. [MN00480041]
107
108 * Wed Sep 26 2012 Martin Gillen <martin_gillen@mitel.com> - 3.05-6
109 - Upgrade Mojolicious-Plugin-CSRFProtect to version 0.12. [MN00390742]
110
111 * Thu Aug 23 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-5
112 - Fix typo in IO::Socket::SSL dependency patch. [MN00443005]
113
114 * Mon Aug 20 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-4
115 - Update CSRF plugin. [MN00441747]
116
117 * Tue Aug 14 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-3
118 - Drop IO::Socket::SSL dependency from 1.75 to 1.44. [MN00443005]
119
120 * Tue Aug 14 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-2
121 - Apply untaint patch.
122
123 * Wed Jul 11 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-1
124 - Upgrade to latest upstream.
125
126 * Mon Apr 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.91-1
127 - Upgrade to latest upstream.
128
129 * Mon Apr 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.49-2
130 - Add CSRFProtect plugin. [MN00396402]
131 - Build into /usr/share/perl5/vendor_perl.
132
133 * Tue Feb 14 2012 Charlie Brady <charlie_brady@mitel.com> - 2.49-1
134 - Upgrade to latest upstream.
135
136 * Wed Feb 08 2012 Charlie Brady <charlie_brady@mitel.com> - 2.47-1
137 - Upgrade to latest upstream.
138
139 * Wed Feb 01 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-5
140 - Update untaint patch to include untaint of template code when
141 running under -T.
142
143 * Wed Feb 01 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-4
144 - Restore use of pre-exising perl-Mojolicious spec file. Re-remove
145 dependency on EV module.
146
147 * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-3
148 - Build into /usr/lib/perl5/vendor_perl.
149
150 * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-2
151 - Apply untaint patch.
152
153 * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46
154 - Upgrade to latest upstream.
155
156 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-3
157 - Remove dependency on EV module.
158
159 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-2
160 - Apply patch to permit setuid scripts to run - untaint data.
161
162 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-1
163 - Update to upstream 1.64 - no patches, but do not require
164 IO::Epoll and IO::KQueue modules.
165
166 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.64-2
167 - Apply patch to permit setuid scripts to run - untaint data.
168
169 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.64-1
170 - Update to upstream 1.64 - no patches, but do not require
171 IO::Epoll and IO::KQueue modules.
172
173 * Fri Jul 15 2011 Charlie Brady <charlie_brady@mitel.com> 1.48-2
174 - Ensure that 'perl(feature)' does not appear in dependency list.
175
176 * Mon Jun 27 2011 Charlie Brady <charlie_brady@mitel.com> 1.48-1
177 - Update to upstream 1.48 - no patches
178
179 * Thu Apr 21 2011 Charlie Brady <charlie_brady@mitel.com> 1.21-2
180 - Apply patches (taint checking and test fixes.
181
182 * Thu Apr 21 2011 Charlie Brady <charlie_brady@mitel.com> 1.21-1
183 - Update to upstream 1.21 - no patches
184
185 * Mon Jan 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.0-2
186 - Backport to perl 5.8.5 (mostly test fixes).
187
188 * Mon Jan 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.0-1
189 - Latest upstream release.
190
191 * Sun Dec 12 2010 Charlie Brady <charlie_brady@mitel.com> 0.999950-2
192 - Latest upstream snapshot, includes exception template
193 - https://github.com/kraih/mojo/tree/fba7a4b549d8e247e03f1e3fc6284cd92fafb4a4
194
195 * Sun Dec 05 2010 Charlie Brady <charlie_brady@mitel.com> 0.999950-1
196 - Latest upstream release.
197 http://search.cpan.org/src/KRAIH/Mojolicious-0.999950/Changes
198
199 * Sun Nov 21 2010 Charlie Brady <charlieb@budge.apana.org.au> 0.999941-2
200 - Patch around exceptions in taint mode.
201
202 * Sun Nov 21 2010 Charlie Brady <charlieb@budge.apana.org.au> 0.999941-1
203 - Latest upstream release.
204 http://search.cpan.org/src/KRAIH/Mojolicious-0.999941/Changes
205
206 * Mon Aug 16 2010 Yanko Kaneti <yaneti@declera.com> 0.999927-1
207 - Latest upstream release.
208 http://search.cpan.org/src/KRAIH/Mojolicious-0.999927/Changes
209
210 * Tue Jun 22 2010 Petr Pisar <ppisar@redhat.com> 0.999926-2
211 - Rebuild against perl-5.12
212
213 * Fri Jun 16 2010 Yanko Kaneti <yaneti@declera.com> 0.999926-1
214 - Latest upstream release.
215 http://search.cpan.org/src/KRAIH/Mojolicious-0.999926/Changes
216
217 * Fri Jun 11 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-3
218 - Actually include the examples.
219
220 * Fri Jun 11 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-2
221 - Initial import. Include examples as doc.
222
223 * Tue Jun 08 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-1
224 - Specfile mostly autogenerated by cpanspec 1.78.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed