/[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.19 - (show annotations) (download)
Fri Mar 11 16:53:33 2011 UTC (13 years, 2 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-quota-2_2_0-9_el5_sme
Changes since 1.18: +7 -2 lines
Correct copy-paste error for $exponent [SME: 6545]

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

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