--- rpms/coova-chilli/contribs7/coova-chilli.spec 2008/04/15 14:58:55 1.1 +++ rpms/coova-chilli/contribs7/coova-chilli.spec 2009/05/04 13:37:12 1.8 @@ -1,16 +1,17 @@ -# $Id$ +# $Id: coova-chilli.spec,v 1.7 2008/11/25 16:20:11 slords Exp $ # Authority: vip-ire # Name: Daniel Berteaud Summary: Coova-Chilli is a Wireless LAN Access Point Controller Name: coova-chilli -Version: 1.0.11 +Version: 1.0.13 Release: 1%{?dist} URL: http://coova.org/wiki/index.php/CoovaChilli Source0: %{name}-%{version}.tar.gz License: GPL Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: openssl %description @@ -35,13 +36,18 @@ make make install DESTDIR=$RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT/usr/include/* -rm -rf $RPM_BUILD_ROOT/usr/lib/*.la -rm -rf $RPM_BUILD_ROOT/usr/lib/*.a +rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la +rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a %clean rm -rf $RPM_BUILD_ROOT make clean +%pre +# Add the "chilli" user +/usr/sbin/useradd -c "Coova Chilli User" \ + -s /sbin/nologin -r -d %{_sysconfdir}/chilli coovachilli 2> /dev/null || : + %post /sbin/chkconfig --add chilli @@ -55,6 +61,7 @@ fi %defattr(-,root,root) %{_sbindir}/* %{_libdir}/*.so* +%{_libdir}/python/CoovaChilliLib.py %{_sysconfdir}/init.d/chilli %doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi %config %{_sysconfdir}/chilli.conf @@ -66,11 +73,15 @@ fi %{_sysconfdir}/chilli/wwwsh %{_sysconfdir}/chilli/functions %{_sysconfdir}/chilli/*.sh +%{_sysconfdir}/chilli/*.ini %{_mandir}/man1/*.1* %{_mandir}/man5/*.5* %{_mandir}/man8/*.8* %changelog +* Mon Apr 07 2009 +- 1.0.13 release +- Create coovachilli user * Thu Sep 30 2007 - 1.0.8 release * Thu Aug 20 2007