/[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.5 - (show annotations) (download)
Wed Jun 29 18:45:20 2016 UTC (8 years, 5 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-userpanels-1_1-5_el6_sme, HEAD
Changes since 1.4: +3 -3 lines
* Wed Jun 22 2016 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-5.sme
- Removed dungog software links

1 # $Id: smeserver-userpanels.spec,v 1.4 2016/06/22 20:37: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.1
9 %define release 5
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 Patch2: smeserver-userpanels-1.1.credit2koozali.patch
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 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 * Thu 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 * Sat 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 %patch0 -p1
173 %patch1 -p1
174 %patch2 -p1
175
176 %build
177 LEXICONS=$(find root/etc/e-smith/locale/ -type f )
178 for lexicon in $LEXICONS root/etc/e-smith/web/functions/userpanel-{password,forwarding}
179 do
180 /sbin/e-smith/validate-lexicon $lexicon
181 done
182
183 perl createlinks
184
185 %install
186 rm -rf $RPM_BUILD_ROOT
187 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
188 rm -f %{name}-%{version}-filelist
189 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
190 echo "%doc COPYING" >> %{name}-%{version}-filelist
191
192 %clean
193 cd ..
194 rm -rf %{name}-%{version}
195
196 %pre
197 %preun
198
199 %post
200 #new installs
201 if [ $1 = 1 ] ; then
202 globalUP=`/sbin/e-smith/db accounts get globalUP`
203 if [ "x$globalUP" = "x" ]; then
204 /sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || :
205 fi
206 fi
207
208 #upgrades (and new installs)
209 if [ -d /etc/e-smith/events/conf-userpanel ] ; then
210 /sbin/e-smith/signal-event conf-userpanel
211 fi
212
213 %postun
214 #uninstall
215 if [ $1 = 0 ] ; then
216 DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
217 for db in $DBS ; do
218 /sbin/e-smith/db $db delete userpanel-password 2>/dev/null
219 /sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null
220 /sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null
221 /sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null
222 done
223 fi
224
225 %files -f %{name}-%{version}-filelist
226 %defattr(-,root,root)

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