/[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.9 - (hide annotations) (download)
Tue Apr 22 09:00:42 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-userpanels-1_0-12_el4_sme
Changes since 1.8: +7 -2 lines
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-12
- Apply 22 April 2008 locale patch

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

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