1 |
# $Id: smeserver-password-1.0.0.spec,v 1.6 2008/04/02 15:03:58 slords Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-password |
6 |
%define version 1.0.0 |
7 |
%define release 8 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
20 |
BuildRequires: e-smith-devtools |
21 |
Requires: e-smith-formmagick >= 1.4.0-10 |
22 |
|
23 |
%description |
24 |
Smeserver addon panel to change password strength and password ageing |
25 |
|
26 |
%changelog |
27 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.0-8 |
28 |
- Update to UTF-8 translations |
29 |
|
30 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0.0-7 |
31 |
- update locale 2008-03-11 |
32 |
|
33 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-6 |
34 |
- build on smecontribs |
35 |
- default password aging = no |
36 |
|
37 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-5 |
38 |
- removed Italian lexicon for now |
39 |
- removed <trans> values in general |
40 |
- moved from collaboration to security |
41 |
|
42 |
* Wed Jun 20 2007 Blaz <gxs@sishell.net>,Stefano Zamboni <zamboni@mind-at-work.it> |
43 |
- 1.0.0-04 |
44 |
- Added functions to lock account and reset password age |
45 |
|
46 |
* Wed Jan 24 2007 Blaz <gxs@sishell.net> |
47 |
- 1.0.0-03 |
48 |
- Cosmetics fixes |
49 |
- English typos fixing |
50 |
|
51 |
* Wed Jan 24 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
52 |
- 1.0.0-02 |
53 |
- completed english translation |
54 |
|
55 |
* Fri Jan 12 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
56 |
- 1.0.0-01 |
57 |
- Original version |
58 |
|
59 |
%prep |
60 |
%setup |
61 |
%patch0 -p1 |
62 |
%patch1 -p1 |
63 |
|
64 |
%build |
65 |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
66 |
|
67 |
for lexicon in $LEXICONS |
68 |
do |
69 |
/sbin/e-smith/validate-lexicon $lexicon |
70 |
done |
71 |
|
72 |
perl createlinks |
73 |
DEFAULTS=root/etc/e-smith/db/configuration/defaults/passwordaging |
74 |
mkdir -p $DEFAULTS |
75 |
echo "configuration" > $DEFAULTS/type |
76 |
echo "no" > $DEFAULTS/Active |
77 |
echo "180" > $DEFAULTS/PwdAge |
78 |
echo "7" > $DEFAULTS/PwdWarn |
79 |
%install |
80 |
rm -rf $RPM_BUILD_ROOT |
81 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
82 |
rm -f %{name}-%{version}-filelist |
83 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
84 |
%clean |
85 |
rm -rf $RPM_BUILD_ROOT |
86 |
%post |
87 |
true |
88 |
%postun |
89 |
true |
90 |
%files -f %{name}-%{version}-filelist |
91 |
%defattr(-,root,root) |