Fri, 11 Mar 2011 21:30:26 +0100
Import package vendor original specs for necessary manipulations.
michael@0 | 1 | Summary: Kismet is an 802.11 network sniffer and network dissector. |
michael@0 | 2 | Name: kismet |
michael@0 | 3 | Version: 2004.03 |
michael@0 | 4 | Release: 1 |
michael@0 | 5 | Group: Networking/Utilities |
michael@0 | 6 | Copyright: GPL |
michael@0 | 7 | Url: www.kismetwireless.net |
michael@0 | 8 | Source: kismet-%{version}.%{release}.tar.gz |
michael@0 | 9 | BuildRoot: %{_tmppath}/%{name}-root |
michael@0 | 10 | |
michael@0 | 11 | |
michael@0 | 12 | %description |
michael@0 | 13 | Kismet is an 802.11 layer2 wireless network detector, sniffer, and |
michael@0 | 14 | intrusion detection system. Kismet will work with any wireless card which |
michael@0 | 15 | supports raw monitoring (rfmon) mode, and can sniff 802.11b, 802.11a, and |
michael@0 | 16 | 802.11g traffic. |
michael@0 | 17 | |
michael@0 | 18 | |
michael@0 | 19 | %prep |
michael@0 | 20 | %setup -q |
michael@0 | 21 | |
michael@0 | 22 | |
michael@0 | 23 | %build |
michael@0 | 24 | %configure |
michael@0 | 25 | |
michael@0 | 26 | make |
michael@0 | 27 | |
michael@0 | 28 | |
michael@0 | 29 | %install |
michael@0 | 30 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 31 | |
michael@0 | 32 | make DESTDIR=$RPM_BUILD_ROOT/ rpm |
michael@0 | 33 | |
michael@0 | 34 | |
michael@0 | 35 | #%clean |
michael@0 | 36 | #rm -rf $RPM_BUILD_ROOT |
michael@0 | 37 | |
michael@0 | 38 | %files |
michael@0 | 39 | %defattr(-,root,root) |
michael@0 | 40 | %doc README docs/DEVEL.* |
michael@0 | 41 | %config /etc/kismet.conf |
michael@0 | 42 | %config /etc/kismet_ui.conf |
michael@0 | 43 | %config /etc/kismet_drone.conf |
michael@0 | 44 | /etc/ap_manuf |
michael@0 | 45 | /etc/client_manuf |
michael@0 | 46 | /usr/bin/kismet |
michael@0 | 47 | /usr/bin/kismet_client |
michael@0 | 48 | /usr/bin/kismet_drone |
michael@0 | 49 | %attr(0755,root,root) /usr/bin/kismet_server |
michael@0 | 50 | %attr(0755,root,root) /usr/bin/kismet_drone |
michael@0 | 51 | /usr/share/kismet/wav/*.wav |
michael@0 | 52 | /usr/share/man/man1/gpsmap.1.gz |
michael@0 | 53 | /usr/share/man/man1/kismet.1.gz |
michael@0 | 54 | /usr/share/man/man1/kismet_drone.1.gz |
michael@0 | 55 | /usr/share/man/man5/kismet.conf.5.gz |
michael@0 | 56 | /usr/share/man/man5/kismet_ui.conf.5.gz |
michael@0 | 57 | /usr/share/man/man5/kismet_drone.conf.5.gz |
michael@0 | 58 | |
michael@0 | 59 | %changelog |
michael@0 | 60 | * Wed Aug 21 2002 Jeremiah Johnson <jjohnson@sunrise-linux.com> |
michael@0 | 61 | - Initial specfile creation. |
michael@0 | 62 | * Sat Sep 21 2002 Mike Kershaw <dragorn@kismetwireless.net> |
michael@0 | 63 | - Added manuf tag files, additional man files |
michael@0 | 64 | * Mon Feb 24 2002 Mike Kershaw <dragorn@kismetwireless.net> |
michael@0 | 65 | - Added drone man files and kismet_drone binary |
michael@0 | 66 | * Sat Mar 13 2004 Mike Kershaw <dragorn@kismetwireless.net> |
michael@0 | 67 | - Updated spec file (finally), removed suid install, updated other info |