]> git.pld-linux.org Git - packages/coova-chilli.git/blame - coova-chilli.spec
- up to 1.2.5
[packages/coova-chilli.git] / coova-chilli.spec
CommitLineData
a169e907
SP
1Summary: CoovaChilli - Software access controller
2Name: coovachilli
89748371 3Version: 1.2.5
a169e907
SP
4Release: 0.1
5License: GPL
6Group: Applications
7Source0: http://ap.coova.org/chilli/coova-chilli-%{version}.tar.gz
89748371 8# Source0-md5: 1b890cb043b4340e1f15c2b2cff742d3
9Patch0: %{name}-link.patch
1cdf5957 10URL: http://coova.org/
f31fa88a 11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: libtool
520968ae 14BuildRequires: perl-base
a169e907 15BuildRequires: rpmbuild(macros) >= 1.228
0f5345b2 16Suggests: haserl
a169e907
SP
17Requires(post,preun): /sbin/chkconfig
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Coova-Chilli is a fork of the ChilliSpot project - an open source
22captive portal or wireless LAN access point controller. It supports
23web based login (Universal Access Method, or UAM), standard for public
24HotSpots, and it supports Wireless Protected Access (WPA), the
25standard for secure roamable networks. Authentication, Authorization
26and Accounting (AAA) is handled by your favorite radius server. Read
27more at http://coova.org/ and http://www.chillispot.org/.
28
009a61d0 29%package devel
30Summary: Header files for coovachili library
31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki coovachilli
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36Header files for coovachilli library.
37
38%description devel -l pl.UTF-8
39Pliki nagłówkowe biblioteki coovachilli.
40
41%package static
42Summary: Static coovachilli library
43Summary(pl.UTF-8): Statyczna biblioteka coovachilli
44Group: Development/Libraries
45Requires: %{name}-devel = %{version}-%{release}
46
47%description static
48Static coovachilli library.
49
50%description static -l pl.UTF-8
51Statyczna biblioteka coovachilli.
52
a169e907
SP
53%prep
54%setup -q -n coova-chilli-%{version}
ab8156c5 55%patch0 -p1
56
a169e907 57%build
f31fa88a 58%{__libtoolize}
59%{__aclocal}
60%{__autoconf}
61%{__autoheader}
62%{__automake}
a169e907
SP
63%configure
64%{__make}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68
69install -d $RPM_BUILD_ROOT/etc/rc.d
70
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
73
009a61d0 74mv $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
75
a169e907
SP
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post
6ef11f53
SP
80/sbin/chkconfig --add chilli
81%service chilli restart
a169e907
SP
82
83%preun
84if [ "$1" = "0" ]; then
6ef11f53
SP
85 %service -q chilli stop
86 /sbin/chkconfig --del chilli
a169e907
SP
87fi
88
89%files
90%defattr(644,root,root,755)
91%attr(755,root,root) %{_sbindir}/*
92%attr(755,root,root) %{_libdir}/*.so*
009a61d0 93%attr(755,root,root) %ghost %{_libdir}/libbstring.so.0
94%attr(755,root,root) %{_libdir}/libbstring.so.0.0.0
95%attr(755,root,root) %ghost %{_libdir}/libchilli.so.0
96%attr(755,root,root) %{_libdir}/libchilli.so.0.0.0
97%attr(754,root,root) /etc/rc.d/init.d/chilli
a169e907 98%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi
6ef11f53 99%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/chilli.conf
c63be05f 100%dir %{_sysconfdir}/chilli
a169e907 101%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/chilli/*
a169e907 102%attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh
6ef11f53
SP
103%dir %{_sysconfdir}/chilli/www
104%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/chilli/www/*
a169e907
SP
105%{_mandir}/man1/*.1*
106%{_mandir}/man5/*.5*
107%{_mandir}/man8/*.8*
009a61d0 108
109%files devel
110%defattr(644,root,root,755)
111%{_libdir}/*.la
112%{_libdir}/libbstring.so
113%{_libdir}/libchilli.so
114%{_includedir}/chilli
115
116%files static
117%defattr(644,root,root,755)
118%{_libdir}/*.a
This page took 0.598424 seconds and 4 git commands to generate.