From b9e2c6eb3085ef2ef118b383bacdf492378b4ca5 Mon Sep 17 00:00:00 2001 From: djrzulf Date: Sun, 1 Oct 2006 15:59:12 +0000 Subject: [PATCH] - init version, builds, maybe works, - adapterized, - TODO added, Changed files: chillispot.spec -> 1.1 --- chillispot.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 chillispot.spec diff --git a/chillispot.spec b/chillispot.spec new file mode 100644 index 0000000..37e8fc2 --- /dev/null +++ b/chillispot.spec @@ -0,0 +1,67 @@ +# +# TODO: +# initscript, requires, cleanups, create as webapp?, + +Summary: ChilliSpot is a Wireless LAN Access Point Controller +Name: chillispot +Version: 1.1.0 +Release: 0.1 +License: GPL +Group: Networking/Daemons +URL: http://www.chillispot.org +Source0: http://www.chillispot.org/download/%{name}-%{version}.tar.gz +# Source0-md5: 9d2597756af3fa14d7331b4a3651fc9b +#Source1: chilli.init.bz2 +#Requires(postun): rpm-helper +#Requires(pre): rpm-helper +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +ChilliSpot is an open source captive portal or wireless LAN access +point controller. It supports web based login which is today's +standard for public HotSpots and it supports Wireless Protected Access +(WPA) which is the standard of the future. Authentication, +Authorization and Accounting (AAA) is handled by your favorite radius +server. Read more on http://www.chillispot.org + +%prep + +%setup -q + +# cleanup cvs junk + +#bzcat %{SOURCE1} > chillispot.init + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_sysconfdir}/ + +install doc/chilli.conf $RPM_BUILD_ROOT%{_sysconfdir}/ +#install + +%post + +%preun + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CREDITS doc/firewall.iptables doc/freeradius.users doc/hotspotlogin.cgi +#%attr(0755,root,root) %{_initrddir}/chillispot +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* +%attr(755,root,root) %{_sbindir}/chilli +%{_mandir}/man8/chilli.8* -- 2.43.0