/[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.7 - (show annotations) (download)
Tue Apr 1 18:50:24 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-userpanels-1_0-11_el4_sme
Changes since 1.6: +6 -1 lines
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-11
- Update to UTF-8 translations

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

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