--- 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 2011/03/06 15:28:44 1.17 @@ -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.16 2010/05/23 19:14:41 slords Exp $ # Authority: chriscosta # Name: Christian Costa %define name smeserver-tw-logonscript %define version 1.3 -%define release 14 +%define release 18 Summary: TechnologyWise Windows/Linux logon script for Samba Name: %{name} Version: %{version} @@ -22,6 +22,13 @@ 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 +Patch18: smeserver-tw-logonscript-1.3-locale-2011-03-06.patch License: GNU GPL version 2 Group: Networking/Daemons BuildArchitectures: noarch @@ -45,6 +52,14 @@ TechnologyWise Windows/Linux logon scrip %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 + %build perl createlinks @@ -59,28 +74,24 @@ rm -f %{name}-%{version}-filelist cd .. rm -rf %{name} +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) -%pre -UPDATE=$(/sbin/e-smith/db configuration get tw-logonscript) +%changelog +* Sun Mar 06 2011 SME Translation Server 1.3-18.sme +- apply locale 2011-03-06 patch -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 +* Sun May 23 2010 SME Translation Server 1.3-17.sme +- apply locale 2010-05-23 patch -%preun - /sbin/e-smith/db configuration delete tw-logonscript +* Tue Mar 02 2010 SME Translation Server 1.3-16.sme +- apply locale 2010-03-02 patch -%files -f %{name}-%{version}-filelist -%defattr(-,root,root) +* 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 -%changelog * 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