/[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.2 - (show annotations) (download)
Sun May 5 03:28:36 2013 UTC (11 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-quota-2_4_0-2_el6_sme
Changes since 1.1: +7 -2 lines
* Sat May 04 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme
- Remove rc.quota_create [SME: 7227]

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