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