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

Contents of /rpms/e-smith-quota/sme8/e-smith-quota.spec

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


Revision 1.20 - (show annotations) (download)
Mon Jan 2 05:24:30 2012 UTC (12 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-quota-2_2_0-10_el5_sme, HEAD
Changes since 1.19: +7 -2 lines
Improve error message for quota

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

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