Subversion Repositories ALCASAR

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
796 richard 1
%define _disable_ld_no_undefined 1
2
 
3
Summary:   Coova-Chilli is a LAN Access Point Controller
4
Name:      coova-chilli
5
Version:   1.2.9
6
Release:   %mkrel 0
7
URL:	   http://coova.org/wiki/index.php/CoovaChilli
8
Source0:   http://ap.coova.org/chilli/%{name}-%{version}.tar.gz
9
License:   GPLv2
10
Group:	   System/Servers
11
Packager:  Rexy for ALCASAR project
12
Requires(pre): rpm-helper
13
Requires(postun): rpm-helper
14
 
15
BuildRequires:	autoconf
16
BuildRequires:	libtool
17
BuildRequires:	curl-devel
18
BuildRequires:	pcap-devel
19
BuildRequires:	python
20
BuildRequires:	python-devel
21
%if %{!?_without_ssl:1}0
22
BuildRequires: openssl-devel
23
%endif
24
Provides:	coova-chilli = %{version}-%{release}
25
Obsoletes:	chillispot
26
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
27
 
28
%description 
29
 
30
Coova-Chilli is a fork of the ChilliSpot project - an open source captive
31
portal or wireless LAN access point controller. It supports web based login
32
(Universal Access Method, or UAM), standard for public HotSpots, and it
33
supports Wireless Protected Access (WPA), the standard for secure roamable
34
networks. Authentication, Authorization and Accounting (AAA) is handled by
35
your favorite radius server. Read more at http://coova.org/.
36
 
37
%prep
38
%setup -q -n %{name}-%{version}
39
 
40
%build
41
 
42
%configure \
43
        --disable-static \
44
        --enable-shared \
45
	--enable-largelimits \
46
	--enable-miniportal \
47
	--enable-chilliredir \
48
	--enable-chilliproxy \
49
        --enable-chilliscript \
50
	--with-poll \
51
%if %{!?_without_ssl:1}0
52
	--with-openssl \
53
	--enable-chilliradsec \
54
%endif
55
 
56
 
57
make
58
 
59
%install
60
make install DESTDIR=$RPM_BUILD_ROOT
61
 
62
rm -rf $RPM_BUILD_ROOT/usr/include/*
63
rm -rf $RPM_BUILD_ROOT/usr/lib/*.la
64
rm -rf $RPM_BUILD_ROOT/usr/lib/*.a
65
 
66
%clean
67
rm -rf $RPM_BUILD_ROOT
68
make clean
69
 
70
%post
71
%_post_service chilli
72
 
73
%preun
74
%_preun_service chilli
75
 
76
%files
77
%defattr(-,root,root)
78
%{_sbindir}/*
79
%{_libdir}/*.so*
80
%{_libdir}/python/CoovaChilliLib.py
81
%{_sysconfdir}/init.d/chilli
82
%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi
83
%config %{_sysconfdir}/chilli.conf
84
%config %{_sysconfdir}/chilli/gui-config-default.ini
85
%config(noreplace) %{_sysconfdir}/chilli/defaults
86
%dir %{_sysconfdir}/chilli
87
%dir %{_sysconfdir}/chilli/www
88
%attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh
89
%attr(4750,root,chilli)%{_sbindir}/chilli_script
90
%{_sysconfdir}/chilli/www/*
91
%{_sysconfdir}/chilli/wwwsh
92
%{_sysconfdir}/chilli/functions
93
%{_sysconfdir}/chilli/*.sh
94
%{_mandir}/man1/*.1*
95
%{_mandir}/man5/*.5*
96
%{_mandir}/man8/*.8*
97
 
98
%changelog
99
* Wed Jan 18 2012 Rexy for ALCASAR project
100
- 1.2.9 release
101
* Sun Jul 11 2011 Rexy for ALCASAR project
102
- 1.2.8 release
103
* Sat Feb 12 2011 Rexy for Alcasar project 
104
+ revision: 433
105
+ add _disable_ld_no_undefined 1
106
- 1.2.6 release
107
* Sat Nov 20 2010 Rexy for Alcasar project
108
+ revision: 394
109
- 1.2.5 release
110
* Sat Jan 2 2010 <david@coova.com>
111
- 1.2.0 release
112
* Thu Sep 30 2007 <david@coova.com>
113
- 1.0.8 release 
114
* Thu Aug 20 2007 <david@coova.com>
115
- 1.0-coova.7 release
116
* Thu Jun 7 2007 <david@coova.com>
117
- 1.0-coova.6 release
118
* Wed May 16 2007  <david@coova.com>
119
- 1.0-coova.5 release
120
* Wed Feb 07 2007  <david@coova.com>
121
- 1.0-coova.4 release
122
* Wed Nov 15 2006  <david@coova.com>
123
- 1.0-coova.3 release
124
* Thu Mar 25 2004  <support@chillispot.org>
125
- Initial release.