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