1 |
Summary: Package to integrate GeneWeb (V6) 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 |
- normalize template et .spec |
31 |
|
32 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0-26.sme |
33 |
- apply locale 2016-03-09 patch |
34 |
|
35 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.0-24.el6 |
36 |
- apply locale 2012-03-20 patch |
37 |
|
38 |
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0-23.sme |
39 |
- apply locale 2011-04-27 patch |
40 |
|
41 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0-22.sme |
42 |
- apply locale 2011-03-06 patch |
43 |
|
44 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0-21.sme |
45 |
- apply locale 2009-10-27 patch |
46 |
|
47 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0-20.sme |
48 |
- apply locale 2009-08-24 patch |
49 |
|
50 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-19.sme |
51 |
- apply locale 2009-04-27 patch |
52 |
|
53 |
* Tue Mar 03 2009 SME Translation Server |
54 |
- apply locale 2009-03-03 patch |
55 |
|
56 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-17 |
57 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
58 |
|
59 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-16 |
60 |
- Apply 31 Jan 2009 locale patch [SME: 4951] |
61 |
|
62 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-15 |
63 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
64 |
|
65 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-14 |
66 |
- Apply 14 Oct 2008 locale patch |
67 |
|
68 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13 |
69 |
- Apply 1 July 2008 locale patch |
70 |
|
71 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-12 |
72 |
- Apply 27 Jun 2008 locale patch |
73 |
- Fix version number in previous changelog entry |
74 |
|
75 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-11 |
76 |
- Apply 21 May 2008 locale patch |
77 |
|
78 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10 |
79 |
- Forgot to apply patch |
80 |
|
81 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9 |
82 |
- Added 22 April 2008 locale |
83 |
|
84 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8 |
85 |
- Update to UTF-8 translations |
86 |
|
87 |
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7 |
88 |
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
89 |
|
90 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
91 |
- add locale patch, validate lexicon in spec |
92 |
|
93 |
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
94 |
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
95 |
|
96 |
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
97 |
- geneweb.pm edited for pod corrections (pass podchecker) |
98 |
|
99 |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
100 |
- [2.0-1] First companion to Geneweb v5 w/panel for admin allowing |
101 |
for setting the desired IP on the LAN for Geneweb administrative |
102 |
access. |
103 |
|
104 |
%prep |
105 |
|
106 |
rm -rf $RPM_BUILD_ROOT |
107 |
|
108 |
%setup |
109 |
%patch1 -p1 |
110 |
|
111 |
%build |
112 |
perl createlinks |
113 |
|
114 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
115 |
for lexicon in $LEXICONS |
116 |
do |
117 |
/sbin/e-smith/validate-lexicon $lexicon |
118 |
done |
119 |
|
120 |
%install |
121 |
/bin/rm -rf $RPM_BUILD_ROOT |
122 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
123 |
/bin/rm -f %{name}-%{version}-filelist |
124 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
125 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
126 |
|
127 |
%files -f %{name}-%{version}-filelist |
128 |
|
129 |
%defattr(-,root,root) |
130 |
|
131 |
%clean |
132 |
rm -rf $RPM_BUILD_ROOT |
133 |
|
134 |
%pre |
135 |
|
136 |
%post |
137 |
ln -s /etc/rc.d/init.d/geneweb /etc/rc.d/rc7.d/S99geneweb |
138 |
|
139 |
%preun |
140 |
/sbin/e-smith/db configuration setprop geneweb status disabled |
141 |
/etc/rc.d/init.d/gwd stop |
142 |
|
143 |
%postun |
144 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
145 |
#/etc/rc.d/init.d/masq restart |