1 |
# $Id: smeserver-password-1.0.0.spec,v 1.6 2008/04/02 15:03:58 slords Exp $ |
# $Id: smeserver-password.spec,v 1.4 2008/04/28 23:21:44 slords Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-password |
%define name smeserver-password |
6 |
%define version 1.0.0 |
%define version 1.0.0 |
7 |
%define release 8 |
%define release 12 |
8 |
|
|
9 |
Summary: SME Server password panel |
Summary: SME Server password panel |
10 |
Name: %{name} |
Name: %{name} |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-password-1.0.0-locale-2008-03-11.patch |
Patch0: smeserver-password-1.0.0-locale-2008-03-11.patch |
17 |
Patch1: smeserver-password-1.0.0-locale-2008-04-01.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-12 |
26 |
|
|
27 |
%description |
%description |
28 |
Smeserver addon panel to change password strength and password ageing |
Smeserver addon panel to change password strength and password ageing |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Mon May 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-12 |
32 |
|
- Apply 7 May 2008 locale patch |
33 |
|
- Removed missing patch of 5 May 2008, seems not committed and is |
34 |
|
superseeded by the one from 7 May 2008 |
35 |
|
|
36 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-11 |
37 |
|
- Apply 5 May 2008 locale patch |
38 |
|
|
39 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-10 |
40 |
|
- Add common <base> tags to e-smith-formmagick's general |
41 |
|
|
42 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-9 |
43 |
|
- Added 22 April 2008 locale patch |
44 |
|
- Moved db defaults out of spec file |
45 |
|
|
46 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.0-8 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.0-8 |
47 |
- Update to UTF-8 translations |
- Update to UTF-8 translations |
48 |
|
|
79 |
%setup |
%setup |
80 |
%patch0 -p1 |
%patch0 -p1 |
81 |
%patch1 -p1 |
%patch1 -p1 |
82 |
|
%patch2 -p1 |
83 |
|
%patch3 -p1 |
84 |
|
%patch4 -p1 |
85 |
|
%patch5 -p1 |
86 |
|
|
87 |
%build |
%build |
88 |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
93 |
done |
done |
94 |
|
|
95 |
perl createlinks |
perl createlinks |
96 |
DEFAULTS=root/etc/e-smith/db/configuration/defaults/passwordaging |
|
|
mkdir -p $DEFAULTS |
|
|
echo "configuration" > $DEFAULTS/type |
|
|
echo "no" > $DEFAULTS/Active |
|
|
echo "180" > $DEFAULTS/PwdAge |
|
|
echo "7" > $DEFAULTS/PwdWarn |
|
97 |
%install |
%install |
98 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
99 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |