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 |
Summary: e-smith server and gateway - quota module |
4 |
%define name e-smith-quota |
%define name e-smith-quota |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.10.0 |
%define version 2.2.0 |
7 |
%define release 6 |
%define release 10 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: System Environment/Base |
Group: System Environment/Base |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: e-smith-quota-1.10.0.sort.patch |
Patch0: e-smith-quota-2.2.0-RemoveMountProcLine.patch |
14 |
Patch1: e-smith-quota-1.10.0-UntaintAccountName.patch |
Patch1: e-smith-quota-2.2.0-badly-formmatted-html.patch |
15 |
Patch2: e-smith-quota-1.10.0-Limits.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-base >= 4.9.129, quota >= 3, perl-Quota |
Requires: e-smith-base >= 4.9.129, quota >= 3, perl-Quota |
23 |
Requires: e-smith-lib >= 1.13.1 |
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 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
26 |
BuildRequires: gettext |
BuildRequires: gettext |
27 |
AutoReqProv: no |
AutoReqProv: no |
30 |
e-smith server and gateway software - quota module. |
e-smith server and gateway software - quota module. |
31 |
|
|
32 |
%changelog |
%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 |
* Sun Oct 14 2007 Shad L. Lords <slords@mail.com> 1.10.0-6 |
79 |
- Remove unnecessary build dependency [SME: 3534] |
- Remove unnecessary build dependency [SME: 3534] |
80 |
|
|
508 |
%patch0 -p1 |
%patch0 -p1 |
509 |
%patch1 -p1 |
%patch1 -p1 |
510 |
%patch2 -p1 |
%patch2 -p1 |
511 |
|
%patch3 -p1 |
512 |
|
%patch4 -p1 |
513 |
|
%patch5 -p1 |
514 |
|
%patch6 -p1 |
515 |
|
|
516 |
%build |
%build |
517 |
mkdir -p root/etc/e-smith/events/post-{install,upgrade} |
mkdir -p root/etc/e-smith/events/post-{install,upgrade} |
518 |
mkdir -p root/etc/e-smith/events/user-{create,modify} |
mkdir -p root/etc/e-smith/events/user-{create,modify} |
519 |
mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin |
mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin |
520 |
|
|
521 |
xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/adminQuotaSummary.po \ |
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 |
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.po \ |
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 |
root/etc/e-smith/templates/usr/lib/e-smith-quota/userOverQuota.tmpl -L perl |
525 |
|
|
526 |
perl createlinks |
perl createlinks |
527 |
/sbin/e-smith/buildtests 50-e-smith-quota |
/sbin/e-smith/buildtests 50-e-smith-quota |