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

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

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


Revision 1.4 - (show annotations) (download)
Wed Aug 25 01:05:22 2021 UTC (2 years, 8 months ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-userpanels-1_3-3_el7_sme, HEAD
Changes since 1.3: +8 -2 lines
* Wed Aug 25 2021 Terry Fage <terryf@ozemail.com.au> 1.3-3.sme
- apply locale 2021-08-25 patch

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

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