1 |
slords |
1.26 |
# $Id: smeserver-geneweb.spec,v 1.25 2009/10/27 17:43:52 slords Exp $ |
2 |
slords |
1.10 |
# Authority: fetcher |
3 |
|
|
# Name: Craig D. Jensen |
4 |
|
|
|
5 |
slords |
1.1 |
Summary: Package to integrate GeneWeb (V5) into SME Server |
6 |
|
|
%define name smeserver-geneweb |
7 |
|
|
Name: %{name} |
8 |
|
|
%define version 2.0 |
9 |
slords |
1.26 |
%define release 22 |
10 |
slords |
1.1 |
Version: %{version} |
11 |
slords |
1.3 |
Release: %{release}%{?dist} |
12 |
slords |
1.2 |
License: GPL |
13 |
slords |
1.1 |
Group: Applications/Internet |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
fetcher |
1.5 |
Patch1: smeserver-geneweb-2.0-pod-corrections.patch |
16 |
fetcher |
1.6 |
Patch2: smeserver-geneweb-2.0-ip_number-validation.patch |
17 |
dungog |
1.7 |
Patch3: smeserver-geneweb-2.0-locale-2008-03-11.patch |
18 |
slords |
1.9 |
Patch4: smeserver-geneweb-2.0-locale-2008-04-01.patch |
19 |
snetram |
1.11 |
Patch5: smeserver-geneweb-2.0-locale-2008-04-22.patch |
20 |
snetram |
1.13 |
Patch6: smeserver-geneweb-2.0-locale-2008-05-21.patch |
21 |
snetram |
1.14 |
Patch7: smeserver-geneweb-2.0-locale-2008-06-27.patch |
22 |
snetram |
1.15 |
Patch8: smeserver-geneweb-2.0-locale-2008-07-01.patch |
23 |
snetram |
1.16 |
Patch9: smeserver-geneweb-2.0-locale-2008-10-14.patch |
24 |
snetram |
1.19 |
Patch10: smeserver-geneweb-2.0-locale-2009-01-01.patch |
25 |
snetram |
1.20 |
Patch11: smeserver-geneweb-2.0-locale-2009-01-31.patch |
26 |
snetram |
1.21 |
Patch12: smeserver-geneweb-2.0-locale-2009-03-01.patch |
27 |
slords |
1.22 |
Patch13: smeserver-geneweb-2.0-locale-2009-03-03.patch |
28 |
slords |
1.23 |
Patch14: smeserver-geneweb-2.0-locale-2009-04-27.patch |
29 |
slords |
1.24 |
Patch15: smeserver-geneweb-2.0-locale-2009-08-24.patch |
30 |
slords |
1.25 |
Patch16: smeserver-geneweb-2.0-locale-2009-10-27.patch |
31 |
slords |
1.26 |
Patch17: smeserver-geneweb-2.0-locale-2011-03-06.patch |
32 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
33 |
|
|
BuildArchitectures: noarch |
34 |
|
|
Requires: geneweb >= 5.00 |
35 |
|
|
Requires: smeserver-release >= 7.0 |
36 |
slords |
1.8 |
Requires: e-smith-formmagick >= 1.4.0-10 |
37 |
slords |
1.4 |
BuildRequires: e-smith-devtools |
38 |
slords |
1.1 |
|
39 |
|
|
%description |
40 |
|
|
This RPM must be installed after the geneweb*.el4.sme.i386.rpm package |
41 |
|
|
to complete the integration for SME Server. |
42 |
|
|
|
43 |
|
|
%changelog |
44 |
slords |
1.26 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0-22.sme |
45 |
|
|
- apply locale 2011-03-06 patch |
46 |
|
|
|
47 |
slords |
1.25 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0-21.sme |
48 |
|
|
- apply locale 2009-10-27 patch |
49 |
|
|
|
50 |
slords |
1.24 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0-20.sme |
51 |
|
|
- apply locale 2009-08-24 patch |
52 |
|
|
|
53 |
slords |
1.23 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-19.sme |
54 |
|
|
- apply locale 2009-04-27 patch |
55 |
|
|
|
56 |
slords |
1.22 |
* Tue Mar 03 2009 SME Translation Server |
57 |
|
|
- apply locale 2009-03-03 patch |
58 |
|
|
|
59 |
snetram |
1.21 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-17 |
60 |
|
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
61 |
|
|
|
62 |
snetram |
1.20 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-16 |
63 |
|
|
- Apply 31 Jan 2009 locale patch [SME: 4951] |
64 |
|
|
|
65 |
snetram |
1.19 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-15 |
66 |
|
|
- Apply 1 Jan 2009 locale patch [SME: 4900] |
67 |
|
|
|
68 |
snetram |
1.16 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-14 |
69 |
|
|
- Apply 14 Oct 2008 locale patch |
70 |
|
|
|
71 |
snetram |
1.15 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13 |
72 |
|
|
- Apply 1 July 2008 locale patch |
73 |
|
|
|
74 |
snetram |
1.14 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-12 |
75 |
|
|
- Apply 27 Jun 2008 locale patch |
76 |
|
|
- Fix version number in previous changelog entry |
77 |
|
|
|
78 |
|
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-11 |
79 |
snetram |
1.13 |
- Apply 21 May 2008 locale patch |
80 |
|
|
|
81 |
snetram |
1.12 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10 |
82 |
|
|
- Forgot to apply patch |
83 |
|
|
|
84 |
snetram |
1.11 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9 |
85 |
|
|
- Added 22 April 2008 locale |
86 |
|
|
|
87 |
slords |
1.9 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8 |
88 |
|
|
- Update to UTF-8 translations |
89 |
|
|
|
90 |
slords |
1.8 |
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7 |
91 |
|
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
92 |
|
|
|
93 |
dungog |
1.7 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
94 |
|
|
- add locale patch, validate lexicon in spec |
95 |
|
|
|
96 |
fetcher |
1.6 |
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
97 |
|
|
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
98 |
|
|
|
99 |
fetcher |
1.5 |
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
100 |
|
|
- geneweb.pm edited for pod corrections (pass podchecker) |
101 |
|
|
|
102 |
slords |
1.1 |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
103 |
|
|
- [2.0-1] First companion to Geneweb v5 w/panel for admin allowing |
104 |
|
|
for setting the desired IP on the LAN for Geneweb administrative |
105 |
|
|
access. |
106 |
|
|
|
107 |
|
|
%prep |
108 |
|
|
|
109 |
|
|
rm -rf $RPM_BUILD_ROOT |
110 |
|
|
|
111 |
|
|
%setup |
112 |
fetcher |
1.5 |
%patch1 -p1 |
113 |
fetcher |
1.6 |
%patch2 -p1 |
114 |
dungog |
1.7 |
%patch3 -p1 |
115 |
slords |
1.9 |
%patch4 -p1 |
116 |
snetram |
1.12 |
%patch5 -p1 |
117 |
snetram |
1.13 |
%patch6 -p1 |
118 |
snetram |
1.14 |
%patch7 -p1 |
119 |
snetram |
1.15 |
%patch8 -p1 |
120 |
snetram |
1.16 |
%patch9 -p1 |
121 |
snetram |
1.19 |
%patch10 -p1 |
122 |
snetram |
1.20 |
%patch11 -p1 |
123 |
snetram |
1.21 |
%patch12 -p1 |
124 |
slords |
1.22 |
%patch13 -p1 |
125 |
slords |
1.23 |
%patch14 -p1 |
126 |
slords |
1.24 |
%patch15 -p1 |
127 |
slords |
1.25 |
%patch16 -p1 |
128 |
slords |
1.26 |
%patch17 -p1 |
129 |
slords |
1.1 |
|
130 |
|
|
%build |
131 |
|
|
perl createlinks |
132 |
|
|
DEFAULTS=root/etc/e-smith/db/configuration/defaults/geneweb |
133 |
|
|
mkdir -p $DEFAULTS |
134 |
|
|
echo "service" > $DEFAULTS/type |
135 |
|
|
echo "disabled" > $DEFAULTS/status |
136 |
|
|
echo "127.0.0.1" >$DEFAULTS/only |
137 |
|
|
|
138 |
dungog |
1.7 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
139 |
|
|
for lexicon in $LEXICONS |
140 |
|
|
do |
141 |
|
|
/sbin/e-smith/validate-lexicon $lexicon |
142 |
|
|
done |
143 |
|
|
|
144 |
slords |
1.1 |
%install |
145 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
146 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
147 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
148 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
149 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
150 |
|
|
|
151 |
|
|
%files -f %{name}-%{version}-filelist |
152 |
|
|
|
153 |
|
|
%defattr(-,root,root) |
154 |
|
|
|
155 |
|
|
%clean |
156 |
|
|
rm -rf $RPM_BUILD_ROOT |
157 |
|
|
|
158 |
|
|
%pre |
159 |
|
|
|
160 |
|
|
%post |
161 |
|
|
/etc/e-smith/events/actions/navigation-conf |
162 |
|
|
#/etc/e-smith/events/actions/initialize-default-databases |
163 |
|
|
#mkdir -p /etc/e-smith/templates/etc/rc.d/init.d/masq |
164 |
|
|
#/bin/chmod 644 /etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowGeneWeb |
165 |
|
|
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
166 |
|
|
#/etc/rc.d/init.d/masq restart |
167 |
|
|
true |
168 |
|
|
|
169 |
|
|
%preun |
170 |
|
|
/sbin/e-smith/db configuration setprop geneweb status disabled |
171 |
|
|
/etc/rc.d/init.d/gwd stop |
172 |
|
|
true |
173 |
|
|
|
174 |
|
|
%postun |
175 |
|
|
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
176 |
|
|
#/etc/rc.d/init.d/masq restart |