Summary: Package to integrate GeneWeb (V5) into SME Server %define name smeserver-geneweb Name: %{name} %define version 2.1 %define release 1 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Applications/Internet Source: %{name}-%{version}.tar.gz Patch1: smeserver-geneweb-2.1-1-init.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: geneweb >= 6.08 Requires: smeserver-release >= 9.0 Requires: e-smith-formmagick >= 2.4.0-1 BuildRequires: e-smith-devtools %description This RPM must be installed after the geneweb*.el6.sme package to complete the integration for SME Server. %changelog * Wed Apr 03 2019 Michel Begue 2.1-1.sme - first import in sme9 for geneweb v6.08 - geneweb service not started [SME: 6371] - Add "Base directory" input in panel console. - perms corrected in templates.metadata * Wed Mar 09 2016 JP Pialasse 2.0-26.sme - apply locale 2016-03-09 patch * Tue Mar 20 2012 SME Translation Server 2.0-24.el6 - apply locale 2012-03-20 patch * Wed Apr 27 2011 SME Translation Server 2.0-23.sme - apply locale 2011-04-27 patch * Sun Mar 06 2011 SME Translation Server 2.0-22.sme - apply locale 2011-03-06 patch * Tue Oct 27 2009 SME Translation Server 2.0-21.sme - apply locale 2009-10-27 patch * Mon Aug 24 2009 SME Translation Server 2.0-20.sme - apply locale 2009-08-24 patch * Mon Apr 27 2009 SME Translation Server 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 2.0-17 - Apply 1 Mar 2009 locale patch [SME: 5018] * Sat Jan 31 2009 Jonathan Martens 2.0-16 - Apply 31 Jan 2009 locale patch [SME: 4951] * Thu Jan 1 2009 Jonathan Martens 2.0-15 - Apply 1 Jan 2009 locale patch [SME: 4900] * Tue Oct 14 2008 Jonathan Martens 2.0-14 - Apply 14 Oct 2008 locale patch * Tue Jul 1 2008 Jonathan Martens 2.0-13 - Apply 1 July 2008 locale patch * Fri Jun 27 2008 Jonathan Martens 2.0-12 - Apply 27 Jun 2008 locale patch - Fix version number in previous changelog entry * Thu May 21 2008 Jonathan Martens 2.0-11 - Apply 21 May 2008 locale patch * Tue Apr 22 2008 Jonathan Martens 2.0-10 - Forgot to apply patch * Tue Apr 22 2008 Jonathan Martens 2.0-9 - Added 22 April 2008 locale * Tue Apr 1 2008 Shad L. Lords 2.0-8 - Update to UTF-8 translations * Wed Mar 12 2008 Shad L. Lords - 2.0-7 - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] * Tue Mar 11 2008 Stephen Noble - 2.0-6 - add locale patch, validate lexicon in spec * Tue Jan 15 2008 Craig Jensen 2.0-5 - geneweb.pm fix to correctly validate IP numbers 'and' localIP * Sun Jan 13 2008 Craig Jensen 2.0-4 - geneweb.pm edited for pod corrections (pass podchecker) * Thu Apr 12 2007 Craig D. Jensen - [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. %prep rm -rf $RPM_BUILD_ROOT %setup %patch1 -p1 %build 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 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) for lexicon in $LEXICONS do /sbin/e-smith/validate-lexicon $lexicon done %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root) %clean rm -rf $RPM_BUILD_ROOT %pre %post /etc/e-smith/events/actions/navigation-conf #/etc/e-smith/events/actions/initialize-default-databases #mkdir -p /etc/e-smith/templates/etc/rc.d/init.d/masq #/bin/chmod 644 /etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowGeneWeb /sbin/e-smith/expand-template /etc/rc.d/init.d/masq #/etc/rc.d/init.d/masq restart true %preun /sbin/e-smith/db configuration setprop geneweb status disabled /etc/rc.d/init.d/gwd stop true %postun /sbin/e-smith/expand-template /etc/rc.d/init.d/masq #/etc/rc.d/init.d/masq restart