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