/[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.14 - (hide annotations) (download)
Wed May 21 20:32:17 2008 UTC (16 years, 5 months ago) by snetram
Branch: MAIN
Changes since 1.13: +8 -2 lines
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-15
- Apply 21 May 2008 locale patch

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

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