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

Annotation of /rpms/perl-CGI-FormMagick/sme10/perl-CGI-FormMagick.spec

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


Revision 1.1 - (hide annotations) (download)
Thu Feb 4 13:06:40 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_93-2_el7_sme
sme10 branch

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

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