--- rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0.spec 2007/12/26 01:26:14 1.8 +++ rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0.spec 2007/12/26 02:44:15 1.9 @@ -1,16 +1,16 @@ -Summary: SME Server enhancement to enable vacation messages for users. %define name smeserver-vacation -Name: %{name} %define version 1.0 -%define release 13 +%define release 14 +Summary: SME Server enhancement to enable vacation messages for users. +Name: %{name} Version: %{version} Release: %{release}%{?dist} -License: GPL +License: GNU GPL version 2 URL: http://www.dungog.net/sme Group: SMEserver/addon Source: %{name}-%{version}.tar.gz Patch0: smeserver-vacation-1.0-frMenuSplit.patch -#Patch1: smeserver-vacation-1.0-esLocale.patch +Patch1: smeserver-vacation-1.0-esLocale2.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-release >= 7.0, @@ -23,6 +23,9 @@ Optionally provides a user-manager panel enable vacation for themselves and to modify their own message %changelog +* Wed Dec 26 2007 Stephen Noble 1.0-14 +- fix spanish translation + * Mon Oct 29 2007 Stephen Noble 1.0-13 - add spanish translation, thanks Normando Hall [SME 3503] @@ -130,16 +133,15 @@ enable vacation for themselves and to mo %prep %setup %patch0 -p1 -#%patch1 -p2 +%patch1 -p2 %build perl createlinks LEXICONS1=$(find root/etc/e-smith/locale/ -type f ) -LEXICONS2=$(find root/etc/e-smith/web/functions/uservacations -type f ) -LEXICONS2=$(find root/etc/e-smith/web/functions/userpanel-vacation -type f ) +LEXICONS2=$(find root/etc/e-smith/web/functions/ -type f ) -for lexicon in $LEXICONS1 $LEXICONS2 $LEXICONS3 +for lexicon in $LEXICONS1 $LEXICONS2 do /sbin/e-smith/validate-lexicon $lexicon done @@ -147,8 +149,7 @@ done #todo it sv for LINK in en-us fr de es do - /bin/ln -s uservacations \ - root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-vacation + /bin/ln -s uservacations root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-vacation done %install @@ -161,14 +162,12 @@ rm -f %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean -cd .. -rm -rf %{name}-%{version} +rm -rf $RPM_BUILD_ROOT %pre %preun %post - if [ -d /etc/e-smith/events/conf-userpanel ] ; then /sbin/e-smith/signal-event conf-userpanel fi @@ -191,4 +190,3 @@ fi %files -f %{name}-%{version}-filelist %defattr(-,root,root) -