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