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

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

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


Revision 1.3 - (show annotations) (download)
Wed Mar 9 09:13:41 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-userpanels-1_1-3_el6_sme
Changes since 1.2: +9 -2 lines
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.1-3.sme
- apply locale 2016-03-09 patch

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

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