1 |
Summary: Package to integrate GeneWeb (V5) into SME Server |
2 |
%define name smeserver-geneweb |
3 |
Name: %{name} |
4 |
%define version 2.1 |
5 |
%define release 1 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: Applications/Internet |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
Patch1: smeserver-geneweb-2.1-1-init.patch |
12 |
|
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
15 |
Requires: geneweb >= 6.08 |
16 |
Requires: smeserver-release >= 9.0 |
17 |
Requires: e-smith-formmagick >= 2.4.0-1 |
18 |
BuildRequires: e-smith-devtools |
19 |
|
20 |
%description |
21 |
This RPM must be installed after the geneweb*.el6.sme package |
22 |
to complete the integration for SME Server. |
23 |
|
24 |
%changelog |
25 |
* Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme |
26 |
- first import in sme9 for geneweb v6.08 |
27 |
- geneweb service not started [SME: 6371] |
28 |
- Add "Base directory" input in panel console. |
29 |
- perms corrected in templates.metadata |
30 |
|
31 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0-26.sme |
32 |
- apply locale 2016-03-09 patch |
33 |
|
34 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.0-24.el6 |
35 |
- apply locale 2012-03-20 patch |
36 |
|
37 |
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0-23.sme |
38 |
- apply locale 2011-04-27 patch |
39 |
|
40 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0-22.sme |
41 |
- apply locale 2011-03-06 patch |
42 |
|
43 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0-21.sme |
44 |
- apply locale 2009-10-27 patch |
45 |
|
46 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0-20.sme |
47 |
- apply locale 2009-08-24 patch |
48 |
|
49 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-19.sme |
50 |
- apply locale 2009-04-27 patch |
51 |
|
52 |
* Tue Mar 03 2009 SME Translation Server |
53 |
- apply locale 2009-03-03 patch |
54 |
|
55 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-17 |
56 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
57 |
|
58 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-16 |
59 |
- Apply 31 Jan 2009 locale patch [SME: 4951] |
60 |
|
61 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-15 |
62 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
63 |
|
64 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-14 |
65 |
- Apply 14 Oct 2008 locale patch |
66 |
|
67 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13 |
68 |
- Apply 1 July 2008 locale patch |
69 |
|
70 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-12 |
71 |
- Apply 27 Jun 2008 locale patch |
72 |
- Fix version number in previous changelog entry |
73 |
|
74 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-11 |
75 |
- Apply 21 May 2008 locale patch |
76 |
|
77 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10 |
78 |
- Forgot to apply patch |
79 |
|
80 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9 |
81 |
- Added 22 April 2008 locale |
82 |
|
83 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8 |
84 |
- Update to UTF-8 translations |
85 |
|
86 |
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7 |
87 |
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
88 |
|
89 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
90 |
- add locale patch, validate lexicon in spec |
91 |
|
92 |
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
93 |
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
94 |
|
95 |
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
96 |
- geneweb.pm edited for pod corrections (pass podchecker) |
97 |
|
98 |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
99 |
- [2.0-1] First companion to Geneweb v5 w/panel for admin allowing |
100 |
for setting the desired IP on the LAN for Geneweb administrative |
101 |
access. |
102 |
|
103 |
%prep |
104 |
|
105 |
rm -rf $RPM_BUILD_ROOT |
106 |
|
107 |
%setup |
108 |
%patch1 -p1 |
109 |
|
110 |
|
111 |
%build |
112 |
perl createlinks |
113 |
DEFAULTS=root/etc/e-smith/db/configuration/defaults/geneweb |
114 |
mkdir -p $DEFAULTS |
115 |
echo "service" > $DEFAULTS/type |
116 |
echo "disabled" > $DEFAULTS/status |
117 |
echo "127.0.0.1" >$DEFAULTS/only |
118 |
|
119 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
120 |
for lexicon in $LEXICONS |
121 |
do |
122 |
/sbin/e-smith/validate-lexicon $lexicon |
123 |
done |
124 |
|
125 |
%install |
126 |
/bin/rm -rf $RPM_BUILD_ROOT |
127 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
128 |
/bin/rm -f %{name}-%{version}-filelist |
129 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
130 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
131 |
|
132 |
%files -f %{name}-%{version}-filelist |
133 |
|
134 |
%defattr(-,root,root) |
135 |
|
136 |
%clean |
137 |
rm -rf $RPM_BUILD_ROOT |
138 |
|
139 |
%pre |
140 |
|
141 |
%post |
142 |
/etc/e-smith/events/actions/navigation-conf |
143 |
#/etc/e-smith/events/actions/initialize-default-databases |
144 |
#mkdir -p /etc/e-smith/templates/etc/rc.d/init.d/masq |
145 |
#/bin/chmod 644 /etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowGeneWeb |
146 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
147 |
#/etc/rc.d/init.d/masq restart |
148 |
true |
149 |
|
150 |
%preun |
151 |
/sbin/e-smith/db configuration setprop geneweb status disabled |
152 |
/etc/rc.d/init.d/gwd stop |
153 |
true |
154 |
|
155 |
%postun |
156 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
157 |
#/etc/rc.d/init.d/masq restart |