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