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

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

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


Revision 1.1 - (show annotations) (download)
Tue Feb 9 09:27:45 2016 UTC (8 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mojolicious-6_44-1_el7_sme
Import Mojo 6.44 (from Charlie Brady) in sme10 branch

1 Name: perl-Mojolicious
2 version: 6.44
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-6.08.untaint.patch
10 Patch1: Mojolicious-6.12.cleanup.patch
11 Patch2: Mojolicious-6.12.cleanup.patch2
12 Patch3: Mojolicious-6.15.cleanup.patch
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildArch: noarch
15 BuildRequires: perl >= 0:5.010001
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 BuildRequires: perl(Pod::Simple) >= 3.09
22 BuildRequires: perl(Time::Local) >= 1.2000
23 BuildRequires: perl(IO::Socket::IP) >= 0.26
24 Requires: perl(IO::Socket::IP) >= 0.26
25 BuildRequires: perl(IO::Compress::Gzip)
26 BuildRequires: perl(Digest::MD5)
27 BuildRequires: perl(Digest::SHA)
28 BuildRequires: perl(Time::HiRes)
29 BuildRequires: perl(Compress::Raw::Zlib)
30 Requires: perl(Taint::Util)
31 BuildRequires: perl(Socket) >= 1.97
32 Requires: perl(Socket) >= 1.97
33 Requires: perl(IO::Socket::SSL) >= 1.94
34 Requires: perl(Net::DNS::Native) >= 0.15
35 Requires: perl(Pod::Simple) >= 3.09
36 Requires: perl(Time::Local) >= 1.2000
37 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
38 %define filelist %{pkgname}-%{version}-filelist
39 %define NVR %{pkgname}-%{version}-%{release}
40 %define maketest 1
41 %define custom_find_req %{_tmppath}/%{NVR}-find-requires
42 %define _use_internal_dependency_generator 0
43 %define __find_requires %{custom_find_req}
44 %define __perl_requires %{custom_find_req}
45 %define perl_vendorlib /usr/share/perl5/vendor_perl
46
47 %description
48 Back in the early days of the web there was this wonderful Perl library
49 called CGI, many people only learned Perl because of it. It was simple
50 enough to get started without knowing much about the language and powerful
51 enough to keep you going, learning by doing was much fun. While most of the
52 techniques used are outdated now, the idea behind it is not. Mojolicious is
53 a new attempt at implementing this idea using state of the art technology.
54
55 %prep
56 %setup -q -n Mojolicious-%{version} -b 0
57 %patch0 -p1
58 #%patch1 -p2
59 %patch2 -p2
60 %patch3 -p2
61
62 %build
63 %{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=/usr/share/perl5/vendor_perl
64 make %{?_smp_mflags}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 cat <<EOF > %{custom_find_req}
69 #!/bin/sh
70 /usr/lib/rpm/find-requires |grep -v -e 'feature' -e 'IO::Epoll' -e 'IO::KQueue' -e 'EV'
71 EOF
72 chmod 755 %{custom_find_req}
73
74 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
75
76 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
77 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
78
79 %{_fixperms} $RPM_BUILD_ROOT/*
80
81 %check
82 make test
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86 rm -f %{custom_find_req}
87
88 %files
89 %defattr(-,root,root,-)
90 %doc Changes LICENSE examples
91 %{_bindir}/mojo
92 %{_bindir}/morbo
93 %{_bindir}/hypnotoad
94 %{perl_vendorlib}/*
95 %{_mandir}/man1/*
96 %{_mandir}/man3/*
97
98 %changelog
99 * Mon Feb 08 2016 Charlie Brady <charlie_brady@mitel.com>
100 - Upgrade Mojolicious to 6.44.
101
102 * Thu Oct 08 2015 Charlie Brady <charlie_brady@mitel.com>
103 - Upgrade Mojolicious to 6.23.
104
105 * Mon Sep 21 2015 Charlie Brady <charlie_brady@mitel.com>
106 - Upgrade Mojolicious to 6.20.
107
108 * Mon Aug 24 2015 Charlie Brady <charlie_brady@mitel.com>
109 - Upgrade Mojolicious to 6.17.
110
111 * Wed Aug 19 2015 Charlie Brady <charlie_brady@mitel.com>
112 - Fix more cleanup warnings.
113 - Fix warning in Mojo::Asset::Memory::move_to.
114
115 * Tue Aug 18 2015 Charlie Brady <charlie_brady@mitel.com> 6.15-1
116 - Upgrade Mojolicious to 6.15.
117
118 * Wed Jul 08 2015 Charlie Brady <charlie_brady@mitel.com> 6.12-3
119 - Fix more cleanup warnings.
120
121 * Tue Jul 07 2015 Charlie Brady <charlie_brady@mitel.com> 6.12-2
122 - Fix bug in Mojo::UserAgent cleanup when Net::DNS::Native is
123 installed.
124
125 * Tue Jul 07 2015 Charlie Brady <charlie_brady@mitel.com> 6.12-1
126 - Upgrade Mojolicious to 6.12.
127 - Add Requires for recent IO::Socket::SSL and Net::DNS::Native
128
129 * Tue Jun 23 2015 Charlie Brady <charlie_brady@mitel.com> 6.11-2
130 - Add missing BuildRequires: perl(Socket) >= 1.97.
131
132 * Wed Jun 10 2015 Charlie Brady <charlie_brady@mitel.com> 6.11-1
133 - Upgrade Mojolicious to 6.11.
134
135 * Wed Apr 15 2015 Charlie Brady <charlie_brady@mitel.com> 6.08-1
136 - Upgrade Mojolicious to 6.08.
137
138 * Sat Feb 28 2015 Charlie Brady <charlie_brady@mitel.com> 6.0-1
139 - Upgrade Mojolicious to 6.0.
140 - Remove Mojolicious-Plugin-CSRFProtect.
141
142 * Thu Oct 16 2014 Charlie Brady <charlie_brady@mitel.com> - 5.50-1
143 - Upgrade Mojolicious to 5.50 (security update). [MN00548037]
144
145 * Wed Aug 27 2014 Charlie Brady <charlie_brady@mitel.com> - 5.33-1
146 - Upgrade Mojolicious to 5.33. [MN00540216]
147
148 * Thu Jun 12 2014 Charlie Brady <charlie_brady@mitel.com> - 5.05-2
149 - Remove the patch which downgraded the version requirement of
150 IO::Socket::SSL. [MN00522946].
151
152 * Mon Jun 09 2014 Charlie Brady <charlie_brady@mitel.com> - 5.05-1
153 - Upgrade Mojolicious to 5.05. [MN00522946]
154
155 * Fri Apr 25 2014 Charlie Brady <charlie_brady@mitel.com> - 4.94-1
156 - Upgrade Mojolicious to 4.94. [MN00522946]
157
158 * Mon Mar 31 2014 Charlie Brady <charlie_brady@mitel.com> - 4.91-1
159 - Upgrade Mojolicious to 4.91. [MN00522946]
160
161 * Fri Oct 25 2013 Charlie Brady <charlie_brady@mitel.com> - 4.50-2
162 - Drop IO::Socket::SSL dependency from 1.75 to 1.44. [MN00504964]
163
164 * Fri Oct 25 2013 Charlie Brady <charlie_brady@mitel.com> - 4.50-1
165 - Upgrade Mojolicious to 4.50. [MN00500199]
166
167 * Tue Jul 09 2013 Charlie Brady <charlie_brady@mitel.com> - 4.18-2
168 - Add untaint for eval in Mojo::Template. [MN00480041]
169
170 * Tue Jul 09 2013 Charlie Brady <charlie_brady@mitel.com> - 4.18-1
171 - Upgrade Mojolicious to 4.18. Not yet taint or SSL friendly. [MN00480041]
172
173 * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-3
174 - Add untaint for eval in Mojo::Template. [MN00480041]
175
176 * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-2
177 - Upgrade Mojolicious-Plugin-CSRFProtect to version 0.13. [MN00480041]
178
179 * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-1
180 - Upgrade Mojolicious to 3.97. Not yet taint or SSL friendly. [MN00480041]
181
182 * Wed Sep 26 2012 Martin Gillen <martin_gillen@mitel.com> - 3.05-6
183 - Upgrade Mojolicious-Plugin-CSRFProtect to version 0.12. [MN00390742]
184
185 * Thu Aug 23 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-5
186 - Fix typo in IO::Socket::SSL dependency patch. [MN00443005]
187
188 * Mon Aug 20 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-4
189 - Update CSRF plugin. [MN00441747]
190
191 * Tue Aug 14 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-3
192 - Drop IO::Socket::SSL dependency from 1.75 to 1.44. [MN00443005]
193
194 * Tue Aug 14 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-2
195 - Apply untaint patch.
196
197 * Wed Jul 11 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-1
198 - Upgrade to latest upstream.
199
200 * Mon Apr 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.91-1
201 - Upgrade to latest upstream.
202
203 * Mon Apr 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.49-2
204 - Add CSRFProtect plugin. [MN00396402]
205 - Build into /usr/share/perl5/vendor_perl.
206
207 * Tue Feb 14 2012 Charlie Brady <charlie_brady@mitel.com> - 2.49-1
208 - Upgrade to latest upstream.
209
210 * Wed Feb 08 2012 Charlie Brady <charlie_brady@mitel.com> - 2.47-1
211 - Upgrade to latest upstream.
212
213 * Wed Feb 01 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-5
214 - Update untaint patch to include untaint of template code when
215 running under -T.
216
217 * Wed Feb 01 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-4
218 - Restore use of pre-exising perl-Mojolicious spec file. Re-remove
219 dependency on EV module.
220
221 * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-3
222 - Build into /usr/lib/perl5/vendor_perl.
223
224 * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-2
225 - Apply untaint patch.
226
227 * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46
228 - Upgrade to latest upstream.
229
230 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-3
231 - Remove dependency on EV module.
232
233 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-2
234 - Apply patch to permit setuid scripts to run - untaint data.
235
236 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-1
237 - Update to upstream 1.64 - no patches, but do not require
238 IO::Epoll and IO::KQueue modules.
239
240 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.64-2
241 - Apply patch to permit setuid scripts to run - untaint data.
242
243 * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.64-1
244 - Update to upstream 1.64 - no patches, but do not require
245 IO::Epoll and IO::KQueue modules.
246
247 * Fri Jul 15 2011 Charlie Brady <charlie_brady@mitel.com> 1.48-2
248 - Ensure that 'perl(feature)' does not appear in dependency list.
249
250 * Mon Jun 27 2011 Charlie Brady <charlie_brady@mitel.com> 1.48-1
251 - Update to upstream 1.48 - no patches
252
253 * Thu Apr 21 2011 Charlie Brady <charlie_brady@mitel.com> 1.21-2
254 - Apply patches (taint checking and test fixes.
255
256 * Thu Apr 21 2011 Charlie Brady <charlie_brady@mitel.com> 1.21-1
257 - Update to upstream 1.21 - no patches
258
259 * Mon Jan 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.0-2
260 - Backport to perl 5.8.5 (mostly test fixes).
261
262 * Mon Jan 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.0-1
263 - Latest upstream release.
264
265 * Sun Dec 12 2010 Charlie Brady <charlie_brady@mitel.com> 0.999950-2
266 - Latest upstream snapshot, includes exception template
267 - https://github.com/kraih/mojo/tree/fba7a4b549d8e247e03f1e3fc6284cd92fafb4a4
268
269 * Sun Dec 05 2010 Charlie Brady <charlie_brady@mitel.com> 0.999950-1
270 - Latest upstream release.
271 http://search.cpan.org/src/KRAIH/Mojolicious-0.999950/Changes
272
273 * Sun Nov 21 2010 Charlie Brady <charlieb@budge.apana.org.au> 0.999941-2
274 - Patch around exceptions in taint mode.
275
276 * Sun Nov 21 2010 Charlie Brady <charlieb@budge.apana.org.au> 0.999941-1
277 - Latest upstream release.
278 http://search.cpan.org/src/KRAIH/Mojolicious-0.999941/Changes
279
280 * Mon Aug 16 2010 Yanko Kaneti <yaneti@declera.com> 0.999927-1
281 - Latest upstream release.
282 http://search.cpan.org/src/KRAIH/Mojolicious-0.999927/Changes
283
284 * Tue Jun 22 2010 Petr Pisar <ppisar@redhat.com> 0.999926-2
285 - Rebuild against perl-5.12
286
287 * Fri Jun 16 2010 Yanko Kaneti <yaneti@declera.com> 0.999926-1
288 - Latest upstream release.
289 http://search.cpan.org/src/KRAIH/Mojolicious-0.999926/Changes
290
291 * Fri Jun 11 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-3
292 - Actually include the examples.
293
294 * Fri Jun 11 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-2
295 - Initial import. Include examples as doc.
296
297 * Tue Jun 08 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-1
298 - Specfile mostly autogenerated by cpanspec 1.78.

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