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