root/trunk/wifidog/wifidog.spec.in

Revision 901, 1.7 KB (checked in by mina, 6 years ago)

Insignificant cleanup of CVS artifacts after svn migration:
1. Remove unneeded .cvsignore files since ths svn:ignore property is set to the same list
2. Replaced $Header$ macros with $Id$
3. Modify a couple of documentation files referring to CVS to SVN

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3%define name wifidog
4%define lib_name libhttpd
5%define version @VERSION@
6%define release 1mdk
7
8Summary: 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.
9Name: %{name}
10Version: %{version}
11Release: %{release}
12Source: http://download.sourceforge.net/wifidog/%{name}-%{version}.tar.gz
13Group: Applications/System
14License: GPL
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16Prereq: /sbin/ldconfig
17
18%description
19The 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
29rm -rf $RPM_BUILD_ROOT
30mkdir -p $RPM_BUILD_ROOT%{_prefix}
31
32
33# Will this overide previous config file?
34mkdir -p $RPM_BUILD_ROOT/etc
35cp wifidog.conf $RPM_BUILD_ROOT/etc
36mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
37cp scripts/init.d/wifidog $RPM_BUILD_ROOT/etc/rc.d/init.d
38chmod +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
50rm -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.