/[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.1 - (show annotations) (download)
Wed Nov 4 16:17:51 2020 UTC (4 years ago) by michel
Branch: MAIN
CVS Tags: smeserver-userpanels-1_3-1_el7_sme
* Mon Nov 02 2020 michel begue <mab974@gmail.com> 1.3-1.sme
- First import to SME10 [SME: 11080]

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

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