root/wifidog/wifidog-client/wifidog.spec.in

Revision 218, 1.8 kB (checked in by florida, 2 years ago)

version initiale wifidog-1.1.3_beta6

Line 
1 # $Id: wifidog.spec.in 901 2006-01-17 18:58:13Z mina $
2
3 %define name wifidog
4 %define lib_name libhttpd
5 %define version @VERSION@
6 %define release 1mdk
7
8 Summary: The WiFi Guard Dog project is a complete and embeedable captive portal solution for wireless community groups or individuals who wish to open a free HotSpot while still preventing abuse of their Internet connection.
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}
12 Source: http://download.sourceforge.net/wifidog/%{name}-%{version}.tar.gz
13 Group: Applications/System
14 License: GPL
15 BuildRoot: %{_tmppath}/%{name}-%{version}-root
16 Prereq: /sbin/ldconfig
17
18 %description
19 The WiFi Guard Dog project is a complete and embeedable captive portal solution for wireless community groups or individuals who wish to open a free HotSpot while still preventing abuse of their Internet connection.
20
21 %prep
22 %setup -q
23
24 %build
25 %configure
26 %make
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 mkdir -p $RPM_BUILD_ROOT%{_prefix}
31
32
33 # Will this overide previous config file?
34 mkdir -p $RPM_BUILD_ROOT/etc
35 cp wifidog.conf $RPM_BUILD_ROOT/etc
36 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
37 cp scripts/init.d/wifidog $RPM_BUILD_ROOT/etc/rc.d/init.d
38 chmod +x $RPM_BUILD_ROOT/etc/rc.d/init.d/wifidog
39
40 %makeinstall
41
42 %post
43 /sbin/ldconfig
44 %_post_service wifidog
45
46 %postun
47 /sbin/ldconfig
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52
53 %files
54 %defattr(-,root,root,0755)
55 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README FAQ doc/html
56 %config /etc/wifidog.conf
57 %config /etc/rc.d/init.d/wifidog
58 %{_bindir}/*
59 %{_libdir}/*.a
60 %{_libdir}/*.la
61 %{_libdir}/*.so*
62 %{_includedir}/*
63
64 %changelog
65 * Sun Aug 29 2004 Guillaume Beaudoin <isf@soli.ca>
66 - Littles fixes and libofx leftover.
67 - Prefix changed to /usr to match init.d script (define removed).
68 * Sat Mar 8 2004 Benoit Grégoire <bock@step.polymtl.ca>
69 - Created spec file
Note: See TracBrowser for help on using the browser.