1 |
|
# $Id$ |
2 |
|
# Authority: fetcher |
3 |
|
# Name: Craig D. Jensen |
4 |
|
|
5 |
Summary: Package to integrate GeneWeb (V5) into SME Server |
Summary: Package to integrate GeneWeb (V5) into SME Server |
6 |
%define name smeserver-geneweb |
%define name smeserver-geneweb |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.0 |
%define version 2.0 |
9 |
%define release 3 |
%define release 8 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %smerelease %{release} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Applications/Internet |
Group: Applications/Internet |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
#Patch0: |
Patch1: smeserver-geneweb-2.0-pod-corrections.patch |
16 |
|
Patch2: smeserver-geneweb-2.0-ip_number-validation.patch |
17 |
|
Patch3: smeserver-geneweb-2.0-locale-2008-03-11.patch |
18 |
|
Patch4: smeserver-geneweb-2.0-locale-2008-04-01.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: geneweb >= 5.00 |
Requires: geneweb >= 5.00 |
22 |
Requires: smeserver-release >= 7.0 |
Requires: smeserver-release >= 7.0 |
23 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
24 |
|
BuildRequires: e-smith-devtools |
25 |
|
|
26 |
%description |
%description |
27 |
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 |
28 |
to complete the integration for SME Server. |
to complete the integration for SME Server. |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8 |
32 |
|
- Update to UTF-8 translations |
33 |
|
|
34 |
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7 |
35 |
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
36 |
|
|
37 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
38 |
|
- add locale patch, validate lexicon in spec |
39 |
|
|
40 |
|
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
41 |
|
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
42 |
|
|
43 |
|
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
44 |
|
- geneweb.pm edited for pod corrections (pass podchecker) |
45 |
|
|
46 |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
47 |
- [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 |
48 |
for setting the desired IP on the LAN for Geneweb administrative |
for setting the desired IP on the LAN for Geneweb administrative |
53 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
54 |
|
|
55 |
%setup |
%setup |
56 |
#%patch0 -p1 |
%patch1 -p1 |
57 |
|
%patch2 -p1 |
58 |
|
%patch3 -p1 |
59 |
|
%patch4 -p1 |
60 |
|
|
61 |
%build |
%build |
62 |
perl createlinks |
perl createlinks |
66 |
echo "disabled" > $DEFAULTS/status |
echo "disabled" > $DEFAULTS/status |
67 |
echo "127.0.0.1" >$DEFAULTS/only |
echo "127.0.0.1" >$DEFAULTS/only |
68 |
|
|
69 |
|
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
70 |
|
for lexicon in $LEXICONS |
71 |
|
do |
72 |
|
/sbin/e-smith/validate-lexicon $lexicon |
73 |
|
done |
74 |
|
|
75 |
%install |
%install |
76 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
77 |
(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) |