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