--- rpms/smeserver-userpanels/contribs7/smeserver-userpanels.spec 2008/03/08 02:30:03 1.2 +++ rpms/smeserver-userpanels/contribs7/smeserver-userpanels.spec 2009/05/20 18:16:28 1.28 @@ -1,21 +1,44 @@ +# $Id: smeserver-userpanels.spec,v 1.27 2009/04/27 16:11:21 slords Exp $ +# Authority: dungog +# Name: Stephen Noble + Summary: Panels to let users to change server settings. %define name smeserver-userpanels Name: %{name} %define version 1.0 -%define release 8 +%define release 26 Version: %{version} Release: %{release}%{?dist} -License: GPL -URL: http://www.dungog.net/sme +License: GNU GPL version 2 +URL: http://www.dungog.net/wiki Group: SMEserver/addon Source: %{name}-%{version}.tar.gz Patch0: smeserver-vacation-1.0-esLocalePasswd+Fwd.patch Patch1: smeserver-vacation-1.0-svLocalePasswd+Fwd.patch Patch2: smeserver-userpanels-1.0-frLocale.patch Patch3: smeserver-userpanels-1.0-pootle.patch +Patch4: smeserver-userpanels-1.0-locale-2008-03-14.patch +Patch5: smeserver-userpanels-1.0-locale-2008-04-01.patch +Patch6: smeserver-userpanels-1.0-locale-2008-04-22.patch +Patch7: smeserver-userpanels-1.0-add2general.patch +Patch8: smeserver-userpanels-1.0-locale-2008-05-05.patch +Patch9: smeserver-userpanels-1.0-add2general.patch2 +Patch10: smeserver-userpanels-1.0-locale-2008-05-21.patch +Patch11: smeserver-userpanels-1.0-locale-2008-06-27.patch +Patch12: smeserver-userpanels-1.0-locale-2008-07-01.patch +Patch13: smeserver-userpanels-1.0-locale-2008-09-27.patch +Patch14: smeserver-userpanels-1.0-locale-2008-10-14.patch +Patch15: smeserver-userpanels-1.0-locale-2008-10-15.patch +Patch16: smeserver-userpanels-1.0-locale-2008-10-16.patch +Patch17: smeserver-userpanels-1.0-locale-2008-11-30.patch +Patch18: smeserver-userpanels-1.0-locale-2009-03-01.patch +Patch19: smeserver-userpanels-1.0-locale-2009-03-03.patch +Patch20: smeserver-userpanels-1.0-locale-2009-04-27.patch +Patch21: smeserver-userpanels-1.0-locale-2009-05-20.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-release >= 7.0 +Requires: e-smith-formmagick >= 1.4.0-12 BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReqProv: no @@ -25,7 +48,62 @@ Change password,Forward mail, Backup use Delegate creation of users with restrictions. %changelog -* Sat Mar 01 2008 Stephen Noble - 1.0-8 +* Wed May 20 2009 SME Translation Server 1.0-26.sme +- apply locale 2009-05-20 patch + +* Mon Apr 27 2009 SME Translation Server 1.0-25.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 1.0-23 +- Apply 1 Mar 2009 locale patch [SME: 5018] + +* Sun Nov 30 2008 Jonathan Martens 1.0-22 +- Apply 30 Nov 2008 locale patch + +* Thu Oct 16 2008 Jonathan Martens 1.0-21 +- Apply 16 Oct 2008 locale patch + +* Wed Oct 15 2008 Jonathan Martens 1.0-20 +- Apply 15 Oct 2008 locale patch + +* Tue Oct 14 2008 Jonathan Martens 1.0-19 +- Apply 14 Oct 2008 locale patch + +* Sat Sep 27 2008 Stephen Noble - 1.2-26 +- Apply locale patch + +* Tue Jul 1 2008 Jonathan Martens 1.0-17 +- Apply 1 July 2008 locale patch + +* Fri Jun 27 2008 Jonathan Martens 1.0-16 +- Apply 27 Jun 2008 locale patch + +* Thu May 21 2008 Jonathan Martens 1.0-15 +- Apply 21 May 2008 locale patch + +* Mon May 5 2008 Jonathan Martens 1.0-14 +- Fixed locale issue with button not being translated in password panel [SME: 4310] +- Added 5 May 2008 locale patch from the translate engine + +* Sat Apr 26 2008 Jonathan Martens 1.0-13 +- Add common tags to e-smith-formmagick's general + +* Tue Apr 22 2008 Jonathan Martens 1.0-12 +- Apply 22 April 2008 locale patch + +* Tue Apr 1 2008 Shad L. Lords 1.0-11 +- Update to UTF-8 translations + +* Fri Mar 14 2008 Stephen Noble - 1.0-10 +- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] + +* Fri Mar 14 2008 Stephen Noble - 1.0-9 +- update locale 2008-03-14 + +* Sat Mar 07 2008 Stephen Noble - 1.0-8 - prepare en lexicons for pootle translations * Tue Dec 25 2007 Stephen Noble 1.0-7 @@ -77,13 +155,28 @@ Delegate creation of users with restrict %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 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 +%patch21 -p1 %build -LEXICONS1=$(find root/etc/e-smith/web/functions/userpanel-password -type f ) -LEXICONS2=$(find root/etc/e-smith/web/functions/userpanel-forwarding -type f ) -LEXICONS3=$(find root/etc/e-smith/locale/ -type f ) - -for lexicon in $LEXICONS1 $LEXICONS2 $LEXICONS3 +LEXICONS=$(find root/etc/e-smith/locale/ -type f ) +for lexicon in $LEXICONS root/etc/e-smith/web/functions/userpanel-{password,forwarding} do /sbin/e-smith/validate-lexicon $lexicon done @@ -107,30 +200,20 @@ rm -rf %{name}-%{version} %post #new installs if [ $1 = 1 ] ; then - globalUP=`/sbin/e-smith/db accounts get globalUP` if [ "x$globalUP" = "x" ]; then /sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || : fi - -/etc/e-smith/events/actions/navigation-conf 2>/dev/null - fi #upgrades (and new installs) - if [ -d /etc/e-smith/events/conf-userpanel ] ; then /sbin/e-smith/signal-event conf-userpanel fi -#notice -echo 'smeserver-mailsorting has procmail and maildrop' -echo 'smeserver-vacation has vacation' - %postun #uninstall if [ $1 = 0 ] ; then - DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` for db in $DBS ; do /sbin/e-smith/db $db delete userpanel-password 2>/dev/null