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

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

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


Revision 1.24 - (hide annotations) (download)
Sun Nov 30 22:08:26 2008 UTC (15 years, 11 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-userpanels-1_0-22_el4_sme
Changes since 1.23: +7 -2 lines
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
- Apply 30 Nov 2008 locale patch

1 snetram 1.24 # $Id: smeserver-userpanels.spec,v 1.23 2008/11/25 16:20:33 slords Exp $
2 slords 1.8 # Authority: dungog
3     # Name: Stephen Noble
4    
5 slords 1.1 Summary: Panels to let users to change server settings.
6     %define name smeserver-userpanels
7     Name: %{name}
8     %define version 1.0
9 snetram 1.24 %define release 22
10 slords 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12 dungog 1.3 License: GNU GPL version 2
13     URL: http://www.dungog.net/wiki
14 slords 1.1 Group: SMEserver/addon
15     Source: %{name}-%{version}.tar.gz
16     Patch0: smeserver-vacation-1.0-esLocalePasswd+Fwd.patch
17     Patch1: smeserver-vacation-1.0-svLocalePasswd+Fwd.patch
18     Patch2: smeserver-userpanels-1.0-frLocale.patch
19 dungog 1.2 Patch3: smeserver-userpanels-1.0-pootle.patch
20 dungog 1.3 Patch4: smeserver-userpanels-1.0-locale-2008-03-14.patch
21 slords 1.7 Patch5: smeserver-userpanels-1.0-locale-2008-04-01.patch
22 snetram 1.9 Patch6: smeserver-userpanels-1.0-locale-2008-04-22.patch
23 snetram 1.10 Patch7: smeserver-userpanels-1.0-add2general.patch
24 snetram 1.12 Patch8: smeserver-userpanels-1.0-locale-2008-05-05.patch
25     Patch9: smeserver-userpanels-1.0-add2general.patch2
26 snetram 1.14 Patch10: smeserver-userpanels-1.0-locale-2008-05-21.patch
27 snetram 1.15 Patch11: smeserver-userpanels-1.0-locale-2008-06-27.patch
28 snetram 1.16 Patch12: smeserver-userpanels-1.0-locale-2008-07-01.patch
29 dungog 1.18 Patch13: smeserver-userpanels-1.0-locale-2008-09-27.patch
30 snetram 1.19 Patch14: smeserver-userpanels-1.0-locale-2008-10-14.patch
31 snetram 1.20 Patch15: smeserver-userpanels-1.0-locale-2008-10-15.patch
32 snetram 1.21 Patch16: smeserver-userpanels-1.0-locale-2008-10-16.patch
33 snetram 1.24 Patch17: smeserver-userpanels-1.0-locale-2008-11-30.patch
34 slords 1.1 BuildArchitectures: noarch
35     BuildRoot: /var/tmp/%{name}-%{version}
36     Requires: e-smith-release >= 7.0
37 slords 1.11 Requires: e-smith-formmagick >= 1.4.0-12
38 slords 1.1 BuildRequires: e-smith-devtools >= 1.13.1-03
39     AutoReqProv: no
40    
41     %description
42     Provides additinal userpanels that allows user settings to be altered.
43     Change password,Forward mail, Backup users home directory,
44     Delegate creation of users with restrictions.
45    
46     %changelog
47 snetram 1.24 * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
48     - Apply 30 Nov 2008 locale patch
49    
50 snetram 1.21 * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-21
51     - Apply 16 Oct 2008 locale patch
52    
53 snetram 1.20 * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-20
54     - Apply 15 Oct 2008 locale patch
55    
56 snetram 1.19 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-19
57     - Apply 14 Oct 2008 locale patch
58    
59 dungog 1.17 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26
60     - Apply locale patch
61    
62 snetram 1.16 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-17
63     - Apply 1 July 2008 locale patch
64    
65 snetram 1.15 * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-16
66     - Apply 27 Jun 2008 locale patch
67    
68 snetram 1.14 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-15
69     - Apply 21 May 2008 locale patch
70    
71 snetram 1.12 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-14
72 snetram 1.13 - Fixed locale issue with button not being translated in password panel [SME: 4310]
73 snetram 1.12 - Added 5 May 2008 locale patch from the translate engine
74    
75 snetram 1.10 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-13
76     - Add common <base> tags to e-smith-formmagick's general
77    
78 snetram 1.9 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-12
79     - Apply 22 April 2008 locale patch
80    
81 slords 1.7 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-11
82     - Update to UTF-8 translations
83    
84 dungog 1.5 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-10
85     - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
86    
87 dungog 1.3 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-9
88     - update locale 2008-03-14
89    
90     * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-8
91 dungog 1.2 - prepare en lexicons for pootle translations
92    
93 slords 1.1 * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.0-7
94     - add french translation, thanks Sylvain Gomez
95    
96     * Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-6
97     - swedish translation, thanks Chrille
98    
99     * Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-5
100     - remove Requires: smeserver-userpanel
101    
102     * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-4
103     - update spanish translations, thanks Normando Hall [SME 3503]
104    
105     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
106     - Clean up spec so package can be built by koji/plague
107    
108     * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
109     - forwarding lexicon updated for de
110     - [1.0-3]
111    
112     * Sun Mar 26 2006 Stephen Noble <support@dungog.net>
113     - forwarding and password lexicons updated for de
114     - fix, error in logs starting httpd-admin [sme 1991]
115     - [1.0-2]
116    
117     * Sun Mar 26 2006 Stephen Noble <support@dungog.net>
118     - Userpanel-forwarding lexicons for de, fr
119     - Partial forwarding lexicons for es, it
120     - [1.0-1]
121    
122     * Fri Mar 17 2006 Stephen Noble <support@dungog.net>
123     - FormMagick version for Userpanel-forward, english only
124     - Userpanel-password updated to current FM style
125     - [0.9-3]
126    
127     * Wed Sep 21 2005 Stephen Noble <support@dungog.net>
128     - FormMagick version for Userpanel-password, Languages included
129     - [0.9-2]
130    
131     * Wed Sep 21 2005 Stephen Noble <support@dungog.net>
132     - initial release, contains
133     - userdata-backup, useraccounts, forward mail, change password
134     - [0.9-1]
135    
136     %prep
137     %setup
138     %patch0 -p1
139     %patch1 -p1
140     %patch2 -p1
141 dungog 1.2 %patch3 -p1
142 dungog 1.3 %patch4 -p1
143 slords 1.7 %patch5 -p1
144 snetram 1.9 %patch6 -p1
145 snetram 1.10 %patch7 -p1
146 snetram 1.12 %patch8 -p1
147     %patch9 -p1
148 snetram 1.14 %patch10 -p1
149 snetram 1.15 %patch11 -p1
150 snetram 1.16 %patch12 -p1
151 dungog 1.17 %patch13 -p1
152 snetram 1.19 %patch14 -p1
153 snetram 1.20 %patch15 -p1
154 snetram 1.21 %patch16 -p1
155 snetram 1.24 %patch17 -p1
156 snetram 1.14
157 slords 1.1 %build
158 slords 1.6 LEXICONS=$(find root/etc/e-smith/locale/ -type f )
159     for lexicon in $LEXICONS root/etc/e-smith/web/functions/userpanel-{password,forwarding}
160 slords 1.1 do
161     /sbin/e-smith/validate-lexicon $lexicon
162     done
163    
164     perl createlinks
165    
166     %install
167     rm -rf $RPM_BUILD_ROOT
168     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
169     rm -f %{name}-%{version}-filelist
170     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
171     echo "%doc COPYING" >> %{name}-%{version}-filelist
172    
173     %clean
174     cd ..
175     rm -rf %{name}-%{version}
176    
177     %pre
178     %preun
179    
180     %post
181     #new installs
182     if [ $1 = 1 ] ; then
183     globalUP=`/sbin/e-smith/db accounts get globalUP`
184     if [ "x$globalUP" = "x" ]; then
185     /sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || :
186     fi
187     fi
188    
189     #upgrades (and new installs)
190 dungog 1.2 if [ -d /etc/e-smith/events/conf-userpanel ] ; then
191     /sbin/e-smith/signal-event conf-userpanel
192     fi
193 slords 1.1
194     %postun
195     #uninstall
196     if [ $1 = 0 ] ; then
197     DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
198     for db in $DBS ; do
199     /sbin/e-smith/db $db delete userpanel-password 2>/dev/null
200     /sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null
201     /sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null
202     /sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null
203     done
204     fi
205    
206     %files -f %{name}-%{version}-filelist
207     %defattr(-,root,root)

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