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 %define module_taglevel_varname release
17 Summary: Spectools utilities for Wi-Spy
21 URL: http://www.kismetwireless.net/spectools/
23 Source: %{actual_name}.tar.gz
24 BuildRoot: %{_tmppath}/%{actual_name}
27 BuildRequires: libusb-devel gtk2-devel ncurses-devel gcc make
29 Requires: libusb gtk2 ncurses
32 Spectrum-Tools is a set of utilities for using the
33 Wi-Spy USB spectrum analyzer hardware from Metageek LLC.
36 %setup -q -n %{actual_name}
40 ./configure --prefix=/usr
44 rm -rf $RPM_BUILD_ROOT
46 make DESTDIR=$RPM_BUILD_ROOT install
55 rm -rf $RPM_BUILD_ROOT
59 %defattr(-,root,root,0755)
60 %{_bindir}/spectool_curses
61 %{_bindir}/spectool_gtk
62 %{_bindir}/spectool_net
63 %{_bindir}/spectool_raw
64 %doc README GPL 99-wispy.rules
70 %changelog -n spectools
71 * Fri Oct 2 2009 Thierry Turletti <turletti@sophia.inria.fr> - 1.0