--- rpms/smeserver-geneweb/contribs7/smeserver-geneweb.spec 2008/01/16 06:08:34 1.6 +++ rpms/smeserver-geneweb/contribs7/smeserver-geneweb.spec 2009/08/24 17:58:13 1.24 @@ -1,8 +1,12 @@ +# $Id: smeserver-geneweb.spec,v 1.23 2009/04/27 16:11:20 slords Exp $ +# Authority: fetcher +# Name: Craig D. Jensen + Summary: Package to integrate GeneWeb (V5) into SME Server %define name smeserver-geneweb Name: %{name} %define version 2.0 -%define release 5 +%define release 20 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -10,10 +14,24 @@ Group: Applications/Internet Source: %{name}-%{version}.tar.gz Patch1: smeserver-geneweb-2.0-pod-corrections.patch Patch2: smeserver-geneweb-2.0-ip_number-validation.patch +Patch3: smeserver-geneweb-2.0-locale-2008-03-11.patch +Patch4: smeserver-geneweb-2.0-locale-2008-04-01.patch +Patch5: smeserver-geneweb-2.0-locale-2008-04-22.patch +Patch6: smeserver-geneweb-2.0-locale-2008-05-21.patch +Patch7: smeserver-geneweb-2.0-locale-2008-06-27.patch +Patch8: smeserver-geneweb-2.0-locale-2008-07-01.patch +Patch9: smeserver-geneweb-2.0-locale-2008-10-14.patch +Patch10: smeserver-geneweb-2.0-locale-2009-01-01.patch +Patch11: smeserver-geneweb-2.0-locale-2009-01-31.patch +Patch12: smeserver-geneweb-2.0-locale-2009-03-01.patch +Patch13: smeserver-geneweb-2.0-locale-2009-03-03.patch +Patch14: smeserver-geneweb-2.0-locale-2009-04-27.patch +Patch15: smeserver-geneweb-2.0-locale-2009-08-24.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: geneweb >= 5.00 Requires: smeserver-release >= 7.0 +Requires: e-smith-formmagick >= 1.4.0-10 BuildRequires: e-smith-devtools %description @@ -21,6 +39,52 @@ This RPM must be installed after the gen to complete the integration for SME Server. %changelog +* 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 @@ -39,6 +103,19 @@ rm -rf $RPM_BUILD_ROOT %setup %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 %build perl createlinks @@ -48,6 +125,12 @@ 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)