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 3 |
%define release 6 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %smerelease %{release} |
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 |
#Patch0: |
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 |
17 |
Requires: smeserver-release >= 7.0 |
Requires: smeserver-release >= 7.0 |
18 |
|
BuildRequires: e-smith-devtools |
19 |
|
|
20 |
%description |
%description |
21 |
This RPM must be installed after the geneweb*.el4.sme.i386.rpm package |
This RPM must be installed after the geneweb*.el4.sme.i386.rpm package |
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 |
32 |
|
- geneweb.pm edited for pod corrections (pass podchecker) |
33 |
|
|
34 |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
35 |
- [2.0-1] First companion to Geneweb v5 w/panel for admin allowing |
- [2.0-1] First companion to Geneweb v5 w/panel for admin allowing |
36 |
for setting the desired IP on the LAN for Geneweb administrative |
for setting the desired IP on the LAN for Geneweb administrative |
41 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
42 |
|
|
43 |
%setup |
%setup |
44 |
#%patch0 -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) |