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 8 |
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 |
|
Patch4: smeserver-geneweb-2.0-locale-2008-04-01.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
Requires: geneweb >= 5.00 |
Requires: geneweb >= 5.00 |
18 |
Requires: smeserver-release >= 7.0 |
Requires: smeserver-release >= 7.0 |
19 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
20 |
|
BuildRequires: e-smith-devtools |
21 |
|
|
22 |
%description |
%description |
23 |
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 |
24 |
to complete the integration for SME Server. |
to complete the integration for SME Server. |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8 |
28 |
|
- Update to UTF-8 translations |
29 |
|
|
30 |
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7 |
31 |
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
32 |
|
|
33 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
34 |
|
- add locale patch, validate lexicon in spec |
35 |
|
|
36 |
|
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
37 |
|
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
38 |
|
|
39 |
|
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
40 |
|
- geneweb.pm edited for pod corrections (pass podchecker) |
41 |
|
|
42 |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
43 |
- [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 |
44 |
for setting the desired IP on the LAN for Geneweb administrative |
for setting the desired IP on the LAN for Geneweb administrative |
49 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
50 |
|
|
51 |
%setup |
%setup |
52 |
#%patch0 -p1 |
%patch1 -p1 |
53 |
|
%patch2 -p1 |
54 |
|
%patch3 -p1 |
55 |
|
%patch4 -p1 |
56 |
|
|
57 |
%build |
%build |
58 |
perl createlinks |
perl createlinks |
62 |
echo "disabled" > $DEFAULTS/status |
echo "disabled" > $DEFAULTS/status |
63 |
echo "127.0.0.1" >$DEFAULTS/only |
echo "127.0.0.1" >$DEFAULTS/only |
64 |
|
|
65 |
|
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
66 |
|
for lexicon in $LEXICONS |
67 |
|
do |
68 |
|
/sbin/e-smith/validate-lexicon $lexicon |
69 |
|
done |
70 |
|
|
71 |
%install |
%install |
72 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
73 |
(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) |