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

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

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


Revision 1.2 - (hide annotations) (download)
Tue Jun 12 20:19:50 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_92-11_el5_sme
Changes since 1.1: +7 -2 lines
See changelog

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

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