2 |
%define name smeserver-userpanels |
%define name smeserver-userpanels |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.0 |
%define version 1.0 |
5 |
%define release 5 |
%define release 7 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
URL: http://www.dungog.net/sme |
URL: http://www.dungog.net/sme |
10 |
Group: SMEserver/addon |
Group: SMEserver/addon |
11 |
Source: %{name}-%{version}.tar.gz |
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 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
17 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 7.0 |
18 |
#Requires: smeserver-userpanel |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
AutoReqProv: no |
AutoReqProv: no |
20 |
|
|
21 |
%description |
%description |
24 |
Delegate creation of users with restrictions. |
Delegate creation of users with restrictions. |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
* Wed Feb 28 2007 Stephen Noble <stephen@dungog.net> |
* Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.0-7 |
28 |
- remove Requires: smeserver-userpanel |
- add french translation, thanks Sylvain Gomez |
|
- [1.0-5] |
|
29 |
|
|
30 |
* Sun Feb 18 2007 Stephen Noble <support@dungog.net> |
* Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-6 |
31 |
- swedish translation, thanks Chrille |
- swedish translation, thanks Chrille |
32 |
- [1.0-4] |
|
33 |
|
* Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-5 |
34 |
|
- remove Requires: smeserver-userpanel |
35 |
|
|
36 |
|
* Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-4 |
37 |
|
- update spanish translations, thanks Normando Hall [SME 3503] |
38 |
|
|
39 |
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
40 |
|
- Clean up spec so package can be built by koji/plague |
41 |
|
|
42 |
* Mon Oct 30 2006 Stephen Noble <support@dungog.net> |
* Mon Oct 30 2006 Stephen Noble <support@dungog.net> |
43 |
- forwarding lexicon updated for de |
- forwarding lexicon updated for de |
69 |
|
|
70 |
%prep |
%prep |
71 |
%setup |
%setup |
72 |
|
%patch0 -p1 |
73 |
|
%patch1 -p1 |
74 |
|
%patch2 -p1 |
75 |
|
|
76 |
%build |
%build |
77 |
LEXICONS1=$(find root/etc/e-smith/web/functions/userpanel-password -type f ) |
LEXICONS1=$(find root/etc/e-smith/web/functions/userpanel-password -type f ) |
110 |
/sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || : |
/sbin/e-smith/db accounts set globalUP userpanelglobal FirstName "global user" LastName "panel access" AdminPanels userpanel-forwarding,userpanel-password || : |
111 |
fi |
fi |
112 |
|
|
113 |
#/etc/e-smith/events/actions/navigation-conf 2>/dev/null |
/etc/e-smith/events/actions/navigation-conf 2>/dev/null |
114 |
|
|
115 |
fi |
fi |
116 |
|
|
126 |
|
|
127 |
%postun |
%postun |
128 |
#uninstall |
#uninstall |
129 |
#if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
130 |
|
|
131 |
#DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |
DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |
132 |
#for db in $DBS ; do |
for db in $DBS ; do |
133 |
# /sbin/e-smith/db $db delete userpanel-password 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-password 2>/dev/null |
134 |
# /sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null |
135 |
# /sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null |
136 |
# /sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null |
137 |
#done |
done |
138 |
#fi |
fi |
139 |
|
|
140 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
141 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
|
|