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