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

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

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


Revision 1.34 - (hide annotations) (download)
Tue Mar 20 15:39:37 2012 UTC (12 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-userpanels-1_0-32_el4_sme
Changes since 1.33: +7 -2 lines
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.0-32.el6
- apply locale 2012-03-20 patch

1 slords 1.34 # $Id: smeserver-userpanels.spec,v 1.33 2011/03/06 15:28:53 slords Exp $
2 slords 1.8 # Authority: dungog
3     # Name: Stephen Noble
4    
5 slords 1.1 Summary: Panels to let users to change server settings.
6     %define name smeserver-userpanels
7     Name: %{name}
8     %define version 1.0
9 slords 1.34 %define release 32
10 slords 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12 dungog 1.3 License: GNU GPL version 2
13     URL: http://www.dungog.net/wiki
14 slords 1.1 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 dungog 1.2 Patch3: smeserver-userpanels-1.0-pootle.patch
20 dungog 1.3 Patch4: smeserver-userpanels-1.0-locale-2008-03-14.patch
21 slords 1.7 Patch5: smeserver-userpanels-1.0-locale-2008-04-01.patch
22 snetram 1.9 Patch6: smeserver-userpanels-1.0-locale-2008-04-22.patch
23 snetram 1.10 Patch7: smeserver-userpanels-1.0-add2general.patch
24 snetram 1.12 Patch8: smeserver-userpanels-1.0-locale-2008-05-05.patch
25     Patch9: smeserver-userpanels-1.0-add2general.patch2
26 snetram 1.14 Patch10: smeserver-userpanels-1.0-locale-2008-05-21.patch
27 snetram 1.15 Patch11: smeserver-userpanels-1.0-locale-2008-06-27.patch
28 snetram 1.16 Patch12: smeserver-userpanels-1.0-locale-2008-07-01.patch
29 dungog 1.18 Patch13: smeserver-userpanels-1.0-locale-2008-09-27.patch
30 snetram 1.19 Patch14: smeserver-userpanels-1.0-locale-2008-10-14.patch
31 snetram 1.20 Patch15: smeserver-userpanels-1.0-locale-2008-10-15.patch
32 snetram 1.21 Patch16: smeserver-userpanels-1.0-locale-2008-10-16.patch
33 snetram 1.24 Patch17: smeserver-userpanels-1.0-locale-2008-11-30.patch
34 snetram 1.25 Patch18: smeserver-userpanels-1.0-locale-2009-03-01.patch
35 slords 1.26 Patch19: smeserver-userpanels-1.0-locale-2009-03-03.patch
36 slords 1.27 Patch20: smeserver-userpanels-1.0-locale-2009-04-27.patch
37 slords 1.28 Patch21: smeserver-userpanels-1.0-locale-2009-05-20.patch
38 slords 1.29 Patch22: smeserver-userpanels-1.0-locale-2009-08-24.patch
39 slords 1.30 Patch23: smeserver-userpanels-1.0-locale-2009-10-27.patch
40 slords 1.31 Patch24: smeserver-userpanels-1.0-locale-2010-03-02.patch
41 slords 1.32 Patch25: smeserver-userpanels-1.0-locale-2010-05-23.patch
42 slords 1.33 Patch26: smeserver-userpanels-1.0-locale-2011-03-06.patch
43 slords 1.34 Patch27: smeserver-userpanels-1.0-locale-2012-03-20.patch
44 slords 1.1 BuildArchitectures: noarch
45     BuildRoot: /var/tmp/%{name}-%{version}
46     Requires: e-smith-release >= 7.0
47 slords 1.11 Requires: e-smith-formmagick >= 1.4.0-12
48 slords 1.1 BuildRequires: e-smith-devtools >= 1.13.1-03
49     AutoReqProv: no
50    
51     %description
52     Provides additinal userpanels that allows user settings to be altered.
53     Change password,Forward mail, Backup users home directory,
54     Delegate creation of users with restrictions.
55    
56     %changelog
57 slords 1.34 * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.0-32.el6
58     - apply locale 2012-03-20 patch
59    
60 slords 1.33 * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0-31.sme
61     - apply locale 2011-03-06 patch
62    
63 slords 1.32 * Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.0-30.sme
64     - apply locale 2010-05-23 patch
65    
66 slords 1.31 * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.0-29.sme
67     - apply locale 2010-03-02 patch
68    
69 slords 1.30 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0-28.sme
70     - apply locale 2009-10-27 patch
71    
72 slords 1.29 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0-27.sme
73     - apply locale 2009-08-24 patch
74    
75 slords 1.28 * Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0-26.sme
76     - apply locale 2009-05-20 patch
77    
78 slords 1.27 * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0-25.sme
79     - apply locale 2009-04-27 patch
80    
81 slords 1.26 * Tue Mar 03 2009 SME Translation Server
82     - apply locale 2009-03-03 patch
83    
84 snetram 1.25 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23
85     - Apply 1 Mar 2009 locale patch [SME: 5018]
86    
87 snetram 1.24 * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
88     - Apply 30 Nov 2008 locale patch
89    
90 snetram 1.21 * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-21
91     - Apply 16 Oct 2008 locale patch
92    
93 snetram 1.20 * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-20
94     - Apply 15 Oct 2008 locale patch
95    
96 snetram 1.19 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-19
97     - Apply 14 Oct 2008 locale patch
98    
99 dungog 1.17 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26
100     - Apply locale patch
101    
102 snetram 1.16 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-17
103     - Apply 1 July 2008 locale patch
104    
105 snetram 1.15 * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-16
106     - Apply 27 Jun 2008 locale patch
107    
108 snetram 1.14 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-15
109     - Apply 21 May 2008 locale patch
110    
111 snetram 1.12 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-14
112 snetram 1.13 - Fixed locale issue with button not being translated in password panel [SME: 4310]
113 snetram 1.12 - Added 5 May 2008 locale patch from the translate engine
114    
115 snetram 1.10 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-13
116     - Add common <base> tags to e-smith-formmagick's general
117    
118 snetram 1.9 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-12
119     - Apply 22 April 2008 locale patch
120    
121 slords 1.7 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-11
122     - Update to UTF-8 translations
123    
124 dungog 1.5 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-10
125     - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
126    
127 dungog 1.3 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-9
128     - update locale 2008-03-14
129    
130     * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-8
131 dungog 1.2 - prepare en lexicons for pootle translations
132    
133 slords 1.1 * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.0-7
134     - add french translation, thanks Sylvain Gomez
135    
136     * Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-6
137     - swedish translation, thanks Chrille
138    
139     * Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-5
140     - remove Requires: smeserver-userpanel
141    
142     * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-4
143     - update spanish translations, thanks Normando Hall [SME 3503]
144    
145     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
146     - Clean up spec so package can be built by koji/plague
147    
148     * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
149     - forwarding lexicon updated for de
150     - [1.0-3]
151    
152     * Sun Mar 26 2006 Stephen Noble <support@dungog.net>
153     - forwarding and password lexicons updated for de
154     - fix, error in logs starting httpd-admin [sme 1991]
155     - [1.0-2]
156    
157     * Sun Mar 26 2006 Stephen Noble <support@dungog.net>
158     - Userpanel-forwarding lexicons for de, fr
159     - Partial forwarding lexicons for es, it
160     - [1.0-1]
161    
162     * Fri Mar 17 2006 Stephen Noble <support@dungog.net>
163     - FormMagick version for Userpanel-forward, english only
164     - Userpanel-password updated to current FM style
165     - [0.9-3]
166    
167     * Wed Sep 21 2005 Stephen Noble <support@dungog.net>
168     - FormMagick version for Userpanel-password, Languages included
169     - [0.9-2]
170    
171     * Wed Sep 21 2005 Stephen Noble <support@dungog.net>
172     - initial release, contains
173     - userdata-backup, useraccounts, forward mail, change password
174     - [0.9-1]
175    
176     %prep
177     %setup
178     %patch0 -p1
179     %patch1 -p1
180     %patch2 -p1
181 dungog 1.2 %patch3 -p1
182 dungog 1.3 %patch4 -p1
183 slords 1.7 %patch5 -p1
184 snetram 1.9 %patch6 -p1
185 snetram 1.10 %patch7 -p1
186 snetram 1.12 %patch8 -p1
187     %patch9 -p1
188 snetram 1.14 %patch10 -p1
189 snetram 1.15 %patch11 -p1
190 snetram 1.16 %patch12 -p1
191 dungog 1.17 %patch13 -p1
192 snetram 1.19 %patch14 -p1
193 snetram 1.20 %patch15 -p1
194 snetram 1.21 %patch16 -p1
195 snetram 1.24 %patch17 -p1
196 snetram 1.25 %patch18 -p1
197 slords 1.26 %patch19 -p1
198 slords 1.27 %patch20 -p1
199 slords 1.28 %patch21 -p1
200 slords 1.29 %patch22 -p1
201 slords 1.30 %patch23 -p1
202 slords 1.31 %patch24 -p1
203 slords 1.32 %patch25 -p1
204 slords 1.33 %patch26 -p1
205 slords 1.34 %patch27 -p1
206 snetram 1.14
207 slords 1.1 %build
208 slords 1.6 LEXICONS=$(find root/etc/e-smith/locale/ -type f )
209     for lexicon in $LEXICONS root/etc/e-smith/web/functions/userpanel-{password,forwarding}
210 slords 1.1 do
211     /sbin/e-smith/validate-lexicon $lexicon
212     done
213    
214     perl createlinks
215    
216     %install
217     rm -rf $RPM_BUILD_ROOT
218     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
219     rm -f %{name}-%{version}-filelist
220     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
221     echo "%doc COPYING" >> %{name}-%{version}-filelist
222    
223     %clean
224     cd ..
225     rm -rf %{name}-%{version}
226    
227     %pre
228     %preun
229    
230     %post
231     #new installs
232     if [ $1 = 1 ] ; then
233     globalUP=`/sbin/e-smith/db accounts get globalUP`
234     if [ "x$globalUP" = "x" ]; then
235     /sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || :
236     fi
237     fi
238    
239     #upgrades (and new installs)
240 dungog 1.2 if [ -d /etc/e-smith/events/conf-userpanel ] ; then
241     /sbin/e-smith/signal-event conf-userpanel
242     fi
243 slords 1.1
244     %postun
245     #uninstall
246     if [ $1 = 0 ] ; then
247     DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
248     for db in $DBS ; do
249     /sbin/e-smith/db $db delete userpanel-password 2>/dev/null
250     /sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null
251     /sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null
252     /sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null
253     done
254     fi
255    
256     %files -f %{name}-%{version}-filelist
257     %defattr(-,root,root)

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