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