]> git.pld-linux.org Git - packages/chillispot.git/blob - chillispot.spec
- init version, builds, maybe works,
[packages/chillispot.git] / chillispot.spec
1 #
2 # TODO:
3 # initscript, requires, cleanups, create as webapp?,
4
5 Summary:        ChilliSpot is a Wireless LAN Access Point Controller
6 Name:           chillispot
7 Version:        1.1.0
8 Release:        0.1
9 License:        GPL
10 Group:          Networking/Daemons
11 URL:            http://www.chillispot.org
12 Source0:        http://www.chillispot.org/download/%{name}-%{version}.tar.gz
13 # Source0-md5:  9d2597756af3fa14d7331b4a3651fc9b
14 #Source1:       chilli.init.bz2
15 #Requires(postun): rpm-helper
16 #Requires(pre): rpm-helper
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 ChilliSpot is an open source captive portal or wireless LAN access
21 point controller. It supports web based login which is today's
22 standard for public HotSpots and it supports Wireless Protected Access
23 (WPA) which is the standard of the future. Authentication,
24 Authorization and Accounting (AAA) is handled by your favorite radius
25 server. Read more on http://www.chillispot.org
26
27 %prep
28
29 %setup -q
30
31 # cleanup cvs junk
32
33 #bzcat %{SOURCE1} > chillispot.init
34
35 %build
36 %{__libtoolize}
37 %{__aclocal}
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_sysconfdir}/
50
51 install doc/chilli.conf $RPM_BUILD_ROOT%{_sysconfdir}/
52 #install
53
54 %post
55
56 %preun
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc CREDITS doc/firewall.iptables doc/freeradius.users doc/hotspotlogin.cgi
64 #%attr(0755,root,root) %{_initrddir}/chillispot
65 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
66 %attr(755,root,root) %{_sbindir}/chilli
67 %{_mandir}/man8/chilli.8*
This page took 0.088439 seconds and 3 git commands to generate.