/[smecontribs]/rpms/smeserver-tw-logonscript/contribs7/smeserver-tw-logonscript.spec
ViewVC logotype

Diff of /rpms/smeserver-tw-logonscript/contribs7/smeserver-tw-logonscript.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.11 by chriscosta, Tue Dec 1 00:05:14 2009 UTC Revision 1.13 by chriscosta, Wed Jan 27 03:42:49 2010 UTC
# Line 1  Line 1 
1  # $Id: smeserver-tw-logonscript.spec,v 1.10 2009/11/19 03:18:50 chriscosta Exp $  # $Id: smeserver-tw-logonscript.spec,v 1.12 2009/12/01 02:24:41 chriscosta Exp $
2  # Authority: chriscosta  # Authority: chriscosta
3  # Name: Christian Costa  # Name: Christian Costa
4    
5  %define name smeserver-tw-logonscript  %define name smeserver-tw-logonscript
6  %define version 1.3  %define version 1.3
7  %define release 12  %define release 14
8  Summary: TechnologyWise Windows/Linux logon script for Samba  Summary: TechnologyWise Windows/Linux logon script for Samba
9  Name: %{name}  Name: %{name}
10  Version: %{version}  Version: %{version}
# Line 20  Patch6: smeserver-tw-logonscript-1.3-fun Line 20  Patch6: smeserver-tw-logonscript-1.3-fun
20  Patch7: smeserver-tw-logonscript-1.3-panelPrintGroupTable.patch  Patch7: smeserver-tw-logonscript-1.3-panelPrintGroupTable.patch
21  Patch8: smeserver-tw-logonscript-1.3-TemplateWarningFix.patch  Patch8: smeserver-tw-logonscript-1.3-TemplateWarningFix.patch
22  Patch9: smeserver-tw-logonscript-1.3-signalEventPatch.patch  Patch9: smeserver-tw-logonscript-1.3-signalEventPatch.patch
23    Patch10: smeserver-tw-logonscript-1.3-signalEventPatch2.patch
24    Patch11: smeserver-tw-logonscript-1.3-pathDBSettings.patch
25  License: GNU GPL version 2  License: GNU GPL version 2
26  Group: Networking/Daemons  Group: Networking/Daemons
27  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 41  TechnologyWise Windows/Linux logon scrip Line 43  TechnologyWise Windows/Linux logon scrip
43  %patch7 -p1  %patch7 -p1
44  %patch8 -p1  %patch8 -p1
45  %patch9 -p1  %patch9 -p1
46    %patch10 -p1
47    %patch11 -p1
48  %build  %build
49  perl createlinks  perl createlinks
50    
# Line 55  rm -f %{name}-%{version}-filelist Line 59  rm -f %{name}-%{version}-filelist
59  cd ..  cd ..
60  rm -rf %{name}  rm -rf %{name}
61    
62    
63    %pre
64    UPDATE=$(/sbin/e-smith/db configuration get tw-logonscript)
65    
66    case $UPDATE in
67        0)
68             echo "tw-logonscript configuration db found, not touching anything"
69        ;;
70    
71        1)
72             /sbin/e-smith/db configuration set tw-logonscript configuration
73             /sbin/e-smith/db configuration setprop tw-logonscript MountPointsPath /mnt UserHomeMountPointName user_data
74        ;;
75    esac
76    
77    %preun
78        /sbin/e-smith/db configuration delete tw-logonscript
79    
80  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
81  %defattr(-,root,root)  %defattr(-,root,root)
82    
83  %changelog  %changelog
84    * Wed Jan 27 2010 Christian Costa <christian@tw.co.nz> 1.3-14
85    - Created a new configuration database for tw-logonscript. Two properties MountPointsPath and UserHomeMountPointName have been added.
86    - Changed the spec file to set the default properties automatically
87    
88    * Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-13
89    - Changed event name on createlinks to bootstrap-console-save instead of post-upgrade.
90    
91  * Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-12  * Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-12
92  - Changed the createlinks script to correctly set up the templates to expand so that netlogon.bat will be expanded with workgroup-update and post-upgrade  - Changed the createlinks script to correctly set up the templates to expand so that netlogon.bat will be expanded with workgroup-update and post-upgrade
93    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed