/[smeserver]/rpms/e-smith-formmagick/sme7/e-smith-formmagick.spec
ViewVC logotype

Annotation of /rpms/e-smith-formmagick/sme7/e-smith-formmagick.spec

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


Revision 1.6 - (hide annotations) (download)
Tue Mar 11 14:03:28 2008 UTC (16 years, 3 months ago) by slords
Branch: MAIN
Changes since 1.5: +1 -1 lines
Fix typo

1 slords 1.1 Summary: e-smith-formmagick Perl modules for web manager i18n
2     %define name e-smith-formmagick
3     Name: %{name}
4     %define version 1.4.0
5 slords 1.5 %define release 10
6 slords 1.1 Version: %{version}
7     Release: %{release}%{?dist}
8     License: Artistic
9     Group: Applications/CPAN
10     Source0: %{name}-%{version}.tar.gz
11     Patch0: e-smith-formmagick-1.4.0-passlength.patch
12 bytegw 1.3 Patch1: e-smith-formmagick-1.4.0-headers.patch
13     Patch2: e-smith-formmagick-1.4.0-add2general.patch
14 bytegw 1.4 Patch3: e-smith-formmagick-1.4.0-add2general.patch2
15 slords 1.5 Patch4: e-smith-formmagick-1.4.0-UTF8.patch
16 slords 1.1 BuildRoot: /var/tmp/%{name}-{%version}-%{release}-buildroot/
17 slords 1.5 Requires: perl(CGI::FormMagick) >= 0.92-15
18 slords 1.1 Requires: perl(WWW::Automate) >= 0.20
19     Requires: perl(Crypt::Cracklib)
20     Requires: perl(I18N::LangTags) >= 0.27
21 slords 1.5 Requires: e-smith-lib >= 1.18.0-21
22 slords 1.1 BuildRequires: e-smith-devtools >= 1.6.6
23     BuildArchitectures: noarch
24    
25     %changelog
26 slords 1.5 * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
27 slords 1.6 - Default charset to UTF-8 unless specified [SME: 3858]
28 slords 1.5
29 bytegw 1.4 * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.4.0-9
30     - And more common <base> entries to general [SME: 3886]
31    
32 bytegw 1.3 * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.4.0-8
33     - Added more common <base> entries to general [SME: 3886]
34    
35     * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.4.0-7
36 bytegw 1.4 - Added header <base> entries to general [SME: 3886]
37 bytegw 1.3
38 bytegw 1.2 * Thu Nov 08 2007 Gavin Weight <gweight@gmail.com> 1.4.0-6
39     - Remove/Fix Formmagick.pm.orig file. [SME: 3526]
40    
41 slords 1.1 * Fri Jun 1 2007 Shad L. Lords <slords@mail.com> 1.4.0-5
42     - pam_unix requires passwords >= 6 [SME: 3039]
43    
44     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
45     - Clean up spec so package can be built by koji/plague
46    
47     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
48     - Update to new release naming. No functional changes.
49     - Make Packager generic
50    
51     * Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-03
52     - Revert last change [SME: 1193]
53    
54     * Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-02
55     - Restrict passwords to 14 characters [SME: 1193]
56    
57     * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.0-01
58     - Roll stable stream version. [SME: 1016]
59    
60     * Thu Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.2-03
61     - 'strong' passwords must meet both Cracklib and the standard password
62     mantra: Upper Case AND Lower Case AND Digits AND Special characters
63     AND at least seven characters long [SME: 161]
64    
65     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.2-02
66     - Bump release number only
67    
68     * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
69     - [1.3.2-01]
70     - Remove L10Ns from base packages [SF: 1309520]
71    
72     * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
73     - [1.3.1-01]
74     - New dev stream before relocating L10Ns
75    
76     * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
77     - [1.3.0-13]
78     - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266]
79    
80     * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
81     - [1.3.0-12]
82     - Added tag for unlocalised string - thanks Filippo Carletti [SF: 1309284]
83    
84     * Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com>
85     - [1.3.0-11]
86     - Added German L10N - Thanks Dietmar Berteld [SF: 1293325]
87    
88     * Mon Sep 5 2005 Tony Clayton <apc@e-smith.com>
89     - [1.3.0-10]
90     - Update requires to CGI::FormMagick >= 0.91-28
91     - Fix esmith::FormMagick constructor brokenness for IbayPlugin compatibility
92    
93     * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
94     - [1.3.0-09]
95     - Add english tags for formmagick validation [SF: 1157116 (Shad)]
96    
97     * Wed Nov 10 2004 Charlie Brady <charlieb@e-smith.com>
98     - [1.3.0-08]
99     - Don't try to read lexicon files which aren't there. [charlieb MN00056737]
100    
101     * Tue Nov 9 2004 Charlie Brady <charlieb@e-smith.com>
102     - [1.3.0-07]
103     - Move changelog to top of spec file. [charlieb]
104     - Don't try to read from unopened file handle in _lexicon_read()
105     [charlieb MN00056701]
106     - Replace deprecated Copyright header with License header. [charlieb]
107    
108     * Fri Oct 1 2004 Michael Soulier <msoulier@e-smith.com>
109     - [1.3.0-06]
110     - Added an error to the top of all pages with errors in them, instructing the
111     user to scroll down for specifics. So far localised in English only.
112     [msoulier MN00046857]
113    
114     * Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com>
115     - [1.3.0-05]
116     - Updated requires with new perl dependencies. [msoulier MN00040240]
117    
118     * Thu Aug 5 2004 Michael Soulier <msoulier@e-smith.com>
119     - [1.3.0-04]
120     - Added patch to permit "permitpipes" in validation, to turn off automagick
121     addition of "nopipes". Thanks to Pascal Schirrmann <schirrms@schirrms.net>
122     for the idea and the preliminary patch.
123     [msoulier MN00044774]
124    
125     * Wed Oct 22 2003 Michael Soulier <msoulier@e-smith.com>
126     - [1.3.0-03]
127     - Updated _lexicon_filename_list to return lexicon from the preferred
128     languages that exists, instead of referencing non-existant files.
129     [msoulier 10397]
130    
131     * Fri Oct 10 2003 Michael Soulier <msoulier@e-smith.com>
132     - [1.3.0-02]
133     - Added display_error and display_success methods. [msoulier 9652]
134    
135     * Fri Oct 10 2003 Michael Soulier <msoulier@e-smith.com>
136     - [1.3.0-01]
137     - roll to dev stream - 1.3.0
138    
139     * Wed Sep 3 2003 Gordon Rowell <gordonr@e-smith.com>
140     - [1.2.1-01]
141     - Rebuild [gordonr 1305]
142    
143     * Wed Sep 3 2003 Gordon Rowell <gordonr@e-smith.com>
144     - [1.2.0-03]
145     - Rebuild [gordonr 1305]
146    
147     * Wed Sep 3 2003 Gordon Rowell <gordonr@e-smith.com>
148     - [1.2.0-02]
149     - Adjusted Copyright [gordonr 1305]
150    
151     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
152     - [1.2.0-01]
153     - Changing version to stable stream number - 1.2.0
154    
155     * Fri Jun 20 2003 Gordon Rowell <gordonr@e-smith.com>
156     - [1.1.2-02]
157     - Bring the icon and message closer (IE fix) [gordonr 9084]
158    
159     * Thu Jun 19 2003 Gordon Rowell <gordonr@e-smith.com>
160     - [1.1.2-01]
161     - Add icon for success/error [gordonr 9055]
162    
163     * Fri May 9 2003 Tony Clayton <apc@e-smith.com>
164     - [1.1.1-17]
165     - Remove duplicate status message from print_status_message [tonyc 8289]
166    
167     * Fri May 9 2003 Tony Clayton <apc@e-smith.com>
168     - [1.1.1-16]
169     - Updated Spanish lexicon - thanks Alejandro [gordonr 3793]
170    
171     * Tue May 6 2003 Gordon Rowell <gordonr@e-smith.com>
172     - [1.1.1-15]
173     - Fixed syntax error in WIP code, and hid it [gordonr 3793]
174    
175     * Tue May 6 2003 Gordon Rowell <gordonr@e-smith.com>
176     - [1.1.1-14]
177     - Replaced "MDP" with mot de passe in FormMagick general lexicon [gordonr 3793]
178     - Added Spanish FM general lexicon [gordonr 3793]
179    
180     * Thu May 1 2003 Tony Clayton <apc@e-smith.com>
181     - [1.1.1-13]
182     - print a sectionbar (hr) after status_message if not decorated [tonyc 8289]
183    
184     * Thu Apr 17 2003 Gordon Rowell <gordonr@e-smith.com>
185     - [1.1.1-12]
186     - Default status message to undecorated until we modify everyone to
187     using $fm->error() and $fm->success() [gordonr 8289]
188    
189     * Tue Apr 8 2003 Gordon Rowell <gordonr@e-smith.com>
190     - [1.1.1-11]
191     - Default status message to error type, not success type [gordonr 7919]
192    
193     * Thu Apr 3 2003 Gordon Rowell <gordonr@e-smith.com>
194     - [1.1.1-10]
195     - Added default error string of "ERROR" in error() method [gordonr 7919]
196    
197     * Thu Apr 3 2003 Gordon Rowell <gordonr@e-smith.com>
198     - [1.1.1-09]
199     - Apply div.success and div.error automatically around the status
200     message in print_status_message as long as panels calls
201     $self->error() or $self->success() [gordonr 7919]
202    
203     * Thu Apr 3 2003 Lijie Deng <lijied@e-smith.com>
204     - [1.1.1-08]
205     - Added sub routine to validate the description [lijied 5054]
206    
207     * Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com>
208     - [1.1.1-07]
209     - Modified French lexicon to use lang="fr", rename the lexicon
210     directory to fr [lijied 6787]
211    
212     * Fri Mar 14 2003 Gordon Rowell <gordonr@e-smith.com>
213     - [1.1.1-06]
214     - Suppress missing languages line if none missing [gordonr 7677]
215    
216     * Fri Mar 14 2003 Mark Knox <markk@e-smith.com>
217     - [1.1.1-05]
218     - Fixed a missing quote, and a subtle circular dependency in lexicon
219     loader [markk 7677]
220    
221     * Fri Mar 14 2003 Gordon Rowell <gordonr@e-smith.com>
222     - [1.1.1-04]
223     - Ensure that the fallback_language is in the list of languages back from
224     get_languages(). Log one "missing languages" line [gordonr 7677]
225    
226     * Tue Mar 11 2003 Gordon Rowell <gordonr@e-smith.com>
227     - [1.1.1-03]
228     - Override get_languages() to only return languages for which we have
229     lexica [gordonr 6787]
230    
231     * Thu Mar 6 2003 Mike Dickson <miked@e-smith.com>
232     - [1.1.1-02]
233     - reverted to old cron system for this server package [miked 6734]
234    
235     * Thu Mar 6 2003 Mike Dickson <miked@e-smith.com>
236     - [1.1.1-01]
237     - moved cron job to crontab [miked6724]
238    
239     * Tue Feb 25 2003 Michael Soulier <msoulier@e-smith.com>
240     - [1.1.0-08]
241     - Added success and error methods to standardize panels. [msoulier 5517]
242    
243     * Thu Jan 16 2003 Mark Knox <markk@e-smith.com>
244     - [1.1.0-07]
245     - Moved locale-specific date generation code into esmith::FormMagick as
246     gen_locale_date_string [markk 3357]
247    
248     * Wed Jan 15 2003 Mark Knox <markk@e-smith.com>
249     - [1.1.0-06]
250     - Removed globs from lexicon file finder [markk 6574]
251    
252     * Fri Dec 27 2002 Mike Dickson <miked@e-smith.com>
253     - [1.1.0-05]
254     - removed debugging messages inserted during UI update [miked 5494]
255    
256     * Mon Dec 9 2002 Mike Dickson <miked@e-smith.com>
257     - [1.1.0-04]
258     - ui update {miked 5494]
259    
260     * Mon Dec 2 2002 Mike Dickson <miked@e-smith.com>
261     - [1.1.0-03]
262     - ui update [miked 5494
263    
264     * Thu Nov 21 2002 Mike Dickson <miked@e-smith.com>
265     - [1.1.0-02]
266     - update to new UI system [miked 5494]
267    
268     * Wed Nov 20 2002 Mike Dickson <miked@e-smith.com>
269     - [1.1.0-01]
270     - Changing to development stream to 1.1.0
271    
272     * Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com>
273     - [1.0.1-01]
274     - Roll new version to fix tagging problem
275    
276     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
277     - [1.0.0-01]
278     - Roll to maintained version number to 1.0.0
279    
280     * Wed Sep 25 2002 Mark Knox <markk@e-smith.com>
281     - [0.3.3-01]
282     - Rolling version to fix patching problems
283    
284     * Wed Sep 25 2002 Mark Knox <markk@e-smith.com>
285     - [0.3.2-05]
286     - Don't export methods we don't provide [markk 4909]
287    
288     * Fri Sep 6 2002 Mark Knox <markk@e-smith.com>
289     - [0.3.2-04]
290     - Added French localisation of NO_PIPES_ALLOWED [markk 3807]
291    
292     * Thu Sep 5 2002 Mark Knox <markk@e-smith.com>
293     - [0.3.2-03]
294     - Corrected a broken test. All tests now pass. [markk 3807]
295    
296     * Wed Sep 4 2002 Charlie Brady <charlieb@e-smith.com>
297     - [0.3.2-02]
298     - Add setting of $ENV{'HOME'} to BEGIN in esmith::FormMagick, specifically
299     so that mysql can find ~root/.my.cnf. [charlieb 4778]
300    
301     * Mon Jun 24 2002 Kirrily Robert <skud@e-smith.com>
302     - [0.3.2-01]
303     - Removed now-superfluous nonblank() validation routine (it checked for
304     nopipes as well, but that's now automatic) [skud 3807]
305    
306     * Mon Jun 24 2002 Kirrily Robert <skud@e-smith.com>
307     - [0.3.1-01]
308     - Nopipes validation is now forced for all fields [skud 3807]
309    
310     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
311     - [0.3.0-01]
312     - Changing version to development stream number to 0.3.0
313    
314     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
315     - [0.2.0-01]
316     - Changing version to maintained stream number to 0.2.0
317    
318     * Fri May 31 2002 Mark Knox <markk@e-smith.com>
319     - [0.1.30-01]
320     - Forgot to export the new sub [markk 3752]
321    
322     * Fri May 31 2002 Mark Knox <markk@e-smith.com>
323     - [0.1.29-01]
324     - Override nonblank to not allow pipes in field data [markk 3752]
325    
326     * Mon May 27 2002 Gordon Rowell <gordonr@e-smith.com>
327     - [0.1.28-01]
328     - Fix filelist generation for access restriction [gordonr 2187]
329    
330     * Mon May 27 2002 Gordon Rowell <gordonr@e-smith.com>
331     - [0.1.27-01]
332     - Restrict access to FormMagick session cache [gordonr 2187]
333    
334     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
335     - [0.1.26-01]
336     - RPM rebuild forced by cvsroot2rpm
337    
338     * Thu May 23 2002 Mark Knox <markk@e-smith.com>
339     - [0.1.25-01]
340     - Change test to expect correct results [markk 3618]
341    
342     * Wed May 22 2002 Charlie Brady <charlieb@e-smith.com>
343     - [0.1.24-01]
344     - Set PATH to /bin:/usr/bin:/usr/local/bin rather than to empty.
345    
346     * Wed May 22 2002 Mark Knox <markk@e-smith.com>
347     - [0.1.23-01]
348     - Localise "it's WAY too short" cracklib message -> fr-ca [markk 3592]
349    
350     * Wed May 22 2002 Mark Knox <markk@e-smith.com>
351     - [0.1.22-01]
352     - Added validate_password method: checks a password using one of cracklib,
353     FormMagick validator, or none. [markk 3592]
354     - Added localisations for password validation messages [markk 3592]
355    
356     * Thu May 16 2002 Kirrily Robert <skud@e-smith.com>
357     - [0.1.21-01]
358     - Renamed en and fr locale directories to en-us and fr-ca [skud 3446]
359    
360     * Thu May 16 2002 Kirrily Robert <skud@e-smith.com>
361     - [0.1.20-01]
362     - Added OPERATION_STATUS_REPORT localisation [skud 3446]
363    
364     * Tue May 14 2002 Tony Clayton <apc@e-smith.com>
365     - [0.1.19-01]
366     - grrr.. fix typo in charset fix [tonyc 3027/3462]
367    
368     * Tue May 14 2002 Tony Clayton <apc@e-smith.com>
369     - [0.1.18-01]
370     - Re-add fix from 0.1.13-01: pass charset option to fm constructor
371     [tonyc 3027]
372     - Re-add export_to_level line in esmith::formmagick::import
373     [tonyc 3027]
374    
375     * Mon May 13 2002 Tony Clayton <apc@e-smith.com>
376     - [0.1.17-01]
377     - Fix esmith::FormMagick::new to pass empty subclass test [tonyc 3109]
378    
379     * Wed May 8 2002 Gordon Rowell <gordonr@e-smith.com>
380     - [0.1.16-01]
381     - left/right trim heading/description entries after localisation [gordonr 3223]
382    
383     * Thu Apr 25 2002 Gordon Rowell <gordonr@e-smith.com>
384     - [0.1.15-01]
385     - Moved FormMagick session cookies to /var/cache/e-smith/formmagick/sessions
386     - Added added tmpwatch (daily, >8 hours old) for above directory [gordonr 3213]
387    
388     * Wed Apr 24 2002 Gordon Rowell <gordonr@e-smith.com>
389     - [0.1.14-01]
390     - Allow FM files in the html directory for {index,initial}.html [gordonr 3201]
391    
392     * Tue Apr 23 2002 Mark Knox <markk@e-smith.com>
393     - [0.1.13-01]
394     - Allow user to specify XML charset, default to ISO-8859-1 [markk 3209]
395    
396     * Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com>
397     - [0.1.12-01]
398     - Again set fallback_language("en-us") [gordonr 3031]
399     - fix undefined value bug in FormMagick.pm when no external lexicons exist
400     [tonyc]
401    
402     * Tue Apr 16 2002 Gordon Rowell <gordonr@e-smith.com>
403     - [0.1.10-01]
404     - Set fallback_language("en-us") [gordonr 3031]
405     - Added optional filename=>"/path/to/script" to new() [gordonr 3155]
406     - Added parsing of navigation headers [gordonr 3155]
407    
408     * Mon Apr 15 2002 Gordon Rowell <gordonr@e-smith.com>
409     - [0.1.10-01]
410     - Re-do symlink resolution using knowledge of e-smith hierarchy. The old
411     one was ugly and would break in the general case anyway [gordonr #3031]
412    
413     * Fri Apr 12 2002 Gordon Rowell <gordonr@e-smith.com>
414     - [0.1.9-01]
415     - Resolve $0 when it turns up as a symlink [gordonr #3031]
416    
417     * Fri Apr 12 2002 Kirrily Robert <skud@e-smith.com>
418     - [0.1.8-01]
419     - Now looks for lexicons in /etc/e-smith/locale [skud #3031]
420    
421     * Fri Mar 15 2002 Gordon Rowell <gordonr@e-smith.com>
422     - [0.1.7-01]
423     - Changed to BuildArchitectures: to noarch
424    
425     * Wed Mar 13 2002 Kirrily Robert <skud@e-smith.com>
426     - [0.1.6-01]
427     - Fixed importing so that esmith::FormMagick exported functions are
428     exported all the way out to scripts using subclasses [skud]
429    
430     * Thu Feb 28 2002 Kirrily Robert <skud@e-smith.com>
431     - [0.1.5-01]
432     - Updated dependencies to more recent Perl libraries and devtools [skud]
433    
434     * Tue Feb 26 2002 Kirrily Robert <skud@e-smith.com>
435     - [0.1.4-01]
436     - added print_status_message() routine
437    
438     * Tue Feb 26 2002 Kirrily Robert <skud@e-smith.com>
439     - [0.1.3-01]
440     - added full path to buildtests directive
441    
442     * Thu Feb 21 2002 Kirrily Robert <skud@e-smith.com>
443     - [0.1.2-01]
444     - cleanup of test scripts
445    
446     * Thu Feb 21 2002 Kirrily Robert <skud@e-smith.com>
447     - [0.1.1-01]
448     - improved tests (skud)
449     - improved documentation (skud)
450     - print_button() now exported (skud)
451     - security settings are now automatic (skud)
452    
453     * Mon Feb 18 2002 Kirrily Robert <skud@e-smith.com>
454     - [0.1.0-01]
455     - Initial release of 0.1.0.
456     %description
457     e-smith-formmagick provides a set of Perl modules containing various
458     convenience functions used to create SMEServer server-manager panels.
459    
460     %prep
461     %setup -q -n %{name}-%{version}
462     %patch0 -p1
463 bytegw 1.3 %patch1 -p1
464     %patch2 -p1
465 bytegw 1.4 %patch3 -p1
466 slords 1.5 %patch4 -p1
467 slords 1.1
468     %build
469     # build the test suite from embedded tests
470     /sbin/e-smith/buildtests 20e-smith-formmagick
471     mkdir -p root/var/cache/e-smith/formmagick/sessions
472    
473     %clean
474     rm -rf $RPM_BUILD_ROOT
475    
476     %install
477     rm -rf $RPM_BUILD_ROOT
478     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
479     rm -f %{name}-%{version}-%{release}-filelist
480     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
481     | grep -v /var/cache/e-smith/formmagick/sessions \
482     >%{name}-%{version}-%{release}-filelist
483     echo '%dir %attr(0700,root,root) /var/cache/e-smith/formmagick/sessions' \
484     >>%{name}-%{version}-%{release}-filelist
485     echo "%doc Copying" >> %{name}-%{version}-%{release}-filelist
486     echo "%doc Artistic" >> %{name}-%{version}-%{release}-filelist
487     echo "%doc LICENSE" >> %{name}-%{version}-%{release}-filelist
488    
489     %files -f %{name}-%{version}-%{release}-filelist
490     %defattr(-,root,root)
491    

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