1 |
# $Id$ |
# $Id: coova-chilli.spec,v 1.7 2008/11/25 16:20:11 slords Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
Summary: Coova-Chilli is a Wireless LAN Access Point Controller |
Summary: Coova-Chilli is a Wireless LAN Access Point Controller |
6 |
Name: coova-chilli |
Name: coova-chilli |
7 |
Version: 1.0.11 |
Version: 1.0.13 |
8 |
Release: 1%{?dist} |
Release: 1%{?dist} |
9 |
URL: http://coova.org/wiki/index.php/CoovaChilli |
URL: http://coova.org/wiki/index.php/CoovaChilli |
10 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
11 |
License: GPL |
License: GPL |
12 |
Group: System Environment/Daemons |
Group: System Environment/Daemons |
13 |
BuildRoot: %{_tmppath}/%{name}-root |
BuildRoot: %{_tmppath}/%{name}-root |
14 |
|
BuildRequires: openssl |
15 |
|
|
16 |
%description |
%description |
17 |
|
|
36 |
make install DESTDIR=$RPM_BUILD_ROOT |
make install DESTDIR=$RPM_BUILD_ROOT |
37 |
|
|
38 |
rm -rf $RPM_BUILD_ROOT/usr/include/* |
rm -rf $RPM_BUILD_ROOT/usr/include/* |
39 |
rm -rf $RPM_BUILD_ROOT/usr/lib/*.la |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la |
40 |
rm -rf $RPM_BUILD_ROOT/usr/lib/*.a |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a |
41 |
|
|
42 |
%clean |
%clean |
43 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
44 |
make clean |
make clean |
45 |
|
|
46 |
|
%pre |
47 |
|
# Add the "chilli" user |
48 |
|
/usr/sbin/useradd -c "Coova Chilli User" \ |
49 |
|
-s /sbin/nologin -r -d %{_sysconfdir}/chilli coovachilli 2> /dev/null || : |
50 |
|
|
51 |
%post |
%post |
52 |
/sbin/chkconfig --add chilli |
/sbin/chkconfig --add chilli |
53 |
|
|
61 |
%defattr(-,root,root) |
%defattr(-,root,root) |
62 |
%{_sbindir}/* |
%{_sbindir}/* |
63 |
%{_libdir}/*.so* |
%{_libdir}/*.so* |
64 |
|
%{_libdir}/python/CoovaChilliLib.py |
65 |
%{_sysconfdir}/init.d/chilli |
%{_sysconfdir}/init.d/chilli |
66 |
%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi |
%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi |
67 |
%config %{_sysconfdir}/chilli.conf |
%config %{_sysconfdir}/chilli.conf |
73 |
%{_sysconfdir}/chilli/wwwsh |
%{_sysconfdir}/chilli/wwwsh |
74 |
%{_sysconfdir}/chilli/functions |
%{_sysconfdir}/chilli/functions |
75 |
%{_sysconfdir}/chilli/*.sh |
%{_sysconfdir}/chilli/*.sh |
76 |
|
%{_sysconfdir}/chilli/*.ini |
77 |
%{_mandir}/man1/*.1* |
%{_mandir}/man1/*.1* |
78 |
%{_mandir}/man5/*.5* |
%{_mandir}/man5/*.5* |
79 |
%{_mandir}/man8/*.8* |
%{_mandir}/man8/*.8* |
80 |
|
|
81 |
%changelog |
%changelog |
82 |
|
* Mon Apr 07 2009 <daniel@firewall-services.com> |
83 |
|
- 1.0.13 release |
84 |
|
- Create coovachilli user |
85 |
* Thu Sep 30 2007 <david@coova.com> |
* Thu Sep 30 2007 <david@coova.com> |
86 |
- 1.0.8 release |
- 1.0.8 release |
87 |
* Thu Aug 20 2007 <david@coova.com> |
* Thu Aug 20 2007 <david@coova.com> |