/[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.13 by chriscosta, Wed Jan 27 03:42:49 2010 UTC Revision 1.16 by slords, Sun May 23 19:14:41 2010 UTC
# Line 1  Line 1 
1  # $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 $
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 14  %define release 17
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 22  Patch8: smeserver-tw-logonscript-1.3-Tem Line 22  Patch8: smeserver-tw-logonscript-1.3-Tem
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  Patch10: smeserver-tw-logonscript-1.3-signalEventPatch2.patch
24  Patch11: smeserver-tw-logonscript-1.3-pathDBSettings.patch  Patch11: smeserver-tw-logonscript-1.3-pathDBSettings.patch
25    Patch12: smeserver-tw-logonscript-1.3-newDBproperty1.patch
26    Patch13: smeserver-tw-logonscript-1.3-newDBproperty2.patch
27    Patch14: smeserver-tw-logonscript-1.3-newDBproperty3.patch
28    Patch15: smeserver-tw-logonscript-1.3-dbNameChange.patch
29    Patch16: smeserver-tw-logonscript-1.3-locale-2010-03-02.patch
30    Patch17: smeserver-tw-logonscript-1.3-locale-2010-05-23.patch
31  License: GNU GPL version 2  License: GNU GPL version 2
32  Group: Networking/Daemons  Group: Networking/Daemons
33  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 45  TechnologyWise Windows/Linux logon scrip Line 51  TechnologyWise Windows/Linux logon scrip
51  %patch9 -p1  %patch9 -p1
52  %patch10 -p1  %patch10 -p1
53  %patch11 -p1  %patch11 -p1
54    %patch12 -p1
55    %patch13 -p1
56    %patch14 -p1
57    %patch15 -p1
58    %patch16 -p1
59    %patch17 -p1
60    
61  %build  %build
62  perl createlinks  perl createlinks
63    
# Line 59  rm -f %{name}-%{version}-filelist Line 72  rm -f %{name}-%{version}-filelist
72  cd ..  cd ..
73  rm -rf %{name}  rm -rf %{name}
74    
   
 %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  
   
75  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
76  %defattr(-,root,root)  %defattr(-,root,root)
77    
78  %changelog  %changelog
79    * Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.3-17.sme
80    - apply locale 2010-05-23 patch
81    
82    * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.3-16.sme
83    - apply locale 2010-03-02 patch
84    
85    * Thu Jan 28 2010 Christian Costa <christian@tw.co.nz> 1.3-15
86    - Removed %pre %preun from spec file
87    - Added new files under etc/e-smith/db/configuration/defaults/twlogonscript/
88    - Change to the main script so that it will comply with the new db name
89    
90  * Wed Jan 27 2010 Christian Costa <christian@tw.co.nz> 1.3-14  * Wed Jan 27 2010 Christian Costa <christian@tw.co.nz> 1.3-14
91  - Created a new configuration database for tw-logonscript. Two properties MountPointsPath and UserHomeMountPointName have been added.  - Created a new configuration database for tw-logonscript. Two properties MountPointsPath and UserHomeMountPointName have been added.
92  - Changed the spec file to set the default properties automatically  - Changed the spec file to set the default properties automatically


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