]> git.pld-linux.org Git - packages/coova-chilli.git/blame - coova-chilli.spec
- added %dir %{_sysconfdir}/chilli
[packages/coova-chilli.git] / coova-chilli.spec
CommitLineData
a169e907
SP
1Summary: CoovaChilli - Software access controller
2Name: coovachilli
6ef11f53 3Version: 1.0.12
a169e907
SP
4Release: 0.1
5License: GPL
6Group: Applications
7Source0: http://ap.coova.org/chilli/coova-chilli-%{version}.tar.gz
6ef11f53
SP
8# Source0-md5: 365f46fe79b3d76432544d6bc5f37939
9URL: http://coova.org/wiki/index.php/CoovaChilli
a169e907
SP
10BuildRequires: rpmbuild(macros) >= 1.228
11Requires(post,preun): /sbin/chkconfig
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Coova-Chilli is a fork of the ChilliSpot project - an open source
16captive portal or wireless LAN access point controller. It supports
17web based login (Universal Access Method, or UAM), standard for public
18HotSpots, and it supports Wireless Protected Access (WPA), the
19standard for secure roamable networks. Authentication, Authorization
20and Accounting (AAA) is handled by your favorite radius server. Read
21more at http://coova.org/ and http://www.chillispot.org/.
22
23%prep
24%setup -q -n coova-chilli-%{version}
25
26%build
27%configure
28%{__make}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
33install -d $RPM_BUILD_ROOT/etc/rc.d
34
35%{__make} install \
36 DESTDIR=$RPM_BUILD_ROOT
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%post
6ef11f53
SP
42/sbin/chkconfig --add chilli
43%service chilli restart
a169e907
SP
44
45%preun
46if [ "$1" = "0" ]; then
6ef11f53
SP
47 %service -q chilli stop
48 /sbin/chkconfig --del chilli
a169e907
SP
49fi
50
51%files
52%defattr(644,root,root,755)
53%attr(755,root,root) %{_sbindir}/*
54%attr(755,root,root) %{_libdir}/*.so*
55%attr(754,root,root) /etc/init.d/chilli
56%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi
6ef11f53 57%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/chilli.conf
c63be05f 58%dir %{_sysconfdir}/chilli
a169e907 59%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/chilli/*
a169e907 60%attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh
6ef11f53
SP
61%dir %{_sysconfdir}/chilli/www
62%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/chilli/www/*
a169e907
SP
63%{_mandir}/man1/*.1*
64%{_mandir}/man5/*.5*
65%{_mandir}/man8/*.8*
This page took 0.219373 seconds and 4 git commands to generate.