1 |
|
# $Id: smeserver-geneweb.spec,v 1.16 2008/10/14 14:40:36 snetram Exp $ |
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 14 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
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 |
|
Patch5: smeserver-geneweb-2.0-locale-2008-04-22.patch |
20 |
|
Patch6: smeserver-geneweb-2.0-locale-2008-05-21.patch |
21 |
|
Patch7: smeserver-geneweb-2.0-locale-2008-06-27.patch |
22 |
|
Patch8: smeserver-geneweb-2.0-locale-2008-07-01.patch |
23 |
|
Patch9: smeserver-geneweb-2.0-locale-2008-10-14.patch |
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: geneweb >= 5.00 |
Requires: geneweb >= 5.00 |
27 |
Requires: smeserver-release >= 7.0 |
Requires: smeserver-release >= 7.0 |
28 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
29 |
|
BuildRequires: e-smith-devtools |
30 |
|
|
31 |
%description |
%description |
32 |
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 |
33 |
to complete the integration for SME Server. |
to complete the integration for SME Server. |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-14 |
37 |
|
- Apply 14 Oct 2008 locale patch |
38 |
|
|
39 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13 |
40 |
|
- Apply 1 July 2008 locale patch |
41 |
|
|
42 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-12 |
43 |
|
- Apply 27 Jun 2008 locale patch |
44 |
|
- Fix version number in previous changelog entry |
45 |
|
|
46 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-11 |
47 |
|
- Apply 21 May 2008 locale patch |
48 |
|
|
49 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10 |
50 |
|
- Forgot to apply patch |
51 |
|
|
52 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9 |
53 |
|
- Added 22 April 2008 locale |
54 |
|
|
55 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8 |
56 |
|
- Update to UTF-8 translations |
57 |
|
|
58 |
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7 |
59 |
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
60 |
|
|
61 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
62 |
|
- add locale patch, validate lexicon in spec |
63 |
|
|
64 |
|
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
65 |
|
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
66 |
|
|
67 |
|
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
68 |
|
- geneweb.pm edited for pod corrections (pass podchecker) |
69 |
|
|
70 |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
71 |
- [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 |
72 |
for setting the desired IP on the LAN for Geneweb administrative |
for setting the desired IP on the LAN for Geneweb administrative |
77 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
78 |
|
|
79 |
%setup |
%setup |
80 |
#%patch0 -p1 |
%patch1 -p1 |
81 |
|
%patch2 -p1 |
82 |
|
%patch3 -p1 |
83 |
|
%patch4 -p1 |
84 |
|
%patch5 -p1 |
85 |
|
%patch6 -p1 |
86 |
|
%patch7 -p1 |
87 |
|
%patch8 -p1 |
88 |
|
%patch9 -p1 |
89 |
|
|
90 |
%build |
%build |
91 |
perl createlinks |
perl createlinks |
95 |
echo "disabled" > $DEFAULTS/status |
echo "disabled" > $DEFAULTS/status |
96 |
echo "127.0.0.1" >$DEFAULTS/only |
echo "127.0.0.1" >$DEFAULTS/only |
97 |
|
|
98 |
|
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
99 |
|
for lexicon in $LEXICONS |
100 |
|
do |
101 |
|
/sbin/e-smith/validate-lexicon $lexicon |
102 |
|
done |
103 |
|
|
104 |
%install |
%install |
105 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
106 |
(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) |