1 |
|
# $Id: e-smith-quota.spec,v 1.16 2010/11/27 10:23:51 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 5 |
%define release 7 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: e-smith-base >= 4.9.129, quota >= 3, perl-Quota |
Requires: e-smith-base >= 4.9.129, quota >= 3, perl-Quota |
20 |
Requires: e-smith-lib >= 1.13.1 |
Requires: e-smith-lib >= 1.13.1 |
21 |
BuildRequires: e-smith-devtools >= 1.11.0-03, e-smith-test >= 0.1.12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
22 |
|
BuildRequires: e-smith-devtools >= 1.11.0-03 |
23 |
BuildRequires: gettext |
BuildRequires: gettext |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
27 |
e-smith server and gateway software - quota module. |
e-smith server and gateway software - quota module. |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Sat Nov 27 2010 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme |
31 |
|
- Correction to allow units in upper and lower case [SME: 5248] |
32 |
|
|
33 |
|
* Sat Nov 27 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
34 |
|
- Allow non-integers in Quota [SME: 5248] |
35 |
|
|
36 |
|
* Sun Nov 21 2010 Ian Wells <esmith@wellsi.com> 2.2.0-5.sme |
37 |
|
- SME 8.0 Changelog Cleanup [SME: 6368] |
38 |
|
|
39 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
40 |
|
- Enable quotas on ext4 filesystems as well [SME: 6309] |
41 |
|
|
42 |
|
* Wed Apr 28 2010 Ian Wells <esmith@wellsi.com> 2.2.0-3.sme |
43 |
|
- Improve the HTML formatting of the modify quota panel [SME: 5867] |
44 |
|
|
45 |
|
* Mon Apr 13 2009 Gavin Weight <gweight@gmail.com> 2.2.0-2.sme |
46 |
|
- Remove unnecessary Mount Proc line. [SME: 4112] |
47 |
|
|
48 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
49 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
50 |
|
|
51 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.10.0-11 |
52 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4284] |
53 |
|
|
54 |
|
* Fri Mar 28 2008 Stephen Noble <support@dungog.net> 1.10.0-10 |
55 |
|
- Add spacing and localise 'files' [SME: 4133] |
56 |
|
|
57 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.10.0-9 |
58 |
|
- Remove <base> tags now in general [SME: 3927] |
59 |
|
|
60 |
|
* Tue Feb 12 2008 chris burnat <devlist@burnat.com> 1.10.0-8 |
61 |
|
- Fix deletion of usernames with one character [SME: 2451] |
62 |
|
|
63 |
|
* Mon Dec 17 2007 Shad L. Lords <slords@mail.com> 1.10.0-7 |
64 |
|
- Enable quotas for all lvm partitions [SME: 3651] |
65 |
|
|
66 |
|
* Sun Oct 14 2007 Shad L. Lords <slords@mail.com> 1.10.0-6 |
67 |
|
- Remove unnecessary build dependency [SME: 3534] |
68 |
|
|
69 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
70 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
71 |
|
|
496 |
%patch0 -p1 |
%patch0 -p1 |
497 |
%patch1 -p1 |
%patch1 -p1 |
498 |
%patch2 -p1 |
%patch2 -p1 |
499 |
|
%patch3 -p1 |
500 |
|
|
501 |
%build |
%build |
502 |
mkdir -p root/etc/e-smith/events/post-{install,upgrade} |
mkdir -p root/etc/e-smith/events/post-{install,upgrade} |
503 |
mkdir -p root/etc/e-smith/events/user-{create,modify} |
mkdir -p root/etc/e-smith/events/user-{create,modify} |
504 |
mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin |
mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin |
505 |
|
|
506 |
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 \ |
507 |
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 |
508 |
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 \ |
509 |
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 |
510 |
|
|
511 |
perl createlinks |
perl createlinks |
512 |
/sbin/e-smith/buildtests 50-e-smith-quota |
/sbin/e-smith/buildtests 50-e-smith-quota |