/[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.1 - (hide annotations) (download)
Wed Nov 13 11:36:33 2013 UTC (10 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-userpanels-1_1-1_el6_sme
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme
- Rebuild for SME9

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

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