init
[spectools.git] / spectools.spec
diff --git a/spectools.spec b/spectools.spec
new file mode 100644 (file)
index 0000000..59af8d1
--- /dev/null
@@ -0,0 +1,73 @@
+# SPEC file for spectools
+#
+#
+# Source: http://www.kismetwireless.net/code/spectools-2009-06-R1.tar.gz
+# Version 2009-06-R1 is not compatible with RPM, so rename the tar
+#  with version 2009_06_R1
+#
+%define name spectools
+%define version 2009_06_R1 
+%define release 1.0
+%define actual_name %{name}-%{version}
+
+Name: %{name}
+Summary: Spectools utilities for Wi-Spy
+Version: %{version}
+Release: %{release}
+License: GPL
+URL: http://www.kismetwireless.net/spectools/
+Group: Kismet
+Source: %{actual_name}.tar.gz
+BuildRoot: %{_tmppath}/%{actual_name}
+
+
+BuildRequires:  libusb-devel gtk2-devel ncurses-devel gcc make
+
+Requires:  libusb gtk2 ncurses
+
+%description
+Spectrum-Tools is a set of utilities for using the 
+Wi-Spy USB spectrum analyzer hardware from Metageek LLC.
+
+%prep
+%setup -q -n %{actual_name}
+
+
+%build
+./configure --prefix=/usr
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+
+%post
+
+%postun
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files -n %{name}
+%defattr(-,root,root,0755)
+%{_bindir}/spectool_curses
+%{_bindir}/spectool_gtk
+%{_bindir}/spectool_net
+%{_bindir}/spectool_raw
+%doc README GPL 99-wispy.rules
+
+
+
+
+
+%changelog -n spectools
+* Fri Oct 2 2009 Thierry Turletti <turletti@sophia.inria.fr> - 1.0
+- first version
+
+
+
+