1 |
# $Id: smeserver-password.spec,v 1.4 2008/04/28 23:21:44 slords Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-password |
6 |
%define version 1.0.0 |
7 |
%define release 12 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
24 |
BuildRequires: e-smith-devtools |
25 |
Requires: e-smith-formmagick >= 1.4.0-12 |
26 |
|
27 |
%description |
28 |
Smeserver addon panel to change password strength and password ageing |
29 |
|
30 |
%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 |
47 |
- Update to UTF-8 translations |
48 |
|
49 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0.0-7 |
50 |
- update locale 2008-03-11 |
51 |
|
52 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-6 |
53 |
- build on smecontribs |
54 |
- default password aging = no |
55 |
|
56 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-5 |
57 |
- removed Italian lexicon for now |
58 |
- removed <trans> values in general |
59 |
- moved from collaboration to security |
60 |
|
61 |
* Wed Jun 20 2007 Blaz <gxs@sishell.net>,Stefano Zamboni <zamboni@mind-at-work.it> |
62 |
- 1.0.0-04 |
63 |
- Added functions to lock account and reset password age |
64 |
|
65 |
* Wed Jan 24 2007 Blaz <gxs@sishell.net> |
66 |
- 1.0.0-03 |
67 |
- Cosmetics fixes |
68 |
- English typos fixing |
69 |
|
70 |
* Wed Jan 24 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
71 |
- 1.0.0-02 |
72 |
- completed english translation |
73 |
|
74 |
* Fri Jan 12 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
75 |
- 1.0.0-01 |
76 |
- Original version |
77 |
|
78 |
%prep |
79 |
%setup |
80 |
%patch0 -p1 |
81 |
%patch1 -p1 |
82 |
%patch2 -p1 |
83 |
%patch3 -p1 |
84 |
%patch4 -p1 |
85 |
%patch5 -p1 |
86 |
|
87 |
%build |
88 |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
89 |
|
90 |
for lexicon in $LEXICONS |
91 |
do |
92 |
/sbin/e-smith/validate-lexicon $lexicon |
93 |
done |
94 |
|
95 |
perl createlinks |
96 |
|
97 |
%install |
98 |
rm -rf $RPM_BUILD_ROOT |
99 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
100 |
rm -f %{name}-%{version}-filelist |
101 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
102 |
%clean |
103 |
rm -rf $RPM_BUILD_ROOT |
104 |
%post |
105 |
true |
106 |
%postun |
107 |
true |
108 |
%files -f %{name}-%{version}-filelist |
109 |
%defattr(-,root,root) |