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

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

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


Revision 1.26 - (show annotations) (download)
Tue Mar 3 21:37:00 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-userpanels-1_0-24_el4_sme
Changes since 1.25: +7 -2 lines
Locale updates

1 # $Id: smeserver-userpanels.spec,v 1.25 2009/03/01 19:30:30 snetram Exp $
2 # Authority: dungog
3 # Name: Stephen Noble
4
5 Summary: Panels to let users to change server settings.
6 %define name smeserver-userpanels
7 Name: %{name}
8 %define version 1.0
9 %define release 24
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GNU GPL version 2
13 URL: http://www.dungog.net/wiki
14 Group: SMEserver/addon
15 Source: %{name}-%{version}.tar.gz
16 Patch0: smeserver-vacation-1.0-esLocalePasswd+Fwd.patch
17 Patch1: smeserver-vacation-1.0-svLocalePasswd+Fwd.patch
18 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 Patch19: smeserver-userpanels-1.0-locale-2009-03-03.patch
36 BuildArchitectures: noarch
37 BuildRoot: /var/tmp/%{name}-%{version}
38 Requires: e-smith-release >= 7.0
39 Requires: e-smith-formmagick >= 1.4.0-12
40 BuildRequires: e-smith-devtools >= 1.13.1-03
41 AutoReqProv: no
42
43 %description
44 Provides additinal userpanels that allows user settings to be altered.
45 Change password,Forward mail, Backup users home directory,
46 Delegate creation of users with restrictions.
47
48 %changelog
49 * Tue Mar 03 2009 SME Translation Server
50 - apply locale 2009-03-03 patch
51
52 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23
53 - Apply 1 Mar 2009 locale patch [SME: 5018]
54
55 * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
56 - Apply 30 Nov 2008 locale patch
57
58 * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-21
59 - Apply 16 Oct 2008 locale patch
60
61 * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-20
62 - Apply 15 Oct 2008 locale patch
63
64 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-19
65 - Apply 14 Oct 2008 locale patch
66
67 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26
68 - Apply locale patch
69
70 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-17
71 - Apply 1 July 2008 locale patch
72
73 * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-16
74 - Apply 27 Jun 2008 locale patch
75
76 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-15
77 - Apply 21 May 2008 locale patch
78
79 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-14
80 - Fixed locale issue with button not being translated in password panel [SME: 4310]
81 - Added 5 May 2008 locale patch from the translate engine
82
83 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-13
84 - Add common <base> tags to e-smith-formmagick's general
85
86 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-12
87 - Apply 22 April 2008 locale patch
88
89 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-11
90 - Update to UTF-8 translations
91
92 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-10
93 - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
94
95 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-9
96 - update locale 2008-03-14
97
98 * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-8
99 - prepare en lexicons for pootle translations
100
101 * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.0-7
102 - add french translation, thanks Sylvain Gomez
103
104 * Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-6
105 - swedish translation, thanks Chrille
106
107 * Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-5
108 - remove Requires: smeserver-userpanel
109
110 * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-4
111 - update spanish translations, thanks Normando Hall [SME 3503]
112
113 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
114 - Clean up spec so package can be built by koji/plague
115
116 * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
117 - forwarding lexicon updated for de
118 - [1.0-3]
119
120 * Sun Mar 26 2006 Stephen Noble <support@dungog.net>
121 - forwarding and password lexicons updated for de
122 - fix, error in logs starting httpd-admin [sme 1991]
123 - [1.0-2]
124
125 * Sun Mar 26 2006 Stephen Noble <support@dungog.net>
126 - Userpanel-forwarding lexicons for de, fr
127 - Partial forwarding lexicons for es, it
128 - [1.0-1]
129
130 * Fri Mar 17 2006 Stephen Noble <support@dungog.net>
131 - FormMagick version for Userpanel-forward, english only
132 - Userpanel-password updated to current FM style
133 - [0.9-3]
134
135 * Wed Sep 21 2005 Stephen Noble <support@dungog.net>
136 - FormMagick version for Userpanel-password, Languages included
137 - [0.9-2]
138
139 * Wed Sep 21 2005 Stephen Noble <support@dungog.net>
140 - initial release, contains
141 - userdata-backup, useraccounts, forward mail, change password
142 - [0.9-1]
143
144 %prep
145 %setup
146 %patch0 -p1
147 %patch1 -p1
148 %patch2 -p1
149 %patch3 -p1
150 %patch4 -p1
151 %patch5 -p1
152 %patch6 -p1
153 %patch7 -p1
154 %patch8 -p1
155 %patch9 -p1
156 %patch10 -p1
157 %patch11 -p1
158 %patch12 -p1
159 %patch13 -p1
160 %patch14 -p1
161 %patch15 -p1
162 %patch16 -p1
163 %patch17 -p1
164 %patch18 -p1
165 %patch19 -p1
166
167 %build
168 LEXICONS=$(find root/etc/e-smith/locale/ -type f )
169 for lexicon in $LEXICONS root/etc/e-smith/web/functions/userpanel-{password,forwarding}
170 do
171 /sbin/e-smith/validate-lexicon $lexicon
172 done
173
174 perl createlinks
175
176 %install
177 rm -rf $RPM_BUILD_ROOT
178 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
179 rm -f %{name}-%{version}-filelist
180 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
181 echo "%doc COPYING" >> %{name}-%{version}-filelist
182
183 %clean
184 cd ..
185 rm -rf %{name}-%{version}
186
187 %pre
188 %preun
189
190 %post
191 #new installs
192 if [ $1 = 1 ] ; then
193 globalUP=`/sbin/e-smith/db accounts get globalUP`
194 if [ "x$globalUP" = "x" ]; then
195 /sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || :
196 fi
197 fi
198
199 #upgrades (and new installs)
200 if [ -d /etc/e-smith/events/conf-userpanel ] ; then
201 /sbin/e-smith/signal-event conf-userpanel
202 fi
203
204 %postun
205 #uninstall
206 if [ $1 = 0 ] ; then
207 DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
208 for db in $DBS ; do
209 /sbin/e-smith/db $db delete userpanel-password 2>/dev/null
210 /sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null
211 /sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null
212 /sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null
213 done
214 fi
215
216 %files -f %{name}-%{version}-filelist
217 %defattr(-,root,root)

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