1 |
# $Id: smeserver-password-1.0.0.spec,v 1.6 2008/04/02 15:03:58 slords Exp $ |
# $Id: smeserver-password.spec,v 1.18 2009/04/27 16:11:21 slords Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-password |
%define name smeserver-password |
6 |
%define version 1.0.0 |
%define version 1.0.0 |
7 |
%define release 8 |
%define release 23 |
8 |
|
|
9 |
Summary: SME Server password panel |
Summary: SME Server password panel |
10 |
Name: %{name} |
Name: %{name} |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-password-1.0.0-locale-2008-03-11.patch |
Patch0: smeserver-password-1.0.0-locale-2008-03-11.patch |
17 |
Patch1: smeserver-password-1.0.0-locale-2008-04-01.patch |
Patch1: smeserver-password-1.0.0-locale-2008-04-01.patch |
18 |
|
Patch2: smeserver-password-1.0.0-initdb.patch |
19 |
|
Patch3: smeserver-password-1.0.0-locale-2008-04-22.patch |
20 |
|
Patch4: smeserver-password-1.0.0-add2general.patch |
21 |
|
Patch5: smeserver-password-1.0.0-locale-2008-05-07.patch |
22 |
|
Patch6: smeserver-password-1.0.0-locale-2008-05-21.patch |
23 |
|
Patch7: smeserver-password-1.0.0-Acctinfo.patch |
24 |
|
Patch8: smeserver-password-1.0.0-locale-2008-05-30.patch |
25 |
|
Patch9: smeserver-password-1.0.0-locale-2008-07-01.patch |
26 |
|
Patch10: smeserver-password-1.0.0-locale-2008-09-27.patch |
27 |
|
Patch11: smeserver-password-1.0.0-locale-2008-10-14.patch |
28 |
|
Patch12: smeserver-password-1.0.0-locale-2008-11-05.patch |
29 |
|
Patch13: smeserver-password-1.0.0-locale-2009-01-01.patch |
30 |
|
Patch14: smeserver-password-1.0.0-locale-2009-03-01.patch |
31 |
|
Patch15: smeserver-password-1.0.0-locale-2009-04-27.patch |
32 |
|
Patch16: smeserver-password-1.0.0-locale-2009-05-20.patch |
33 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
36 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-12 |
37 |
|
|
38 |
%description |
%description |
39 |
Smeserver addon panel to change password strength and password ageing |
Smeserver addon panel to change password strength and password ageing |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0.0-23.sme |
43 |
|
- apply locale 2009-05-20 patch |
44 |
|
|
45 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-22.sme |
46 |
|
- apply locale 2009-04-27 patch |
47 |
|
|
48 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-21 |
49 |
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
50 |
|
|
51 |
|
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-20 |
52 |
|
- Apply 1 Jan 2009 locale patch [SME: 4900] |
53 |
|
|
54 |
|
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-19 |
55 |
|
- Apply 5 Nov 2008 locale patch |
56 |
|
|
57 |
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-18 |
58 |
|
- Apply 14 Oct 2008 locale patch |
59 |
|
|
60 |
|
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0.0-17 |
61 |
|
- Apply locale patch |
62 |
|
|
63 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-16 |
64 |
|
- Apply 1 July 2008 locale patch |
65 |
|
|
66 |
|
* Fri May 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-15 |
67 |
|
- Apply 30 May 2008 locale patch |
68 |
|
|
69 |
|
* Sat May 24 2008 Stephen Noble <support@dungog.net> - 1.0.0-14 |
70 |
|
- rewrite user-passwd-expiration [SME 4361] |
71 |
|
|
72 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-13 |
73 |
|
- Apply 21 May 2008 locale patch |
74 |
|
- Fixing changelog version entries |
75 |
|
|
76 |
|
* Mon May 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-12 |
77 |
|
- Apply 7 May 2008 locale patch |
78 |
|
- Removed missing patch of 5 May 2008, seems not committed and is |
79 |
|
superseeded by the one from 7 May 2008 |
80 |
|
|
81 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-11 |
82 |
|
- Apply 5 May 2008 locale patch |
83 |
|
|
84 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-10 |
85 |
|
- Add common <base> tags to e-smith-formmagick's general |
86 |
|
|
87 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-9 |
88 |
|
- Added 22 April 2008 locale patch |
89 |
|
- Moved db defaults out of spec file |
90 |
|
|
91 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.0-8 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.0-8 |
92 |
- Update to UTF-8 translations |
- Update to UTF-8 translations |
93 |
|
|
124 |
%setup |
%setup |
125 |
%patch0 -p1 |
%patch0 -p1 |
126 |
%patch1 -p1 |
%patch1 -p1 |
127 |
|
%patch2 -p1 |
128 |
|
%patch3 -p1 |
129 |
|
%patch4 -p1 |
130 |
|
%patch5 -p1 |
131 |
|
%patch6 -p1 |
132 |
|
%patch7 -p1 |
133 |
|
%patch8 -p1 |
134 |
|
%patch9 -p1 |
135 |
|
%patch10 -p1 |
136 |
|
%patch11 -p1 |
137 |
|
%patch12 -p1 |
138 |
|
%patch13 -p1 |
139 |
|
%patch14 -p1 |
140 |
|
%patch15 -p1 |
141 |
|
%patch16 -p1 |
142 |
|
|
143 |
%build |
%build |
144 |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
149 |
done |
done |
150 |
|
|
151 |
perl createlinks |
perl createlinks |
152 |
DEFAULTS=root/etc/e-smith/db/configuration/defaults/passwordaging |
|
|
mkdir -p $DEFAULTS |
|
|
echo "configuration" > $DEFAULTS/type |
|
|
echo "no" > $DEFAULTS/Active |
|
|
echo "180" > $DEFAULTS/PwdAge |
|
|
echo "7" > $DEFAULTS/PwdWarn |
|
153 |
%install |
%install |
154 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
155 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |