Subversion Repositories ALCASAR

Rev

Rev 796 | Blame | Last modification | View Log

%define _disable_ld_no_undefined 1

Summary:   Coova-Chilli is a LAN Access Point Controller
Name:      coova-chilli
Version:   1.2.9
Release:   %mkrel 1
URL:       http://coova.org/wiki/index.php/CoovaChilli
Source0:   http://ap.coova.org/chilli/%{name}-%{version}.tar.gz
License:   GPLv2
Group:     System/Servers
Packager:  Rexy for ALCASAR project
Requires(pre): rpm-helper
Requires(postun): rpm-helper

BuildRequires:  autoconf
BuildRequires:  libtool
BuildRequires:  curl-devel
BuildRequires:  pcap-devel
BuildRequires:  python
BuildRequires:  python-devel
%if %{!?_without_ssl:1}0
BuildRequires: openssl-devel
%endif
Provides:       coova-chilli = %{version}-%{release}
Obsoletes:      chillispot
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description 

Coova-Chilli is a fork of the ChilliSpot project - an open source captive
portal or wireless LAN access point controller. It supports web based login
(Universal Access Method, or UAM), standard for public HotSpots, and it
supports Wireless Protected Access (WPA), the standard for secure roamable
networks. Authentication, Authorization and Accounting (AAA) is handled by
your favorite radius server. Read more at http://coova.org/.

%prep
%setup -q -n %{name}-%{version}

%build

%configure \
        --disable-static \
        --enable-shared \
        --enable-largelimits \
        --enable-miniportal \
        --enable-chilliredir \
        --enable-chilliproxy \
        --enable-chilliscript \
        --with-poll \
%if %{!?_without_ssl:1}0
        --with-openssl \
        --enable-chilliradsec \
%endif


make

%install
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/usr/lib64/*.la
rm -rf $RPM_BUILD_ROOT/usr/lib64/*.a

%clean
rm -rf $RPM_BUILD_ROOT
make clean

%post
%_post_service chilli

%preun
%_preun_service chilli

%files
%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
%config %{_sysconfdir}/chilli/gui-config-default.ini
%config(noreplace) %{_sysconfdir}/chilli/defaults
%dir %{_sysconfdir}/chilli
%dir %{_sysconfdir}/chilli/www
%attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh
%attr(4750,root,chilli)%{_sbindir}/chilli_script
%{_sysconfdir}/chilli/www/*
%{_sysconfdir}/chilli/wwwsh
%{_sysconfdir}/chilli/functions
%{_sysconfdir}/chilli/*.sh
%{_mandir}/man1/*.1*
%{_mandir}/man5/*.5*
%{_mandir}/man8/*.8*

%changelog
* Mon Jun 18 2012 Rexy for ALCASAR project
- 1.2.9-1 release
* Wed Jan 18 2012 Rexy for ALCASAR project
- 1.2.9 release
* Sun Jul 11 2011 Rexy for ALCASAR project
- 1.2.8 release
* Sat Feb 12 2011 Rexy for Alcasar project 
+ revision: 433
+ add _disable_ld_no_undefined 1
- 1.2.6 release
* Sat Nov 20 2010 Rexy for Alcasar project
+ revision: 394
- 1.2.5 release
* Sat Jan 2 2010 <david@coova.com>
- 1.2.0 release
* Thu Sep 30 2007 <david@coova.com>
- 1.0.8 release 
* Thu Aug 20 2007 <david@coova.com>
- 1.0-coova.7 release
* Thu Jun 7 2007 <david@coova.com>
- 1.0-coova.6 release
* Wed May 16 2007  <david@coova.com>
- 1.0-coova.5 release
* Wed Feb 07 2007  <david@coova.com>
- 1.0-coova.4 release
* Wed Nov 15 2006  <david@coova.com>
- 1.0-coova.3 release
* Thu Mar 25 2004  <support@chillispot.org>
- Initial release.