--- rpms/smeserver-tw-logonscript/contribs7/smeserver-tw-logonscript.spec 2010/01/27 03:42:49 1.13 +++ rpms/smeserver-tw-logonscript/contribs7/smeserver-tw-logonscript.spec 2010/05/23 19:14:41 1.16 @@ -1,10 +1,10 @@ -# $Id: smeserver-tw-logonscript.spec,v 1.12 2009/12/01 02:24:41 chriscosta Exp $ +# $Id: smeserver-tw-logonscript.spec,v 1.15 2010/03/03 04:04:06 slords Exp $ # Authority: chriscosta # Name: Christian Costa %define name smeserver-tw-logonscript %define version 1.3 -%define release 14 +%define release 17 Summary: TechnologyWise Windows/Linux logon script for Samba Name: %{name} Version: %{version} @@ -22,6 +22,12 @@ Patch8: smeserver-tw-logonscript-1.3-Tem Patch9: smeserver-tw-logonscript-1.3-signalEventPatch.patch Patch10: smeserver-tw-logonscript-1.3-signalEventPatch2.patch Patch11: smeserver-tw-logonscript-1.3-pathDBSettings.patch +Patch12: smeserver-tw-logonscript-1.3-newDBproperty1.patch +Patch13: smeserver-tw-logonscript-1.3-newDBproperty2.patch +Patch14: smeserver-tw-logonscript-1.3-newDBproperty3.patch +Patch15: smeserver-tw-logonscript-1.3-dbNameChange.patch +Patch16: smeserver-tw-logonscript-1.3-locale-2010-03-02.patch +Patch17: smeserver-tw-logonscript-1.3-locale-2010-05-23.patch License: GNU GPL version 2 Group: Networking/Daemons BuildArchitectures: noarch @@ -45,6 +51,13 @@ TechnologyWise Windows/Linux logon scrip %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 + %build perl createlinks @@ -59,28 +72,21 @@ rm -f %{name}-%{version}-filelist cd .. rm -rf %{name} - -%pre -UPDATE=$(/sbin/e-smith/db configuration get tw-logonscript) - -case $UPDATE in - 0) - echo "tw-logonscript configuration db found, not touching anything" - ;; - - 1) - /sbin/e-smith/db configuration set tw-logonscript configuration - /sbin/e-smith/db configuration setprop tw-logonscript MountPointsPath /mnt UserHomeMountPointName user_data - ;; -esac - -%preun - /sbin/e-smith/db configuration delete tw-logonscript - %files -f %{name}-%{version}-filelist %defattr(-,root,root) %changelog +* Sun May 23 2010 SME Translation Server 1.3-17.sme +- apply locale 2010-05-23 patch + +* Tue Mar 02 2010 SME Translation Server 1.3-16.sme +- apply locale 2010-03-02 patch + +* Thu Jan 28 2010 Christian Costa 1.3-15 +- Removed %pre %preun from spec file +- Added new files under etc/e-smith/db/configuration/defaults/twlogonscript/ +- Change to the main script so that it will comply with the new db name + * Wed Jan 27 2010 Christian Costa 1.3-14 - Created a new configuration database for tw-logonscript. Two properties MountPointsPath and UserHomeMountPointName have been added. - Changed the spec file to set the default properties automatically