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

Diff of /rpms/smeserver-userpanels/contribs7/smeserver-userpanels.spec

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

Revision 1.1 by slords, Tue Feb 26 01:05:35 2008 UTC Revision 1.25 by snetram, Sun Mar 1 19:30:30 2009 UTC
# Line 1  Line 1 
1    # $Id: smeserver-userpanels.spec,v 1.24 2008/11/30 22:08:26 snetram Exp $
2    # Authority: dungog
3    # Name: Stephen Noble
4    
5  Summary: Panels to let users to change server settings.  Summary: Panels to let users to change server settings.
6  %define name smeserver-userpanels  %define name smeserver-userpanels
7  Name: %{name}  Name: %{name}
8  %define version 1.0  %define version 1.0
9  %define release 7  %define release 23
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GNU GPL version 2
13  URL: http://www.dungog.net/sme  URL: http://www.dungog.net/wiki
14  Group: SMEserver/addon  Group: SMEserver/addon
15  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
16  Patch0: smeserver-vacation-1.0-esLocalePasswd+Fwd.patch  Patch0: smeserver-vacation-1.0-esLocalePasswd+Fwd.patch
17  Patch1: smeserver-vacation-1.0-svLocalePasswd+Fwd.patch  Patch1: smeserver-vacation-1.0-svLocalePasswd+Fwd.patch
18  Patch2: smeserver-userpanels-1.0-frLocale.patch  Patch2: smeserver-userpanels-1.0-frLocale.patch
19    Patch3: smeserver-userpanels-1.0-pootle.patch
20    Patch4: smeserver-userpanels-1.0-locale-2008-03-14.patch
21    Patch5: smeserver-userpanels-1.0-locale-2008-04-01.patch
22    Patch6: smeserver-userpanels-1.0-locale-2008-04-22.patch
23    Patch7: smeserver-userpanels-1.0-add2general.patch
24    Patch8: smeserver-userpanels-1.0-locale-2008-05-05.patch
25    Patch9: smeserver-userpanels-1.0-add2general.patch2
26    Patch10: smeserver-userpanels-1.0-locale-2008-05-21.patch
27    Patch11: smeserver-userpanels-1.0-locale-2008-06-27.patch
28    Patch12: smeserver-userpanels-1.0-locale-2008-07-01.patch
29    Patch13: smeserver-userpanels-1.0-locale-2008-09-27.patch
30    Patch14: smeserver-userpanels-1.0-locale-2008-10-14.patch
31    Patch15: smeserver-userpanels-1.0-locale-2008-10-15.patch
32    Patch16: smeserver-userpanels-1.0-locale-2008-10-16.patch
33    Patch17: smeserver-userpanels-1.0-locale-2008-11-30.patch
34    Patch18: smeserver-userpanels-1.0-locale-2009-03-01.patch
35  BuildArchitectures: noarch  BuildArchitectures: noarch
36  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
37  Requires: e-smith-release >= 7.0  Requires: e-smith-release >= 7.0
38    Requires: e-smith-formmagick >= 1.4.0-12
39  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
40  AutoReqProv: no  AutoReqProv: no
41    
# Line 24  Change password,Forward mail, Backup use Line 45  Change password,Forward mail, Backup use
45  Delegate creation of users with restrictions.  Delegate creation of users with restrictions.
46    
47  %changelog  %changelog
48    * Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23
49    - Apply  1 Mar 2009 locale patch [SME: 5018]
50    
51    * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
52    - Apply 30 Nov 2008 locale patch
53    
54    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-21
55    - Apply 16 Oct 2008 locale patch
56    
57    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-20
58    - Apply 15 Oct 2008 locale patch
59    
60    * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-19
61    - Apply 14 Oct 2008 locale patch
62    
63    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26
64    - Apply locale patch
65    
66    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-17
67    - Apply 1 July 2008 locale patch
68    
69    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-16
70    - Apply 27 Jun 2008 locale patch
71    
72    * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-15
73    - Apply 21 May 2008 locale patch
74    
75    * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-14
76    - Fixed locale issue with button not being translated in password panel [SME: 4310]
77    - Added 5 May 2008 locale patch from the translate engine
78    
79    * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-13
80    - Add common <base> tags to e-smith-formmagick's general
81    
82    * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-12
83    - Apply 22 April 2008 locale patch
84    
85    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-11
86    - Update to UTF-8 translations
87    
88    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-10
89    - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
90    
91    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-9
92    - update locale 2008-03-14
93    
94    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-8
95    - prepare en lexicons for pootle translations
96    
97  * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.0-7  * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.0-7
98  - add french translation, thanks Sylvain Gomez  - add french translation, thanks Sylvain Gomez
99    
# Line 72  Delegate creation of users with restrict Line 142  Delegate creation of users with restrict
142  %patch0 -p1  %patch0 -p1
143  %patch1 -p1  %patch1 -p1
144  %patch2 -p1  %patch2 -p1
145    %patch3 -p1
146    %patch4 -p1
147    %patch5 -p1
148    %patch6 -p1
149    %patch7 -p1
150    %patch8 -p1
151    %patch9 -p1
152    %patch10 -p1
153    %patch11 -p1
154    %patch12 -p1
155    %patch13 -p1
156    %patch14 -p1
157    %patch15 -p1
158    %patch16 -p1
159    %patch17 -p1
160    %patch18 -p1
161    
162  %build  %build
163  LEXICONS1=$(find root/etc/e-smith/web/functions/userpanel-password -type f )  LEXICONS=$(find root/etc/e-smith/locale/ -type f )
164  LEXICONS2=$(find root/etc/e-smith/web/functions/userpanel-forwarding -type f )  for lexicon in $LEXICONS root/etc/e-smith/web/functions/userpanel-{password,forwarding}
 LEXICONS3=$(find root/etc/e-smith/locale/ -type f )  
   
 for lexicon in $LEXICONS1 $LEXICONS2 $LEXICONS3  
165  do  do
166      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
167  done  done
168    
 #/sbin/e-smith/generate-lexicons  
   
169  perl createlinks  perl createlinks
170    
171  %install  %install
# Line 104  rm -rf %{name}-%{version} Line 185  rm -rf %{name}-%{version}
185  %post  %post
186  #new installs  #new installs
187  if [ $1 = 1 ] ; then  if [ $1 = 1 ] ; then
   
188   globalUP=`/sbin/e-smith/db accounts get globalUP`   globalUP=`/sbin/e-smith/db accounts get globalUP`
189   if [ "x$globalUP" = "x" ]; then   if [ "x$globalUP" = "x" ]; then
190       /sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || :       /sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || :
191   fi   fi
   
 /etc/e-smith/events/actions/navigation-conf 2>/dev/null  
   
192  fi  fi
193    
194  #upgrades (and new installs)  #upgrades (and new installs)
195    if [ -d /etc/e-smith/events/conf-userpanel ] ; then
196  #if [ -d /etc/e-smith/events/conf-userpanel ] ; then     /sbin/e-smith/signal-event conf-userpanel
197  #   /sbin/e-smith/signal-event conf-userpanel  fi
 #fi  
   
 #notice  
 echo 'smeserver-mailsorting has procmail and maildrop'  
 echo 'smeserver-vacation has vacation'  
198    
199  %postun  %postun
200  #uninstall  #uninstall
201  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
   
202   DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`   DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
203   for db in $DBS ; do   for db in $DBS ; do
204            /sbin/e-smith/db $db delete userpanel-password 2>/dev/null            /sbin/e-smith/db $db delete userpanel-password 2>/dev/null


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