2 |
%define name smeserver-geneweb |
%define name smeserver-geneweb |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 2.0 |
%define version 2.0 |
5 |
%define release 4 |
%define release 6 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Applications/Internet |
Group: Applications/Internet |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
Patch1: smeserver-geneweb-2.0-pod-corrections.patch |
Patch1: smeserver-geneweb-2.0-pod-corrections.patch |
12 |
|
Patch2: smeserver-geneweb-2.0-ip_number-validation.patch |
13 |
|
Patch3: smeserver-geneweb-2.0-locale-2008-03-11.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
Requires: geneweb >= 5.00 |
Requires: geneweb >= 5.00 |
22 |
to complete the integration for SME Server. |
to complete the integration for SME Server. |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
26 |
|
- add locale patch, validate lexicon in spec |
27 |
|
|
28 |
|
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
29 |
|
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
30 |
|
|
31 |
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
32 |
- geneweb.pm edited for pod corrections (pass podchecker) |
- geneweb.pm edited for pod corrections (pass podchecker) |
33 |
|
|
42 |
|
|
43 |
%setup |
%setup |
44 |
%patch1 -p1 |
%patch1 -p1 |
45 |
|
%patch2 -p1 |
46 |
|
%patch3 -p1 |
47 |
|
|
48 |
%build |
%build |
49 |
perl createlinks |
perl createlinks |
53 |
echo "disabled" > $DEFAULTS/status |
echo "disabled" > $DEFAULTS/status |
54 |
echo "127.0.0.1" >$DEFAULTS/only |
echo "127.0.0.1" >$DEFAULTS/only |
55 |
|
|
56 |
|
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
57 |
|
for lexicon in $LEXICONS |
58 |
|
do |
59 |
|
/sbin/e-smith/validate-lexicon $lexicon |
60 |
|
done |
61 |
|
|
62 |
%install |
%install |
63 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
64 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |