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} |
Release: %{release}%{?dist} |
8 |
Distribution: SME Server |
License: GPL |
|
Copyright: 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 |
Packager: Stephen Noble <support@dungog.net> |
Patch0: smeserver-vacation-1.0-esLocalePasswd+Fwd.patch |
13 |
|
Patch1: smeserver-vacation-1.0-svLocalePasswd+Fwd.patch |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 7.0 |
17 |
#Requires: smeserver-userpanel |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
AutoReqProv: no |
AutoReqProv: no |
19 |
|
|
20 |
%description |
%description |
23 |
Delegate creation of users with restrictions. |
Delegate creation of users with restrictions. |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
* Wed Feb 28 2007 Stephen Noble <stephen@dungog.net> |
* Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-6 |
27 |
|
- swedish translation, thanks Chrille |
28 |
|
|
29 |
|
* Thu Dec 6 2007 Stephen Noble <support@dungog.net> 1.0-5 |
30 |
- remove Requires: smeserver-userpanel |
- remove Requires: smeserver-userpanel |
|
- [1.0-5] |
|
31 |
|
|
32 |
* Sun Feb 18 2007 Stephen Noble <support@dungog.net> |
* Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-4 |
33 |
- swedish translation, thanks Chrille |
- update spanish translations, thanks Normando Hall [SME 3503] |
34 |
- [1.0-4] |
|
35 |
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
36 |
|
- Clean up spec so package can be built by koji/plague |
37 |
|
|
38 |
* Mon Oct 30 2006 Stephen Noble <support@dungog.net> |
* Mon Oct 30 2006 Stephen Noble <support@dungog.net> |
39 |
- forwarding lexicon updated for de |
- forwarding lexicon updated for de |
65 |
|
|
66 |
%prep |
%prep |
67 |
%setup |
%setup |
68 |
|
%patch0 -p1 |
69 |
|
%patch1 -p1 |
70 |
|
|
71 |
%build |
%build |
72 |
LEXICONS1=$(find root/etc/e-smith/web/functions/userpanel-password -type f ) |
LEXICONS1=$(find root/etc/e-smith/web/functions/userpanel-password -type f ) |
105 |
/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 || : |
106 |
fi |
fi |
107 |
|
|
108 |
#/etc/e-smith/events/actions/navigation-conf 2>/dev/null |
/etc/e-smith/events/actions/navigation-conf 2>/dev/null |
109 |
|
|
110 |
fi |
fi |
111 |
|
|
121 |
|
|
122 |
%postun |
%postun |
123 |
#uninstall |
#uninstall |
124 |
#if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
125 |
|
|
126 |
#DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |
DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |
127 |
#for db in $DBS ; do |
for db in $DBS ; do |
128 |
# /sbin/e-smith/db $db delete userpanel-password 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-password 2>/dev/null |
129 |
# /sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-userbackup 2>/dev/null |
130 |
# /sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-forwarding 2>/dev/null |
131 |
# /sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null |
/sbin/e-smith/db $db delete userpanel-useraccounts 2>/dev/null |
132 |
#done |
done |
133 |
#fi |
fi |
134 |
|
|
135 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
136 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
|
|