1 |
|
# $Id: smeserver-coova-chilli.spec,v 1.2 2008/04/15 15:18:07 slords Exp $ |
2 |
|
# Authority: vip-ire |
3 |
|
# Name: Daniel Berteaud |
4 |
|
|
5 |
Summary: Coova-Chilli, a captive portal based on ChilliSpot configured for SME server |
Summary: Coova-Chilli, a captive portal based on ChilliSpot configured for SME server |
6 |
%define name smeserver-coova-chilli |
%define name smeserver-coova-chilli |
7 |
Name: %{name} |
Name: %{name} |
13 |
Group: Networking/Remote access |
Group: Networking/Remote access |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
URL: http://sme.firewall-services.com |
URL: http://sme.firewall-services.com |
|
Packager: Daniel Berteaud <daniel@firewall-services.com> |
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
84 |
%clean |
%clean |
85 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
86 |
|
|
|
%pre |
|
|
|
|
|
|
|
|
%post |
|
|
|
|
87 |
%preun |
%preun |
88 |
|
|
89 |
if [ $1 == 0 ]; then |
if [ $1 == 0 ]; then |
90 |
/sbin/e-smith/db configuration setprop chilli status disabled |
/sbin/e-smith/db configuration setprop chilli status disabled |
91 |
/etc/rc.d/init.d/chilli stop > /dev/null 2>&1 |
/etc/rc.d/init.d/chilli stop >& /dev/null || : |
|
true |
|
92 |
fi |
fi |
93 |
|
|
|
%postun |
|
|
|
|