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