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

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

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


Revision 1.2 - (hide annotations) (download)
Fri Aug 22 18:31:26 2014 UTC (10 years, 2 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-userpanels-1_1-2_el6_sme
Changes since 1.1: +8 -3 lines
* Fri Aug 22 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-2.sme
- cracklib depends of rpm architecture, solved that in userpanel-useraccounts
- [SME:8533]

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

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