1 # SPEC file for spectools
4 # Source: http://www.kismetwireless.net/code/spectools-2009-06-R1.tar.gz
5 # Version 2009-06-R1 is not compatible with RPM, so rename the tar
6 # with version 2009_06_R1
9 %define version 2009_06_R1
11 %define actual_name %{name}-%{version}
14 Summary: Spectools utilities for Wi-Spy
18 URL: http://www.kismetwireless.net/spectools/
20 Source: %{actual_name}.tar.gz
21 BuildRoot: %{_tmppath}/%{actual_name}
24 BuildRequires: libusb-devel gtk2-devel ncurses-devel gcc make
26 Requires: libusb gtk2 ncurses
29 Spectrum-Tools is a set of utilities for using the
30 Wi-Spy USB spectrum analyzer hardware from Metageek LLC.
33 %setup -q -n %{actual_name}
37 ./configure --prefix=/usr
41 rm -rf $RPM_BUILD_ROOT
43 make DESTDIR=$RPM_BUILD_ROOT install
52 rm -rf $RPM_BUILD_ROOT
56 %defattr(-,root,root,0755)
57 %{_bindir}/spectool_curses
58 %{_bindir}/spectool_gtk
59 %{_bindir}/spectool_net
60 %{_bindir}/spectool_raw
61 %doc README GPL 99-wispy.rules
67 %changelog -n spectools
68 * Fri Oct 2 2009 Thierry Turletti <turletti@sophia.inria.fr> - 1.0