/[smeserver]/rpms/perl-CGI-FormMagick/sme8/perl-CGI-FormMagick.spec
ViewVC logotype

Contents of /rpms/perl-CGI-FormMagick/sme8/perl-CGI-FormMagick.spec

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


Revision 1.7 - (show annotations) (download)
Tue Nov 24 21:06:08 2009 UTC (14 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_92-18_el5_sme
Changes since 1.6: +6 -3 lines
* Tue Nov 24 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.92-18
- Fix year in previous changelog entry [SME: 3144]

1 # $Id: perl-CGI-FormMagick.spec,v 1.6 2009/11/24 20:24:18 snetram Exp $
2
3 Summary: CGI-FormMagick module for perl
4 %define name perl-CGI-FormMagick
5 %define version 0.92
6 %define release 18
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: distributable
11 Group: Applications/CPAN
12 Source0: perl-CGI-FormMagick-%{version}.tar.gz
13 Patch0: perl-CGI-FormMagick-0.92-password_validation.patch
14 Patch1: perl-CGI-FormMagick-0.92-password_validation2.patch
15 Patch2: perl-CGI-FormMagick-0.92-quotemeta.patch
16 Patch3: perl-CGI-FormMagick-0.92-textarea.patch
17 Patch4: perl-CGI-FormMagick-0.92-validateliteral.patch
18 Patch5: perl-CGI-FormMagick-0.92-nodata.patch
19 Patch6: perl-CGI-FormMagick-0.92-persistent10.patch
20 Patch7: perl-CGI-FormMagick-0.92-persistent10.patch2
21 Patch8: perl-CGI-FormMagick-0.92-persistent10.patch3
22 Patch9: perl-CGI-FormMagick-0.92-UTF8.patch
23 Patch10: perl-CGI-FormMagick-0.92-uninitialized-value.patch
24 Url: http://www.cpan.org
25 BuildRoot: /var/tmp/perl-CGI-FormMagick-buildroot/
26 BuildArchitectures: noarch
27 BuildRequires: perl
28 Requires: perl perl(XML::Parser) expat
29 Requires: perl(CGI::Persistent) >= 1.00
30 Requires: perl(Class::ParamParser) perl(I18N::LangTags)
31 Requires: perl(Text::Iconv)
32 Requires: perl(Text::Template)
33 Requires: perl(Mail::RFC822::Address)
34 Provides: perl(ArbitraryPackage)
35 Provides: perl(CGI::FormMagick) = %{version}-%{release}
36 Provides: perl(CGI::FormMagick::Sub)
37 Provides: perl(CGI::FormMagick::TagMaker) = 1.01
38 Provides: perl(CGI::FormMagick::Validator)
39 Autoreq: no
40
41 %description
42 FormMagick is a Perl module which enables XML descriptions to be used
43 to generate HTML wizard-like forms. It has support for I18N/L10N.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49 %patch2 -p1
50 %patch3 -p1
51 %patch4 -p1
52 %patch5 -p1
53 %patch6 -p1
54 %patch7 -p1
55 %patch8 -p1
56 %patch9 -p1
57 %patch10 -p1
58
59 %build
60 grep -rsl '^#!.*perl' . |
61 grep -v '.bak$' |xargs --no-run-if-empty \
62 %__perl -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)'
63 CFLAGS="$RPM_OPT_FLAGS"
64 %{__perl} Makefile.PL `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ '` INSTALLSITELIB=%{_prefix}/lib/perl5/site_perl
65 %{__make}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %install
71 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
72
73 %{makeinstall} `%{__perl} -MExtUtils::MakeMaker -e ' print \$ExtUtils::MakeMaker::VERSION <= 6.05 ? qq|PREFIX=%{buildroot}%{_prefix}| : qq|DESTDIR=%{buildroot}| '`
74
75 [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
76
77 # remove special files
78 find %{buildroot} -name "perllocal.pod" \
79 -o -name ".packlist" \
80 -o -name "*.bs" \
81 |xargs -i rm -f {}
82
83 # no empty directories
84 find %{buildroot}%{_prefix} \
85 -type d -depth \
86 -exec rmdir {} \; 2>/dev/null
87
88 find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v perllocal.pod > CGI-FormMagick-%{version}-filelist
89
90 %files -f CGI-FormMagick-%{version}-filelist
91 %defattr(-,root,root)
92
93 %changelog
94 * Tue Nov 24 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.92-18
95 - Fix year in previous changelog entry [SME: 3144]
96
97 * Tue Nov 24 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.92-17
98 - Fix unitialized value errors in HTML.pm [SME: 3144]
99
100 * Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 0.92-16
101 - Fix patch so .orig files aren't created. [SME: 4100]
102
103 * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 0.92-15
104 - Output charset header defining correct charset. [SME: 3858]
105
106 * Sat Nov 24 2007 Shad L. Lords <slords@mail.com> 0.92-14
107 - Add path to sanitized .id parameter so tokens get created
108 in right place [SME: 3584]
109
110 * Sat Nov 24 2007 Charlie Brady <charlieb@e-smith.com> 0.92-13
111 - Sanitise .id parameter before use. [SME: 3584]
112
113 * Sat Nov 24 2007 Shad L. Lords <slords@mail.com> 0.92-12
114 - Make modules compatible with CGI::Persistent v1.00 [SME: 3581]
115
116 * Tue Jun 12 2007 Shad L. Lords <slords@mail.com> 0.92-11
117 - Don't attempt to trim empty/undefined fields [SME: 2395]
118
119 * Mon Jun 11 2007 Shad L. Lords <slords@mail.com> 0.92-10
120 - Don't validate literal fields [SME: 2395]
121
122 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
123 - Clean up spec so package can be built by koji/plague
124
125 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
126 - Update to new release naming. No functional changes.
127 - Make Packager generic
128
129 * Tue Aug 22 2006 Charlie Brady <charlie_brady@mitel.com> 0.92-08
130 - Allow initializer of textarea form widgets. [SME: 1088]
131
132 * Mon May 01 2006 Charlie Brady <charlie_brady@mitel.com> 0.92-07
133 - Fix quoting of metachars in subst during inputbox output. [SME: 1352]
134
135 * Wed Jan 25 2006 Mark Knox <mark_knox@mitel.com> 0.92-06
136 - Added a missing brace in previous fix [SME: 463]
137
138 * Fri Jan 13 2006 Charlie Brady <charlieb@e-smith.com> 0.92-05
139 - Fix password validation check to include _ as non-alpha. [SME: 463]
140
141 * Thu Dec 15 2005 Charlie Brady <charlieb@e-smith.com> 0.92-04
142 - Build into /usr/lib/perl5/site_perl so that RPM can be installed
143 on either 6.x or 7.x.
144
145 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.92-03
146 - Bump release number only
147
148 * Tue Nov 29 2005 Charlie Brady <charlieb@e-smith.com>
149 - [0.92-02]
150 - Test rebuild after CVS synchronisation.
151
152 * Mon Oct 31 2005 Mark Knox <mark_knox@mitel.com>
153 - [0.92-01]
154 - Imported to ClearCase, bumped version [markk MN00103900]
155 - Remove generated files Makefile and t/embedded*
156 - Add BuildRequires: perl => 5.8
157
158 * Thu Oct 27 2005 Charlie Brady <charlieb@e-smith.com>
159 - [0.91-30]
160 - Avoid warning messages if we try to trim whitespace around $field->{id} when
161 it isn't defined. [SF: 1227604]
162
163 * Mon Oct 3 2005 Charlie Brady <charlieb@e-smith.com>
164 - [0.91-29]
165 - Fix colspan attributes in display_fields(). [SF: 1309359]
166
167 * Mon Sep 5 2005 Tony Clayton <apc@e-smith.com>
168 - [0.91-28]
169 - s/Copyright/License/ in rpm headers
170 - Fix subroutine element handling in Validator.pm to fix barrage of logfile
171 warnings
172 - Move sessiondir,cgi object initialization from display() to new()
173 - Remove deprecated sessiondir(),munge_fm_obj() methods
174
175 * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
176 - [0.91-27]
177 - Validation fixes from Shad Lords:
178 - Change static strings to TAGS (for L10N)
179 - Fix ip_check to actually check value
180 - Update Provides header to specify version and release
181
182 * Tue May 24 2005 Charlie Brady <charlieb@e-smith.com>
183 - [0.91-26]
184 - Don't allow rpm to auto calculate perl module dependencies -
185 it gets them wrong sometimes [SF: 1205965]
186
187 * Fri May 20 2005 Charlie Brady <charlieb@e-smith.com>
188 - [0.91-25]
189 - Apply options parsing fix (from Gordon, SF:1205448)
190
191 * Tue May 17 2005 Charlie Brady <charlieb@e-smith.com>
192 - [0.91-24]
193 - Remove POD references to unimplemented validation-error-message.
194
195 * Tue Mar 29 2005 Charlie Brady <charlieb@e-smith.com>
196 - [0.91-23]
197 - Add patch contributed by Shad Lords to allow multi-select.
198
199 * Tue Mar 29 2005 Charlie Brady <charlieb@e-smith.com>
200 - [0.91-22]
201 - Add patch contributed by Shad Lords to be more flexible about
202 whitespace in validator lists.
203
204 * Tue Mar 29 2005 Charlie Brady <charlieb@e-smith.com>
205 - [0.91-21]
206 - Make sure we don't leave unpackaged files in our buildroot.
207
208 * Tue Mar 29 2005 Charlie Brady <charlieb@e-smith.com>
209 - [0.91-20]
210 - Update build and install sections, to allow correct building under CentOS.
211
212 * Wed Oct 20 2004 Sean Bradbury <bradbury@e-smith.com>
213 - [0.91-19]
214 - Updated requires to remove wrong requires. [bradbury MN00053465]
215
216 * Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com>
217 - [0.91-18]
218 - Updated requires with new perl dependencies. [msoulier MN00040240]
219 - Added additional headers to ensure no caching. [msoulier MN00044704]
220
221 * Fri Sep 3 2004 Michael Soulier <msoulier@e-smith.com>
222 - [0.91-17]
223 - Updated requires with new perl dependencies. [msoulier MN00040240]
224 - Fixed http header to include expiry to prevent browser caching.
225 [msoulier MN00044704]
226
227 * Sat Aug 21 2004 Michael Soulier <msoulier@e-smith.com>
228 - [0.91-16]
229 - Fixed poor subroutine detection in get_sub(). [msoulier MN00037832]
230
231 * Tue Aug 3 2004 Michael Soulier <msoulier@e-smith.com>
232 - [0.91-15]
233 - Added an automatic trim of leading and trailing whitespace for all field
234 params during validation, unless a new field attribute of "notrim" evals to
235 true. [msoulier MN00042751]
236
237 * Thu Jul 15 2004 Michael Soulier <msoulier@e-smith.com>
238 - [0.91-14]
239 - Added conditional widgets to FormMagick. fields now support a "display"
240 callback, which, if false, prevents the field from being displayed or
241 validated. [msoulier MN00037809]
242
243 * Thu Jul 15 2004 Michael Soulier <msoulier@e-smith.com>
244 - [0.91-13]
245 - Updated use of CGI::FormMagick::Sub, such that a calling package is no
246 longer required. The object will be searched for methods by default.
247 [msoulier MN00037832]
248
249 * Wed Jul 14 2004 Michael Soulier <msoulier@e-smith.com>
250 - [0.91-12]
251 - Catch cases where non-existant subroutines are called, and throw a fatal
252 exception with a backtrace. [msoulier MN00042272]
253
254 * Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com>
255 - [0.91-11]
256 - s/novalidate/nopost, and also prevented the post-event from running if
257 nopost is set. [msoulier MN00040161]
258
259 * Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com>
260 - [0.91-10]
261 - Added novalidate method, and a hook to it in prepare_for_next_page, so
262 setting a novalidate param will prevent the current page from being
263 validated. Useful for navigational links. [msoulier MN00040161]
264
265 * Mon May 10 2004 Michael Soulier <msoulier@e-smith.com>
266 - [0.91-09]
267 - Forward-port of dcr-30134, adding the menu attribute to the page tag.
268 [msoulier MN00030134]
269
270 * Wed Jan 28 2004 Michael Soulier <msoulier@e-smith.com>
271 - [0.91-08]
272 - Fixed weak pattern matching in CGI::FormMagick::Validator::Basic::number.
273 [msoulier 9039]
274
275 * Mon Jan 5 2004 Michael Soulier <msoulier@e-smith.com>
276 - [0.91-07]
277 - Fixed bad enctype in forms definition. [msoulier 10699]
278
279 * Wed Nov 19 2003 Michael Soulier <msoulier@e-smith.com>
280 - [0.91-06]
281 - Rolled back change in 0.91-03, as it broke the ibays panel. [msoulier 9404]
282
283 * Wed Oct 22 2003 Michael Soulier <msoulier@e-smith.com>
284 - [0.91-05]
285 - Updated get_lexicon to merge available language lexicon in reverse order to
286 the preferred languages, so the fallback languages work when the primary is
287 not available. [msoulier 10397]
288
289 * Fri Sep 5 2003 Tony Clayton <apc@e-smith.com>
290 - [0.91-04]
291 - Added munge_fm_obj() hook to FormMagick.pm [tonyc 9924]
292
293 * Wed Sep 3 2003 Michael Soulier <msoulier@e-smith.com>
294 - [0.91-03]
295 - Moved the parse_xml() call, and the CGI::Persistent object creation, to the
296 constructor where they belong. [msoulier 9404]
297
298 * Wed Sep 3 2003 Michael Soulier <msoulier@e-smith.com>
299 - [0.91-02]
300 - Fixed bug in handling of literal widgets. [msoulier 8671]
301
302 * Wed Sep 3 2003 Michael Soulier <msoulier@e-smith.com>
303 - [0.91-01]
304 - rolling to dev stream - 0.91
305
306 * Wed Sep 3 2003 Michael Soulier <msoulier@e-smith.com>
307 - [0.90-01]
308 - rolling to stable stream - 0.90
309
310 * Tue Jun 24 2003 Tony Clayton <apc@e-smith.com>
311 - [0.89-06]
312 - Fix TagMaker to allow input fields with value="0" [tonyc 9134]
313
314 * Tue May 6 2003 Michael Soulier <msoulier@e-smith.com>
315 - [0.89-05]
316 - Fixed bad handling of literal widgets. [msoulier 8671]
317
318 * Tue May 6 2003 Michael Soulier <msoulier@e-smith.com>
319 - [0.89-04]
320 - Fixed position of the skip_header check so that it's after the establishment
321 of the page number. Otherwise, the page number defaults and the wrong
322 post-event is executed. [msoulier 8637]
323
324 * Fri May 2 2003 Michael Soulier <msoulier@e-smith.com>
325 - [0.89-03]
326 - Added support for a skip_header parameter, to force the display method to
327 give complete control over the HTTP response to the post-event.
328 [msoulier 8637]
329
330 * Thu Feb 20 2003 Mark Knox <markk@e-smith.com>
331 - [0.89-02]
332 - Allow for dynamic field types using a subroutine call [markk 6735]
333
334 * Wed Feb 05 2003 Mark Knox <m_knox@mitel.com>
335 - [0.89-01]
336 - Changed author details in Makefile.PL.
337 - Rolled to v0.89
338
339 * Wed Feb 05 2003 Mark Knox <m_knox@mitel.com>
340 - [0.88-01]
341 - Rolled up changes from 0.87-01 to 0.87-14es into 0.88 and released to
342 SourceForge & CPAN
343
344 * Sat Jan 25 2003 Mike Dickson <miked@e-smith.com>
345 - [0.87-15es]
346 - removed debugging statements from HTML.pm [miked 6617]
347
348 * Tue Jan 14 2003 Mark Knox <markk@e-smith.com>
349 - [0.87-14es]
350 - Changed DTD and input field sub to allow "rows" and "cols" args on
351 textarea fields, removed size arg on same. [markk 3620]
352
353 * Fri Dec 27 2002 Mike Dickson <miked@e-smith.com>
354 - [0.87-13es]
355 - removed debugging comments [miked 5494]
356
357 * Mon Dec 16 2002 Mike Dickson <miked@e-smith.com>
358 - [0.87-12es]
359 - ui updates [miked 5494]
360
361 * Tue Dec 10 2002 Michael Soulier <msoulier@e-smith.com>
362 - [0.87-11es]
363 - Forgot the dependency on the new module. [msoulier 3388]
364
365 * Tue Dec 10 2002 Michael Soulier <msoulier@e-smith.com>
366 - [0.87-10es]
367 - Tightened the check in email_simple() by adding use of the
368 Mail::RFC822::Address module. [msoulier 3388]
369
370 * Mon Dec 2 2002 Mike Dickson <miked@e-smith.com>
371 - [0.87-09es]
372 - ui update [miked 5494]
373
374 * Fri Nov 22 2002 Mike Dickson <miked@e-smith.com>
375 - [0.87-08es]
376 - update to use new UI elements [miked 5806]
377
378 * Fri Nov 22 2002 Gordon Rowell <gordonr@e-smith.com>
379 - [0.87-07es]
380 - Re-import from latest SRPM so it looks like a cvs2rpm package [gordonr 5806]
381
382 * Thu Oct 03 2002 Mark Knox <markk@e-smith.com>
383 - [0.87-06es]
384 - Removed a stray line from a previous patch that was causing breakage
385 [markk 4423]
386
387 * Mon Sep 30 2002 Mark Knox <markk@e-smith.com>
388 - [0.87-05es]
389 - Improved blank-trimming regexes [markk 4423]
390
391 * Wed Aug 28 2002 Mark Knox <markk@e-smith.com>
392 - [0.87-04es]
393 - Move blank trimming code inside conditional to eliminate warnings [markk
394 4607]
395
396 * Fri Aug 16 2002 Mark Knox <markk@e-smith.com>
397 - [0.87-03es]
398 - Security fix: do not pass full path on session token filename [markk 4652]
399
400 * Mon Jul 22 2002 Mark Knox <markk@e-smith.com>
401 - [0.87-02es]
402 - Patch to trim blank space from start/end of translations [markk 4423]
403
404 * Mon Jul 22 2002 Mark Knox <markk@e-smith.com>
405 - [0.87-01es]
406 - Added "es" suffix. First local build (same as 0.87-01) [markk 4422]
407
408 * Mon Jun 24 2002 Kirrily Robert <skud@e-smith.com>
409 - [0.87-01]
410 - Fixed a minor HTML bug (missing > symbol) which was causing problems
411 with the output of validation error messages. [skud 3807]
412
413 * Mon Jun 24 2002 Kirrily Robert <skud@e-smith.com>
414 - [0.86]
415 - Added get_validation_attribute() routine to make it possible to do the
416 nopipes validation forcing in esmith::FormMagick [skud 3807]
417
418 * Sun Jun 02 2002 Gordon Rowell <gordonr@e-smith.com>
419 - Place the "nopipes" validator before all others. We never want to
420 allow pipes in fields for e-smith databases. This may be able to
421 be done at the esmith::FormMagick level, but this works for now.
422 [gordonr 3752]
423
424 * Wed May 29 2002 Kirrily Robert <skud@e-smith.com>
425 - [0.85-01]
426 - Fixed charset bug for text fields that come from subroutines [skud
427 3677]
428
429 * Thu May 16 2002 Kirrily Robert <skud@e-smith.com>
430 - [0.84-02]
431 - Messed it up, had to repackage. [skud #3390]
432
433 * Thu May 16 2002 Kirrily Robert <skud@e-smith.com>
434 - [0.84-01]
435 - Fixed select box charset problem [skud #3390]
436
437 * Mon May 13 2002 Kirrily Robert <skud@e-smith.com>
438 - [0.83-01]
439 - Various minor bugfixes etc [skud #3339, #3371, #3390, #3405]
440
441 * Tue May 07 2002 Kirrily Robert <skud@e-smith.com>
442 - [0.82-02]
443 - Added dependency on Text::Template 1.40 or higher [skud #3371]
444
445 * Tue May 07 2002 Kirrily Robert <skud@e-smith.com>
446 - [0.82-01]
447 - Fixed up various warnings that were thrown to the httpd error log.
448 [skud #3278, #3358]
449 - Templated form headers/footers are now untainted automatically.
450 [skud #3371]
451
452 * Fri May 03 2002 Kirrily Robert <skud@e-smith.com>
453 - [0.81-02]
454 - Added dependency for Text::Iconv
455
456 * Wed May 01 2002 Kirrily Robert <skud@e-smith.com>
457 - [0.81-01]
458 - Now fails more gracefully on XML errors, dumping the XML to a file in
459 /tmp as a side effect
460 - You can now specify the default XML character set encoding as an
461 argument to new() (defaults to undef). In future versions this should
462 be changed to work on a per-lexicon basis, but for now we will use this
463 stopgap measure.
464 - Fixed a bug which was causing fallback_language not to work.
465
466 * Fri Apr 12 2002 Kirrily Robert <skud@e-smith.com>
467 - [0.80-01]
468 - langtags are now all smashed to lower case
469
470 * Thu Apr 04 2002 Kirrily Robert <skud@e-smith.com>
471 - [0.79-01]
472 - Updating to release 0.79.
473
474 * Thu Apr 04 2002 Kirrily Robert <skud@e-smith.com>
475 - [0.78-01]
476 - Updating to release 0.78.
477
478 * Wed Apr 03 2002 Kirrily Robert <skud@e-smith.com>
479 - [0.77-01]
480 - Updating to release 0.77.
481
482 * Wed Mar 20 2002 Kirrily Robert <skud@e-smith.com>
483 - [0.75-01]
484 - Updating to release 0.75.
485
486 * Wed Mar 14 2002 Gordon Rowell <gordonr@e-smith.com>
487 - [0.70-02]
488 - Removed use for Locale::Maketext, pending new cvs tarball from
489 SourceForge (which is down ATM)
490
491 * Wed Feb 20 2002 Adrian Chung <adrianc@e-smith.com>
492 - [0.70-01]
493 - Updating to release 0.70.
494
495 * Thu Feb 07 2002 Adrian Chung <adrianc@e-smith.com>
496 - [0.60-01]
497 - Updated to 0.60.
498
499 * Wed Jan 23 2002 Adrian Chung <adrianc@e-smith.com>
500 - [0.50-01]
501 - Updated to 0.50.
502
503 * Wed Dec 19 2001 Gordon Rowell <gordonr@e-smith.com>
504 - [0.49-03]
505 - Updated with skud's tarball of the day
506
507 * Mon Dec 17 2001 Gordon Rowell <gordonr@e-smith.com>
508 - [0.49-02]
509 - Added dependencies for the swag of modules required. These should
510 probably be listed in the CPAN module instead
511
512 * Mon Oct 01 2001 charlieb <charlieb@lamington>
513 - Spec file automatically generated by cpan2rpm

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