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

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

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


Revision 1.1 - (hide annotations) (download)
Thu Feb 7 02:25:03 2013 UTC (11 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-userpanels-1_0-33_el5_sme
Initial import

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

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