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