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