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