/[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.3 - (hide annotations) (download)
Fri Mar 14 10:14:27 2008 UTC (16 years, 8 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-userpanels-1_0-9_el4_sme
Changes since 1.2: +11 -19 lines
locale 14mar08

1 slords 1.1 Summary: Panels to let users to change server settings.
2     %define name smeserver-userpanels
3     Name: %{name}
4     %define version 1.0
5 dungog 1.3 %define release 9
6 slords 1.1 Version: %{version}
7     Release: %{release}%{?dist}
8 dungog 1.3 License: GNU GPL version 2
9     URL: http://www.dungog.net/wiki
10 slords 1.1 Group: SMEserver/addon
11     Source: %{name}-%{version}.tar.gz
12     Patch0: smeserver-vacation-1.0-esLocalePasswd+Fwd.patch
13     Patch1: smeserver-vacation-1.0-svLocalePasswd+Fwd.patch
14     Patch2: smeserver-userpanels-1.0-frLocale.patch
15 dungog 1.2 Patch3: smeserver-userpanels-1.0-pootle.patch
16 dungog 1.3 Patch4: smeserver-userpanels-1.0-locale-2008-03-14.patch
17 slords 1.1 BuildArchitectures: noarch
18     BuildRoot: /var/tmp/%{name}-%{version}
19     Requires: e-smith-release >= 7.0
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 dungog 1.3 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-9
30     - update locale 2008-03-14
31    
32     * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-8
33 dungog 1.2 - prepare en lexicons for pootle translations
34    
35 slords 1.1 * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.0-7
36     - add french translation, thanks Sylvain Gomez
37    
38     * Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-6
39     - swedish translation, thanks Chrille
40    
41     * Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-5
42     - remove Requires: smeserver-userpanel
43    
44     * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-4
45     - update spanish translations, thanks Normando Hall [SME 3503]
46    
47     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
48     - Clean up spec so package can be built by koji/plague
49    
50     * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
51     - forwarding lexicon updated for de
52     - [1.0-3]
53    
54     * Sun Mar 26 2006 Stephen Noble <support@dungog.net>
55     - forwarding and password lexicons updated for de
56     - fix, error in logs starting httpd-admin [sme 1991]
57     - [1.0-2]
58    
59     * Sun Mar 26 2006 Stephen Noble <support@dungog.net>
60     - Userpanel-forwarding lexicons for de, fr
61     - Partial forwarding lexicons for es, it
62     - [1.0-1]
63    
64     * Fri Mar 17 2006 Stephen Noble <support@dungog.net>
65     - FormMagick version for Userpanel-forward, english only
66     - Userpanel-password updated to current FM style
67     - [0.9-3]
68    
69     * Wed Sep 21 2005 Stephen Noble <support@dungog.net>
70     - FormMagick version for Userpanel-password, Languages included
71     - [0.9-2]
72    
73     * Wed Sep 21 2005 Stephen Noble <support@dungog.net>
74     - initial release, contains
75     - userdata-backup, useraccounts, forward mail, change password
76     - [0.9-1]
77    
78     %prep
79     %setup
80     %patch0 -p1
81     %patch1 -p1
82     %patch2 -p1
83 dungog 1.2 %patch3 -p1
84 dungog 1.3 %patch4 -p1
85 slords 1.1
86     %build
87 dungog 1.3 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
88     for lexicon in $LEXICONS
89 slords 1.1 do
90     /sbin/e-smith/validate-lexicon $lexicon
91     done
92    
93     perl createlinks
94    
95     %install
96     rm -rf $RPM_BUILD_ROOT
97     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
98     rm -f %{name}-%{version}-filelist
99     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
100     echo "%doc COPYING" >> %{name}-%{version}-filelist
101    
102     %clean
103     cd ..
104     rm -rf %{name}-%{version}
105    
106     %pre
107     %preun
108    
109     %post
110     #new installs
111     if [ $1 = 1 ] ; then
112     globalUP=`/sbin/e-smith/db accounts get globalUP`
113     if [ "x$globalUP" = "x" ]; then
114     /sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || :
115     fi
116     fi
117    
118     #upgrades (and new installs)
119 dungog 1.2 if [ -d /etc/e-smith/events/conf-userpanel ] ; then
120     /sbin/e-smith/signal-event conf-userpanel
121     fi
122 slords 1.1
123     %postun
124     #uninstall
125     if [ $1 = 0 ] ; then
126     DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
127     for db in $DBS ; do
128     /sbin/e-smith/db $db delete userpanel-password 2>/dev/null
129     /sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null
130     /sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null
131     /sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null
132     done
133     fi
134    
135     %files -f %{name}-%{version}-filelist
136     %defattr(-,root,root)

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