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

Annotation of /rpms/perl-CGI-FormMagick/sme7/perl-CGI-FormMagick-0.92.spec

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


Revision 1.4 - (hide annotations) (download)
Sun Nov 25 00:41:46 2007 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_92-13_el4_sme
Changes since 1.3: +6 -1 lines
updates

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

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