1 |
Summary: Package to integrate GeneWeb (V5) into SME Server |
Summary: Package to integrate GeneWeb (V6) into SME Server |
2 |
%define name smeserver-geneweb |
%define name smeserver-geneweb |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 2.1 |
%define version 2.1.0 |
5 |
%define release 1 |
%define release 3 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Applications/Internet |
Group: Applications/Internet |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
Patch1: smeserver-geneweb-2.1-1-init.patch |
Patch1: smeserver-geneweb-2.1.0-locale-2019-12-07.patch |
12 |
|
Patch2: smeserver-geneweb-2.1.0-proxypass_services.patch |
13 |
|
|
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
to complete the integration for SME Server. |
to complete the integration for SME Server. |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Sat Jul 11 2020 Michel Begue <mab974@gmail.com> 2.1.0-3.sme |
27 |
|
- geneweb and gwsetup services thru proxypass [SME: 10930] |
28 |
|
|
29 |
|
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1.0-2.sme |
30 |
|
- apply locale 2019-12-07 patch |
31 |
|
|
32 |
* Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme |
* Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme |
33 |
- first import in sme9 for geneweb v6.08 |
- first import in sme9 for geneweb v6.08 |
34 |
- geneweb service not started [SME: 6371] |
- geneweb service not started [SME: 6371] |
35 |
- Add "Base directory" input in panel console. |
- Add "Base directory" input in panel console. |
36 |
- perms corrected in templates.metadata |
- perms corrected in templates.metadata |
37 |
|
- normalize template and .spec |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0-26.sme |
|
|
- apply locale 2016-03-09 patch |
|
|
|
|
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.0-24.el6 |
|
|
- apply locale 2012-03-20 patch |
|
|
|
|
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0-23.sme |
|
|
- apply locale 2011-04-27 patch |
|
|
|
|
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0-22.sme |
|
|
- apply locale 2011-03-06 patch |
|
|
|
|
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0-21.sme |
|
|
- apply locale 2009-10-27 patch |
|
|
|
|
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0-20.sme |
|
|
- apply locale 2009-08-24 patch |
|
|
|
|
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-19.sme |
|
|
- apply locale 2009-04-27 patch |
|
|
|
|
|
* Tue Mar 03 2009 SME Translation Server |
|
|
- apply locale 2009-03-03 patch |
|
|
|
|
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-17 |
|
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
|
|
|
|
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-16 |
|
|
- Apply 31 Jan 2009 locale patch [SME: 4951] |
|
|
|
|
|
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-15 |
|
|
- Apply 1 Jan 2009 locale patch [SME: 4900] |
|
|
|
|
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-14 |
|
|
- Apply 14 Oct 2008 locale patch |
|
|
|
|
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13 |
|
|
- Apply 1 July 2008 locale patch |
|
|
|
|
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-12 |
|
|
- Apply 27 Jun 2008 locale patch |
|
|
- Fix version number in previous changelog entry |
|
|
|
|
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-11 |
|
|
- Apply 21 May 2008 locale patch |
|
|
|
|
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10 |
|
|
- Forgot to apply patch |
|
|
|
|
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9 |
|
|
- Added 22 April 2008 locale |
|
|
|
|
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8 |
|
|
- Update to UTF-8 translations |
|
|
|
|
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7 |
|
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
|
|
|
|
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
|
|
- add locale patch, validate lexicon in spec |
|
|
|
|
|
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
|
|
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
|
|
|
|
|
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
|
|
- geneweb.pm edited for pod corrections (pass podchecker) |
|
|
|
|
|
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
|
|
- [2.0-1] First companion to Geneweb v5 w/panel for admin allowing |
|
|
for setting the desired IP on the LAN for Geneweb administrative |
|
|
access. |
|
38 |
|
|
39 |
%prep |
%prep |
40 |
|
|
41 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
42 |
|
|
43 |
%setup |
%setup |
44 |
|
# tmp fix before creating a new source archive 2.1.0-3 |
45 |
|
rm -f root/etc/e-smith/events/geneweb-modify/services2adjust/* |
46 |
%patch1 -p1 |
%patch1 -p1 |
47 |
|
%patch2 -p1 |
48 |
|
|
49 |
%build |
%build |
50 |
perl createlinks |
perl createlinks |
|
DEFAULTS=root/etc/e-smith/db/configuration/defaults/geneweb |
|
|
mkdir -p $DEFAULTS |
|
|
echo "service" > $DEFAULTS/type |
|
|
echo "disabled" > $DEFAULTS/status |
|
|
echo "127.0.0.1" >$DEFAULTS/only |
|
51 |
|
|
52 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
53 |
for lexicon in $LEXICONS |
for lexicon in $LEXICONS |
65 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
66 |
|
|
67 |
%defattr(-,root,root) |
%defattr(-,root,root) |
68 |
|
%attr(755, root, root) /var/service/geneweb/log/run |
69 |
|
%attr(755, root, root) /var/service/gwsetup/log/run |
70 |
|
|
71 |
|
|
72 |
%clean |
%clean |
73 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
75 |
%pre |
%pre |
76 |
|
|
77 |
%post |
%post |
78 |
/etc/e-smith/events/actions/navigation-conf |
ln -s /var/service/geneweb /service/geneweb |
79 |
#/etc/e-smith/events/actions/initialize-default-databases |
touch /var/service/geneweb/down |
80 |
#mkdir -p /etc/e-smith/templates/etc/rc.d/init.d/masq |
ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/geneweb |
81 |
#/bin/chmod 644 /etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowGeneWeb |
##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98geneweb |
82 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
mkdir -p /var/log/geneweb |
83 |
#/etc/rc.d/init.d/masq restart |
chown smelog:smelog /var/log/geneweb |
84 |
true |
ln -s /var/service/gwsetup /service/gwsetup |
85 |
|
touch /var/service/gwsetup/down |
86 |
|
ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/gwsetup |
87 |
|
##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98gwsetup |
88 |
|
mkdir -p /var/log/gwsetup |
89 |
|
chown smelog:smelog /var/log/gwsetup |
90 |
|
|
91 |
%preun |
%preun |
92 |
/sbin/e-smith/db configuration setprop geneweb status disabled |
/sbin/e-smith/db configuration setprop geneweb status disabled |
93 |
/etc/rc.d/init.d/gwd stop |
/sbin/e-smith/db configuration setprop gwsetup status disabled |
94 |
true |
#/etc/rc.d/init.d/geneweb stop |
95 |
|
#/etc/rc.d/init.d/gwsetup stop |
96 |
|
/usr/bin/sv stop geneweb |
97 |
|
/usr/bin/sv stop gwsetup |
98 |
|
|
99 |
%postun |
%postun |
|
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
|
|
#/etc/rc.d/init.d/masq restart |
|