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

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

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


Revision 1.3 - (hide annotations) (download)
Thu Feb 5 12:57:24 2015 UTC (9 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mojolicious-5_05-1_el6_sme
Changes since 1.2: +9 -6 lines
Update spec for Mojolicious 5.0.5

1 wellsi 1.1 Name: perl-Mojolicious
2 vip-ire 1.3 version: 5.05
3 wellsi 1.1 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 vip-ire 1.3 Requires: perl(Taint::Util)
22 wellsi 1.1 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 vip-ire 1.3 * Mon Jun 09 2014 Charlie Brady <charlie_brady@mitel.com> - 5.05-1
85     - Upgrade Mojolicious to 5.05. [MN00522946]
86    
87     * Fri Apr 25 2014 Charlie Brady <charlie_brady@mitel.com> - 4.94-1
88     - Upgrade Mojolicious to 4.94. [MN00522946]
89    
90 wellsi 1.1 * Mon Mar 31 2014 Charlie Brady <charlie_brady@mitel.com> - 4.91-1
91 vip-ire 1.3 - Upgrade Mojolicious to 4.91. [MN00522946]
92 wellsi 1.1
93     * Fri Oct 25 2013 Charlie Brady <charlie_brady@mitel.com> - 4.50-2
94     - Drop IO::Socket::SSL dependency from 1.75 to 1.44. [MN00504964]
95    
96     * Fri Oct 25 2013 Charlie Brady <charlie_brady@mitel.com> - 4.50-1
97     - Upgrade Mojolicious to 4.50. [MN00500199]
98    
99     * Tue Jul 09 2013 Charlie Brady <charlie_brady@mitel.com> - 4.18-2
100     - Add untaint for eval in Mojo::Template. [MN00480041]
101    
102     * Tue Jul 09 2013 Charlie Brady <charlie_brady@mitel.com> - 4.18-1
103     - Upgrade Mojolicious to 4.18. Not yet taint or SSL friendly. [MN00480041]
104    
105     * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-3
106     - Add untaint for eval in Mojo::Template. [MN00480041]
107    
108     * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-2
109     - Upgrade Mojolicious-Plugin-CSRFProtect to version 0.13. [MN00480041]
110    
111     * Wed May 01 2013 Charlie Brady <charlie_brady@mitel.com> - 3.97-1
112     - Upgrade Mojolicious to 3.97. Not yet taint or SSL friendly. [MN00480041]
113    
114     * Wed Sep 26 2012 Martin Gillen <martin_gillen@mitel.com> - 3.05-6
115     - Upgrade Mojolicious-Plugin-CSRFProtect to version 0.12. [MN00390742]
116    
117     * Thu Aug 23 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-5
118     - Fix typo in IO::Socket::SSL dependency patch. [MN00443005]
119    
120     * Mon Aug 20 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-4
121     - Update CSRF plugin. [MN00441747]
122    
123     * Tue Aug 14 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-3
124     - Drop IO::Socket::SSL dependency from 1.75 to 1.44. [MN00443005]
125    
126     * Tue Aug 14 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-2
127     - Apply untaint patch.
128    
129     * Wed Jul 11 2012 Charlie Brady <charlie_brady@mitel.com> - 3.05-1
130     - Upgrade to latest upstream.
131    
132     * Mon Apr 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.91-1
133     - Upgrade to latest upstream.
134    
135     * Mon Apr 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.49-2
136     - Add CSRFProtect plugin. [MN00396402]
137     - Build into /usr/share/perl5/vendor_perl.
138    
139     * Tue Feb 14 2012 Charlie Brady <charlie_brady@mitel.com> - 2.49-1
140     - Upgrade to latest upstream.
141    
142     * Wed Feb 08 2012 Charlie Brady <charlie_brady@mitel.com> - 2.47-1
143     - Upgrade to latest upstream.
144    
145     * Wed Feb 01 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-5
146     - Update untaint patch to include untaint of template code when
147     running under -T.
148    
149     * Wed Feb 01 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-4
150     - Restore use of pre-exising perl-Mojolicious spec file. Re-remove
151     dependency on EV module.
152    
153     * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-3
154     - Build into /usr/lib/perl5/vendor_perl.
155    
156     * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46-2
157     - Apply untaint patch.
158    
159     * Mon Jan 30 2012 Charlie Brady <charlie_brady@mitel.com> - 2.46
160     - Upgrade to latest upstream.
161    
162     * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-3
163     - Remove dependency on EV module.
164    
165     * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-2
166     - Apply patch to permit setuid scripts to run - untaint data.
167    
168     * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.69-1
169     - Update to upstream 1.64 - no patches, but do not require
170     IO::Epoll and IO::KQueue modules.
171    
172     * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.64-2
173     - Apply patch to permit setuid scripts to run - untaint data.
174    
175     * Wed Aug 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.64-1
176     - Update to upstream 1.64 - no patches, but do not require
177     IO::Epoll and IO::KQueue modules.
178    
179     * Fri Jul 15 2011 Charlie Brady <charlie_brady@mitel.com> 1.48-2
180     - Ensure that 'perl(feature)' does not appear in dependency list.
181    
182     * Mon Jun 27 2011 Charlie Brady <charlie_brady@mitel.com> 1.48-1
183     - Update to upstream 1.48 - no patches
184    
185     * Thu Apr 21 2011 Charlie Brady <charlie_brady@mitel.com> 1.21-2
186     - Apply patches (taint checking and test fixes.
187    
188     * Thu Apr 21 2011 Charlie Brady <charlie_brady@mitel.com> 1.21-1
189     - Update to upstream 1.21 - no patches
190    
191     * Mon Jan 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.0-2
192     - Backport to perl 5.8.5 (mostly test fixes).
193    
194     * Mon Jan 03 2011 Charlie Brady <charlie_brady@mitel.com> 1.0-1
195     - Latest upstream release.
196    
197     * Sun Dec 12 2010 Charlie Brady <charlie_brady@mitel.com> 0.999950-2
198     - Latest upstream snapshot, includes exception template
199     - https://github.com/kraih/mojo/tree/fba7a4b549d8e247e03f1e3fc6284cd92fafb4a4
200    
201     * Sun Dec 05 2010 Charlie Brady <charlie_brady@mitel.com> 0.999950-1
202     - Latest upstream release.
203     http://search.cpan.org/src/KRAIH/Mojolicious-0.999950/Changes
204    
205     * Sun Nov 21 2010 Charlie Brady <charlieb@budge.apana.org.au> 0.999941-2
206     - Patch around exceptions in taint mode.
207    
208     * Sun Nov 21 2010 Charlie Brady <charlieb@budge.apana.org.au> 0.999941-1
209     - Latest upstream release.
210     http://search.cpan.org/src/KRAIH/Mojolicious-0.999941/Changes
211    
212     * Mon Aug 16 2010 Yanko Kaneti <yaneti@declera.com> 0.999927-1
213     - Latest upstream release.
214     http://search.cpan.org/src/KRAIH/Mojolicious-0.999927/Changes
215    
216     * Tue Jun 22 2010 Petr Pisar <ppisar@redhat.com> 0.999926-2
217     - Rebuild against perl-5.12
218    
219     * Fri Jun 16 2010 Yanko Kaneti <yaneti@declera.com> 0.999926-1
220     - Latest upstream release.
221     http://search.cpan.org/src/KRAIH/Mojolicious-0.999926/Changes
222    
223     * Fri Jun 11 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-3
224     - Actually include the examples.
225    
226     * Fri Jun 11 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-2
227     - Initial import. Include examples as doc.
228    
229     * Tue Jun 08 2010 Yanko Kaneti <yaneti@declera.com> 0.999925-1
230     - Specfile mostly autogenerated by cpanspec 1.78.

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