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 6 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
|
Distribution: SME Server |
9 |
License: GPL |
License: GPL |
10 |
URL: http://www.dungog.net/sme |
URL: http://www.dungog.net/sme |
11 |
Group: SMEserver/addon |
Group: SMEserver/addon |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
|
Patch0: smeserver-vacation-1.0-esLocalePasswd+Fwd.patch |
14 |
|
Patch1: smeserver-vacation-1.0-svLocalePasswd+Fwd.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> |
* Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-6 |
28 |
|
- swedish translation, thanks Chrille |
29 |
|
|
30 |
|
* Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-5 |
31 |
- remove Requires: smeserver-userpanel |
- remove Requires: smeserver-userpanel |
|
- [1.0-5] |
|
32 |
|
|
33 |
* Sun Feb 18 2007 Stephen Noble <support@dungog.net> |
* Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-4 |
34 |
- swedish translation, thanks Chrille |
- update spanish translations, thanks Normando Hall [SME 3503] |
35 |
- [1.0-4] |
|
36 |
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
37 |
|
- Clean up spec so package can be built by koji/plague |
38 |
|
|
39 |
* Mon Oct 30 2006 Stephen Noble <support@dungog.net> |
* Mon Oct 30 2006 Stephen Noble <support@dungog.net> |
40 |
- forwarding lexicon updated for de |
- forwarding lexicon updated for de |
66 |
|
|
67 |
%prep |
%prep |
68 |
%setup |
%setup |
69 |
|
%patch0 -p1 |
70 |
|
%patch1 -p1 |
71 |
|
|
72 |
%build |
%build |
73 |
LEXICONS1=$(find root/etc/e-smith/web/functions/userpanel-password -type f ) |
LEXICONS1=$(find root/etc/e-smith/web/functions/userpanel-password -type f ) |
106 |
/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 || : |
107 |
fi |
fi |
108 |
|
|
109 |
#/etc/e-smith/events/actions/navigation-conf 2>/dev/null |
/etc/e-smith/events/actions/navigation-conf 2>/dev/null |
110 |
|
|
111 |
fi |
fi |
112 |
|
|
122 |
|
|
123 |
%postun |
%postun |
124 |
#uninstall |
#uninstall |
125 |
#if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
126 |
|
|
127 |
#DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |
DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |
128 |
#for db in $DBS ; do |
for db in $DBS ; do |
129 |
# /sbin/e-smith/db $db delete userpanel-password 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-password 2>/dev/null |
130 |
# /sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null |
131 |
# /sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null |
132 |
# /sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null |
133 |
#done |
done |
134 |
#fi |
fi |
135 |
|
|
136 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
137 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
|
|