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