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

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

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


Revision 1.18 - (show annotations) (download)
Sun Sep 28 02:43:17 2008 UTC (16 years, 1 month ago) by dungog
Branch: MAIN
Changes since 1.17: +2 -4 lines
add back pt-br

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

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