/[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.8 - (hide annotations) (download)
Wed Apr 2 15:04:00 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
Changes since 1.7: +4 -0 lines
Add Id, Authority, Name

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

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