1 |
# $Id: smeserver-password.spec,v 1.23 2011/03/06 15:28:21 slords Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-password |
6 |
%define version 1.0.0 |
7 |
%define release 27 |
8 |
|
9 |
Summary: SME Server password panel |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GNU GPL version 2 |
14 |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-password-1.0.0-locale-2008-03-11.patch |
17 |
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 |
Patch17: smeserver-password-1.0.0-locale-2009-08-24.patch |
34 |
Patch18: smeserver-password-1.0.0-locale-2009-10-21.patch |
35 |
Patch19: smeserver-password-1.0.0-locale-2010-03-02.patch |
36 |
Patch20: smeserver-password-1.0.0-locale-2011-03-06.patch |
37 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
38 |
BuildArchitectures: noarch |
39 |
BuildRequires: e-smith-devtools |
40 |
Requires: e-smith-formmagick >= 1.4.0-12 |
41 |
|
42 |
%description |
43 |
Smeserver addon panel to change password strength and password ageing |
44 |
|
45 |
%changelog |
46 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0.0-27.sme |
47 |
- apply locale 2011-03-06 patch |
48 |
|
49 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.0.0-26.sme |
50 |
- apply locale 2010-03-02 patch |
51 |
|
52 |
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.0.0-25.sme |
53 |
- apply locale 2009-10-21 patch |
54 |
|
55 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0.0-24.sme |
56 |
- apply locale 2009-08-24 patch |
57 |
|
58 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0.0-23.sme |
59 |
- apply locale 2009-05-20 patch |
60 |
|
61 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-22.sme |
62 |
- apply locale 2009-04-27 patch |
63 |
|
64 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-21 |
65 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
66 |
|
67 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-20 |
68 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
69 |
|
70 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-19 |
71 |
- Apply 5 Nov 2008 locale patch |
72 |
|
73 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-18 |
74 |
- Apply 14 Oct 2008 locale patch |
75 |
|
76 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0.0-17 |
77 |
- Apply locale patch |
78 |
|
79 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-16 |
80 |
- Apply 1 July 2008 locale patch |
81 |
|
82 |
* Fri May 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-15 |
83 |
- Apply 30 May 2008 locale patch |
84 |
|
85 |
* Sat May 24 2008 Stephen Noble <support@dungog.net> - 1.0.0-14 |
86 |
- rewrite user-passwd-expiration [SME 4361] |
87 |
|
88 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-13 |
89 |
- Apply 21 May 2008 locale patch |
90 |
- Fixing changelog version entries |
91 |
|
92 |
* Mon May 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-12 |
93 |
- Apply 7 May 2008 locale patch |
94 |
- Removed missing patch of 5 May 2008, seems not committed and is |
95 |
superseeded by the one from 7 May 2008 |
96 |
|
97 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-11 |
98 |
- Apply 5 May 2008 locale patch |
99 |
|
100 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-10 |
101 |
- Add common <base> tags to e-smith-formmagick's general |
102 |
|
103 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-9 |
104 |
- Added 22 April 2008 locale patch |
105 |
- Moved db defaults out of spec file |
106 |
|
107 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.0-8 |
108 |
- Update to UTF-8 translations |
109 |
|
110 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0.0-7 |
111 |
- update locale 2008-03-11 |
112 |
|
113 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-6 |
114 |
- build on smecontribs |
115 |
- default password aging = no |
116 |
|
117 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-5 |
118 |
- removed Italian lexicon for now |
119 |
- removed <trans> values in general |
120 |
- moved from collaboration to security |
121 |
|
122 |
* Wed Jun 20 2007 Blaz <gxs@sishell.net>,Stefano Zamboni <zamboni@mind-at-work.it> |
123 |
- 1.0.0-04 |
124 |
- Added functions to lock account and reset password age |
125 |
|
126 |
* Wed Jan 24 2007 Blaz <gxs@sishell.net> |
127 |
- 1.0.0-03 |
128 |
- Cosmetics fixes |
129 |
- English typos fixing |
130 |
|
131 |
* Wed Jan 24 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
132 |
- 1.0.0-02 |
133 |
- completed english translation |
134 |
|
135 |
* Fri Jan 12 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
136 |
- 1.0.0-01 |
137 |
- Original version |
138 |
|
139 |
%prep |
140 |
%setup |
141 |
%patch0 -p1 |
142 |
%patch1 -p1 |
143 |
%patch2 -p1 |
144 |
%patch3 -p1 |
145 |
%patch4 -p1 |
146 |
%patch5 -p1 |
147 |
%patch6 -p1 |
148 |
%patch7 -p1 |
149 |
%patch8 -p1 |
150 |
%patch9 -p1 |
151 |
%patch10 -p1 |
152 |
%patch11 -p1 |
153 |
%patch12 -p1 |
154 |
%patch13 -p1 |
155 |
%patch14 -p1 |
156 |
%patch15 -p1 |
157 |
%patch16 -p1 |
158 |
%patch17 -p1 |
159 |
%patch18 -p1 |
160 |
%patch19 -p1 |
161 |
%patch20 -p1 |
162 |
|
163 |
%build |
164 |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
165 |
|
166 |
for lexicon in $LEXICONS |
167 |
do |
168 |
/sbin/e-smith/validate-lexicon $lexicon |
169 |
done |
170 |
|
171 |
perl createlinks |
172 |
|
173 |
%install |
174 |
rm -rf $RPM_BUILD_ROOT |
175 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
176 |
rm -f %{name}-%{version}-filelist |
177 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
178 |
%clean |
179 |
rm -rf $RPM_BUILD_ROOT |
180 |
%post |
181 |
true |
182 |
%postun |
183 |
true |
184 |
%files -f %{name}-%{version}-filelist |
185 |
%defattr(-,root,root) |