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

Contents 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.3 - (show annotations) (download)
Sun May 5 16:42:24 2013 UTC (11 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -1 lines
Error occurred while calculating annotation data.
Changelog update

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

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