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