--- rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0.spec 2007/12/23 21:11:36 1.7 +++ rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0.spec 2007/12/26 01:26:14 1.8 @@ -10,7 +10,7 @@ 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-esLocale.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-release >= 7.0, @@ -130,7 +130,7 @@ enable vacation for themselves and to mo %prep %setup %patch0 -p1 -%patch1 -p2 +#%patch1 -p2 %build perl createlinks @@ -144,13 +144,11 @@ do /sbin/e-smith/validate-lexicon $lexicon done -# it sv +#todo it sv for LINK in en-us fr de es do -# if [ -z "/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/uservacations"] ; then /bin/ln -s uservacations \ root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-vacation -# fi done %install @@ -170,20 +168,11 @@ rm -rf %{name}-%{version} %preun %post -#new installs -#if [ $1 = 1 ] ; then - -#fi - -#upgrades (and new installs) -#/etc/e-smith/events/actions/navigation-conf 2>/dev/null if [ -d /etc/e-smith/events/conf-userpanel ] ; then /sbin/e-smith/signal-event conf-userpanel fi -#/bin/chmod a+x /usr/local/bin/vacation - %postun #uninstall if [ $1 = 0 ] ; then