/[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.1 - (hide annotations) (download)
Tue Jun 12 16:51:59 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_92-10_el4_sme
Import on branch sme7 of package perl-CGI-FormMagick-0.92-10.el4.sme.src.rpm

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

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