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

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

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


Revision 1.2 - (hide annotations) (download)
Wed Feb 24 04:23:48 2021 UTC (3 years, 3 months ago) by jpp
Branch: MAIN
Changes since 1.1: +6 -2 lines
* Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-2.sme
- add empty -update event [SME: 11080]

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

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