/[smeserver]/rpms/e-smith-quota/sme9/e-smith-quota.spec
ViewVC logotype

Annotation of /rpms/e-smith-quota/sme9/e-smith-quota.spec

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


Revision 1.1 - (hide annotations) (download)
Wed Feb 13 06:00:09 2013 UTC (11 years, 3 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-quota-2_4_0-1_el6_sme
* Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.4.0-1.sme
- Rolling for SME 9
- Perl modules moved to /usr/share/perl5/vendor_perl [SME: 7223]

1 wellsi 1.1 # $Id: e-smith-quota.spec,v 1.20 2012/01/02 05:24:30 wellsi Exp $
2    
3     Summary: e-smith server and gateway - quota module
4     %define name e-smith-quota
5     Name: %{name}
6     %define version 2.4.0
7     %define release 1
8     Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: System Environment/Base
12     Source: %{name}-%{version}.tar.xz
13     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14     BuildArchitectures: noarch
15     Requires: e-smith-base >= 4.9.129, quota >= 3, perl-Quota
16     Requires: e-smith-lib >= 1.13.1
17     Requires: e-smith-formmagick >= 1.4.0-12
18     BuildRequires: e-smith-devtools >= 1.11.0-03
19     BuildRequires: gettext
20     AutoReqProv: no
21    
22     %description
23     e-smith server and gateway software - quota module.
24    
25     %changelog
26     * Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.4.0-1.sme
27     - Rolling for SME 9
28     - Perl modules moved to /usr/share/perl5/vendor_perl [SME: 7223]
29    
30     * Sun Jan 1 2012 Ian Wells <esmith@wellsi.com> 2.2.0-10.sme
31     - Improve error message for quota [SME: 6797]
32    
33     * Fri Mar 11 2011 Ian Wells <esmith@wellsi.com> 2.2.0-9.sme
34     - Correct copy-paste error for $exponent [SME: 6545]
35    
36     * Sun Nov 28 2010 Ian Wells <esmith@wellsi.com> 2.2.0-8.sme
37     - Quota panel should only accept uppercase units [SME: 6406]
38    
39     * Sat Nov 27 2010 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme
40     - Correction to allow units in upper and lower case [SME: 5248]
41    
42     * Sat Nov 27 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme
43     - Allow non-integers in Quota [SME: 5248]
44    
45     * Sun Nov 21 2010 Ian Wells <esmith@wellsi.com> 2.2.0-5.sme
46     - SME 8.0 Changelog Cleanup [SME: 6368]
47    
48     * Thu Nov 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme
49     - Enable quotas on ext4 filesystems as well [SME: 6309]
50    
51     * Wed Apr 28 2010 Ian Wells <esmith@wellsi.com> 2.2.0-3.sme
52     - Improve the HTML formatting of the modify quota panel [SME: 5867]
53    
54     * Mon Apr 13 2009 Gavin Weight <gweight@gmail.com> 2.2.0-2.sme
55     - Remove unnecessary Mount Proc line. [SME: 4112]
56    
57     * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
58     - Roll new stream to separate sme7/sme8 trees [SME: 4633]
59    
60     * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.10.0-11
61     - Add common <base> tags to e-smith-formmagick's general [SME: 4284]
62    
63     * Fri Mar 28 2008 Stephen Noble <support@dungog.net> 1.10.0-10
64     - Add spacing and localise 'files' [SME: 4133]
65    
66     * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.10.0-9
67     - Remove <base> tags now in general [SME: 3927]
68    
69     * Tue Feb 12 2008 chris burnat <devlist@burnat.com> 1.10.0-8
70     - Fix deletion of usernames with one character [SME: 2451]
71    
72     * Mon Dec 17 2007 Shad L. Lords <slords@mail.com> 1.10.0-7
73     - Enable quotas for all lvm partitions [SME: 3651]
74    
75     * Sun Oct 14 2007 Shad L. Lords <slords@mail.com> 1.10.0-6
76     - Remove unnecessary build dependency [SME: 3534]
77    
78     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
79     - Clean up spec so package can be built by koji/plague
80    
81     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
82     - Update to new release naming. No functional changes.
83     - Make Packager generic
84    
85     * Sun Jul 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-04
86     - Fix sanity checking of hard/soft quota values, and fix "no limit" display
87     text (fixes thanks to Robert van den Aker). [SME: 1462]
88    
89     * Sun Jul 16 2006 Gavin Weight <gweight@gmail.com> 1.10.0-03
90     - Fix quota.pm to allow account names with ".". [SME: 1702]
91    
92     * Mon May 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-02
93     - Fix mis-sorting of users in quota table. [SME: 1346]
94    
95     * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-01
96     - Roll stable stream version. [SME: 1016]
97    
98     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.2-05
99     - Bump release number only
100    
101     * Thu Oct 20 2005 Charlie Brady <charlieb@e-smith.com>
102     - [1.9.2-04]
103     - Add line break to over-quota email message to improve readability.
104    
105     * Wed Oct 19 2005 Charlie Brady <charlieb@e-smith.com>
106     - [1.9.2-03]
107     - Re-fix L10N in over-quota warning messages. [SF: 1312830]
108    
109     * Tue Oct 18 2005 Charlie Brady <charlieb@e-smith.com>
110     - [1.9.2-02]
111     - In warnquota, give Text::Template::fill_in an aliased reference to
112     $conf, rather than a copy. [SF: 1312772]
113    
114     * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
115     - [1.9.2-01]
116     - Remove L10Ns from base packages [SF: 1309520]
117    
118     * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
119     - [1.9.1-01]
120     - New dev stream before relocating L10Ns
121    
122     * Tue Oct 4 2005 Charlie Brady <charlieb@e-smith.com>
123     - [1.9.0-14]
124     - Fix L10N in over-quota warning messages. [SF: 1312830]
125    
126     * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
127     - [1.9.0-13]
128     - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266]
129    
130     * Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com>
131     - [1.9.0-12]
132     - Added German L10N - Thanks Dietmar Berteld [SF: 1293325]
133    
134     * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
135     - [1.9.0-11]
136     - Update to current db access APIs (patches by Shad and Charlie) [SF: 1216546]
137    
138     * Wed Jul 13 2005 Charlie Brady <charlieb@e-smith.com>
139     - [1.9.0-10]
140     - Add quota setup in fstab templates (moved from e-smith-base).
141    
142     * Mon Jun 27 2005 Charlie Brady <charlieb@e-smith.com>
143     - [1.9.0-09]
144     - Really fix permissions of /etc/cron.d/warnquota. [SF: 1226700]
145    
146     * Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com>
147     - [1.9.0-08]
148     - Make perms of /etc/cron.d/warnquota acceptible to latest crond.
149     [SF: 1226700]
150    
151     * Thu Mar 17 2005 Charlie Brady <charlieb@e-smith.com>
152     - [1.9.0-07]
153     - Fix some perl anachronisms which elicit warnings. [MN00075093]
154    
155     * Thu Mar 10 2005 Charlie Brady <charlieb@e-smith.com>
156     - [1.9.0-06]
157     - Update success and error messages to use new convention
158     (patch submitted by Shad Lords).
159    
160     * Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com>
161     - [1.9.0-05]
162     - Remount / with quota support before trying to create quota
163     files. [MN00061221]
164    
165     * Fri Dec 24 2004 Charlie Brady <charlieb@e-smith.com>
166     - [1.9.0-04]
167     - Fix rc.quota_create's check for existing quota file, and add
168     convertquota calls, in case of old style quota files.
169     [MN00061221]
170    
171     * Thu Dec 16 2004 Charlie Brady <charlieb@e-smith.com>
172     - [1.9.0-03]
173     - Run /etc/rc.d/rc.quota_create before rc.sysinit, to enable
174     filesystem quota support. [charlieb MN00061221]
175    
176     * Wed Nov 10 2004 Charlie Brady <charlieb@e-smith.com>
177     - [1.9.0-02]
178     - Untaint acct before using in system(). [charlieb MN00050161]
179    
180     * Wed Nov 10 2004 Charlie Brady <charlieb@e-smith.com>
181     - [1.9.0-01]
182     - Changing version to development stream number - 1.9.0
183    
184     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
185     - [1.8.0-01]
186     - Changing version to stable stream number - 1.8.0
187    
188     * Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com>
189     - [1.7.0-22]
190     - Spanish nav bar [gordonr 9153]
191    
192     * Fri May 30 2003 Mark Knox <markk@e-smith.com>
193     - [1.7.0-21]
194     - Whoops. Don't need /usr/lib/e-smith-quota anymore. Removed [markk 8847]
195    
196     * Fri May 30 2003 Mark Knox <markk@e-smith.com>
197     - [1.7.0-20]
198     - Create template output dir in %build, and fragments need Locale::gettext
199     [markk 8847]
200    
201     * Fri May 30 2003 Charlie Brady <charlieb@e-smith.com>
202     - [1.7.0-19]
203     - Move fstab fragment into e-smith-base. [charlieb 8868]
204    
205     * Tue May 6 2003 Lijie Deng <lijied@e-smith.com>
206     - [1.7.0-18]
207     - Add Spanish lexicon for quota [lijied 3793]
208    
209     * Thu Apr 17 2003 Lijie Deng <lijied@e-smith.com>
210     - [1.7.0-17]
211     - Standardize the Add/Remove/Save button name [lijied 7921]
212    
213     * Thu Apr 10 2003 Lijie Deng <lijied@e-smith.com>
214     - [1.7.0-16]
215     - Change $q->table back [lijied 8034]
216    
217     * Fri Apr 4 2003 Lijie Deng <lijied@e-smith.com>
218     - [1.7.0-15]
219     - Change $q->table to $q->start_table where necessary [lijied 8034]
220    
221     * Thu Apr 3 2003 Lijie Deng <lijied@e-smith.com>
222     - [1.7.0-14]
223     - Removed SME Server branding [lijied 8016]
224    
225     * Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com>
226     - [1.7.0-13]
227     - Modified /po/fr_CA to fr [lijied 6787]
228    
229     * Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com>
230     - [1.7.0-12]
231     - Modified French lexicon to use lang="fr", rename the lexicon
232     directory to fr [lijied 6787]
233    
234     * Mon Mar 10 2003 Lijie Deng <lijied@e-smith.com>
235     - [1.7.0-11]
236     - Modified charset tag in .po file [lijied 3930]
237    
238     * Fri Mar 7 2003 Lijie Deng <lijied@e-smith.com>
239     - [1.7.0-10]
240     - Modified en-us and fr-ca panel title
241     modified en-us and fr-ca nav bar label [lijied 7356]
242     - Modified e-smith-devtools version [lijied 7578]
243    
244     * Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com>
245     - [1.7.0-09]
246     - Modified quotas panel order [lijied 7356]
247     - Added French .po file to po/fr_CA, and modified the
248     %build in spec file [lijied 7442]
249    
250     * Tue Mar 4 2003 Lijie Deng <lijied@e-smith.com>
251     - [1.7.0-08]
252     - Split en-us lexicon from quota panel [lijied 4030]
253    
254     * Mon Mar 3 2003 Lijie Deng <lijied@e-smith.com>
255     - [1.7.0-07]
256     - Added French lexicon for quota. [lijied 5003]
257    
258     * Sat Jan 25 2003 Mike Dickson <miked@e-smith.com>
259     - [1.7.0-06]
260     - added ACTION to the lexicon [miked 6363]
261    
262     * Wed Jan 1 2003 Gordon Rowell <gordonr@e-smith.com>
263     - [1.7.0-05]
264     - Rewrote templates to use esmith::I18N [gordonr 5212]
265    
266     * Fri Dec 27 2002 Mike Dickson <miked@e-smith.com>
267     - [1.7.0-04]
268     - minor UI update [miked 5494]
269    
270     * Mon Dec 9 2002 Mike Dickson <miked@e-smith.com>
271     - [1.7.0-03]
272     - updates for new UI [miked 5494]
273    
274     * Thu Nov 21 2002 Mike Dickson <miked@e-smith.com>
275     - [1.7.0-02]
276     - update to new UI system [miked 5494]
277    
278     * Wed Nov 20 2002 Mike Dickson <miked@e-smith.com>
279     - [1.7.0-01]
280     - Changing to development stream; version upped to 1.7.0
281    
282     * Wed Oct 16 2002 Gordon Rowell <gordonr@e-smith.com>
283     - [1.6.1-03]
284     - Don't suppress quota warnings if hard limit is zero [gordonr 5230]
285    
286     * Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com>
287     - [1.6.1-02]
288     - Fix I18N of From header in warning emails. Quote "full name"
289     part of From header (to be sure). [charlieb 5205]
290    
291     * Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com>
292     - [1.6.1-01]
293     - Fix use of comma as string concat operator in overquota mail message
294     templates. Break some long lines while we are at it. [charlieb 5178]
295    
296     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
297     - [1.6.0-01]
298     - Roll to maintained version number to 1.6.0
299    
300     * Fri Oct 11 2002 Mark Knox <markk@e-smith.com>
301     - [1.5.3-03]
302     - Improved unit suffix handling to more closely correspond to docs [markk 5102]
303     - Allow "unlimited" hard quota with soft quota [markk 5102]
304    
305     * Tue Oct 8 2002 Mark Knox <markk@e-smith.com>
306     - [1.5.3-02]
307     - Improved error strings [markk 5102]
308    
309     * Wed Sep 25 2002 Mark Knox <markk@e-smith.com>
310     - [1.5.3-01]
311     - Rolled version to clean up patch errors
312    
313     * Wed Sep 25 2002 Mark Knox <markk@e-smith.com>
314     - [1.5.2-04]
315     - Clean up panel display and instructions [markk 4475]
316    
317     * Wed Sep 4 2002 Mark Knox <markk@e-smith.com>
318     - [1.5.2-03]
319     - Disambiguated the explanation of how disk usage is calculated. [markk 4473]
320    
321     * Tue Aug 27 2002 Mark Knox <markk@e-smith.com>
322     - [1.5.2-02]
323     - Display decimal values in summary screen [markk 4475]
324     - Allow entry of KB, MB, or GB values in modify panel [markk 4475]
325     - Choose and display "best" unit in modify panel [markk 4475]
326    
327     * Thu Aug 8 2002 Charlie Brady <charlieb@e-smith.com>
328     - [1.5.2-01]
329     - Remove dangling enable-quota symlinks. [charlieb 4297]
330    
331     * Mon Aug 5 2002 Charlie Brady <charlieb@e-smith.com>
332     - [1.5.1-01]
333     - Bump quota requirement to version 3.
334     - Fix fstab template to handle ext3 file systems. [charlieb 4297]
335     - Remove action script which runs quotacheck - this is now done by rc.sysinit
336     during reboot. [charlieb 4297]
337    
338     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
339     - [1.5.0-01]
340     - Changing version to development stream number to 1.5.0
341    
342     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
343     - [1.4.0-01]
344     - Changing version to maintained stream number to 1.4.0
345    
346     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
347     - [1.3.9-01]
348     - RPM rebuild forced by cvsroot2rpm
349    
350     * Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com>
351     - [1.3.8-01]
352     - Move enable-quota back into post-{install,upgrade}. Skip the quotacheck
353     if the quota files exist. For an install, they won't. For an upgrade
354     from a previously quota'ed system, they will and we don't want to
355     bother checking the whole filesystem during the upgrade. For an upgrade
356     from a pre-quota system they won't exist, so we need to check.
357     Note: /etc/fstab must have the quota options enabled before we attempt
358     to run quotacheck or it exits silently [gordonr 3439]
359    
360     * Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com>
361     - [1.3.7-01]
362     - Turn quotas on (well, off then on) after enabling quotas in case
363     we didn't enable them at boot time in an upgrade from version which
364     didn't have quotas [gordonr 3439]
365    
366     * Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com>
367     - [1.3.6-01]
368     - Re-add enable-quotas to post-install, after expansion of /etc/fstab
369     [gordonr 3439]
370    
371     * Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com>
372     - [1.3.5-01]
373     - Updated e-smith-base dependency [gordonr 3439]
374    
375     * Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com>
376     - [1.3.4-01]
377     - Relocated the scaffolding for /etc/fstab templates to e-smith-base,
378     leaving the enable quotas fragment here. The template is also expanded
379     with an action in e-smith-base. Updated e-smith-base Requires [gordonr 3439]
380    
381     * Mon May 13 2002 Gordon Rowell <gordonr@e-smith.com>
382     - [1.3.3-01]
383     - Really fix createlinks [gordonr 3439]
384    
385     * Mon May 13 2002 Gordon Rowell <gordonr@e-smith.com>
386     - [1.3.2-01]
387     - Actually run enable-quotas in bootstrap-console-save and fix
388     createlinks [gordonr 3439]
389    
390     * Mon May 13 2002 Gordon Rowell <gordonr@e-smith.com>
391     - [1.3.1-01]
392     - Moving to stream 1.3.1 (1.3.0 skipped by accidentally)
393     - Check all quotas during bootstrap-console-save rather than
394     post-upgrade so that the install completes quickly, even on
395     a machine with lots of disk to check. [gordonr 3439]
396    
397     * Wed May 8 2002 Gordon Rowell <gordonr@e-smith.com>
398     - [1.2.8-01]
399     - Subst scanmail.tmpl -> template name in both quota templates [markk 3029]
400     - Need to enable quotas before trying to restore them :-) [gordonr 2730]
401    
402     * Wed May 8 2002 Mark Knox <markk@e-smith.com>
403     - [1.2.7-01]
404     - Added gettext in quota warning templates [markk 3029]
405    
406     * Tue May 7 2002 Gordon Rowell <gordonr@e-smith.com>
407     - [1.2.6-01]
408     - Localised "Modify" link on main page [markk 3317]
409    
410     * Wed May 1 2002 Gordon Rowell <gordonr@e-smith.com>
411     - [1.2.5-01]
412     - esmith::AccountDB -> esmith::AccountsDB [schwern 3287]
413    
414     * Wed Apr 24 2002 Gordon Rowell <gordonr@e-smith.com>
415     - [1.2.4-01]
416     - Rewording SOFT/HARD errors for consistency [gordonr 3027]
417    
418     * Mon Apr 22 2002 Adrian Chung <adrianc@e-smith.com>
419     - [1.2.3-01]
420     - Pass the $user object instead of the $username variable in user-modify-quota.
421    
422     * Tue Apr 16 2002 Mark Knox <markk@e-smith.com>
423     - [1.2.2-01]
424     - Added a missing button in the modify user page [markk 3159]
425    
426     * Mon Apr 15 2002 Mark Knox <markk@e-smith.com>
427     - [1.2.1-01]
428     - Adding warning for Quota::query failure to warnquota & user-modify-quota
429     [schwern 2730]
430     - Testing user-modify-quota [schwern 2729 2730]
431     - Converted to FormMagick panel and internationalized. Added some POD and
432     tests. [markk 3159]
433     - Added buildtests in %build [markk 3159]
434    
435     * Thu Mar 7 2002 Charlie Brady <charlieb@e-smith.com>
436     - [1.2.0-01]
437     - rollRPM: Rolled version number too 1.2.0-01. Includes patches up to 1.0.0-02.
438     - DO NOT MAKE ANY FURTHER CHANGES TO THIS FILE, as this is the base version
439     being imported into CVS.
440    
441     * Fri Feb 01 2002 Charlie Brady <charlieb@e-smith.com>
442     - [1.0.0-02]
443     - Allow hard and soft quota to be equal. This also allows the quota to be
444     removed. See #2729.
445     - Set quota limits for all users in post-upgrade event. This allows for
446     a system restore to have properly set up quotas.
447    
448     * Tue Dec 11 2001 Jason Miller <jay@e-smith.com>
449     - [1.0.0-01]
450     - rollRPM: Rolled version number to 1.0.0-01. Includes patches up to 0.1.1-09.
451    
452     * Wed Dec 5 2001 Adrian Chung <adrianc@e-smith.com>
453     - [0.1.1-09]
454     - Adding new warnquota script that sends mail to users who have exceeded their
455     "limit with grace time", and a summary report to admin.
456     - Adding admin summary template, and user quota warning template to
457     /etc/e-smith/templates/usr/lib/e-smith-quota
458    
459     * Wed Dec 5 2001 Adrian Chung <adrianc@e-smith.com>
460     - [0.1.1-08]
461     - Adding check in panel to make sure that soft limit
462     is less than hard limit.
463     - Also insert missing subroutine prototype.
464    
465     * Thu Nov 15 2001 Adrian Chung <adrianc@e-smith.com>
466     - [0.1.1-07]
467     - More text changes to the quota panel.
468     - Changed kB sizing output to mB sizing.
469     - Still no genSmallRedCellRightJustified. Yet.
470    
471     * Wed Nov 14 2001 Charlie Brady <charlieb@e-smith.com>
472     - [0.1.1-06]
473     - Add daily quota warning script. For now, just use a wrapper for
474     /usr/sbin/warnquota. In time we will write our own script in perl
475     and produce a customised report.
476    
477     * Wed Nov 14 2001 Adrian Chung <adrianc@e-smith.com>
478     - [0.1.1-05]
479     - Update createlinks to create manager quota panel link
480     - More text changes to quota panel.
481     - Use genSmallCellRightJustified
482     - Create "Modify" button.
483    
484     * Wed Nov 14 2001 Adrian Chung <adrianc@e-smith.com>
485     - [0.1.1-04]
486     - Add some wording to panel, and change wording of
487     soft and hard limits to "limit with grace time" and
488     "immediate limit"
489     - Still to roll in genSmallCellRight
490    
491     * Tue Nov 13 2001 Charlie Brady <charlieb@e-smith.com>
492     - [0.1.1-03]
493     - Add bare bones web panel which allows setting of soft and hard file limits.
494    
495     * Mon Nov 12 2001 Charlie Brady <charlieb@e-smith.com>
496     - [0.1.1-02]
497     - Add action script to set and modify quotas using properties from the accounts
498     db.
499    
500     * Fri Nov 09 2001 Charlie Brady <charlieb@e-smith.com>
501     - Initial
502    
503     %prep
504     %setup
505    
506     %build
507     mkdir -p root/etc/e-smith/events/post-{install,upgrade}
508     mkdir -p root/etc/e-smith/events/user-{create,modify}
509     mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin
510    
511     xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/adminQuotaSummary.tmpl.po \
512     root/etc/e-smith/templates/usr/lib/e-smith-quota/adminQuotaSummary.tmpl -L perl
513     xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/userOverQuota.tmpl.po \
514     root/etc/e-smith/templates/usr/lib/e-smith-quota/userOverQuota.tmpl -L perl
515    
516     perl createlinks
517     /sbin/e-smith/buildtests 50-e-smith-quota
518    
519     /sbin/e-smith/generate-lexicons
520    
521     %install
522     rm -rf $RPM_BUILD_ROOT
523     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
524     rm -f %{name}-%{version}-%{release}-filelist
525     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
526     --file /etc/rc.d/rc.quota_create 'attr(0755,root,root)' \
527     --file /etc/cron.d/warnquota 'attr(0644,root,root)' \
528     > %{name}-%{version}-%{release}-filelist
529     echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
530    
531     %clean
532     rm -rf $RPM_BUILD_ROOT
533    
534     %files -f %{name}-%{version}-%{release}-filelist
535     %defattr(-,root,root)

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