michael@1: # package versions michael@1: %define V_pack 201007R1 michael@1: %define V_dist 2010-07-R1 michael@1: michael@0: Summary: Kismet is an 802.11 network sniffer and network dissector. michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@0: Name: kismet michael@1: Version: %{V_pack} michael@1: Release: 20101201 michael@0: Group: Networking/Utilities michael@1: License: GPL michael@1: Url: http://www.kismetwireless.net/ michael@1: Source: kismet-%{V_dist}.tar.gz michael@0: BuildRoot: %{_tmppath}/%{name}-root michael@1: BuildRequires: ncurses-devel libpcap-devel libnl-devel pcre-devel libcap-devel michael@0: michael@0: michael@0: %description michael@0: Kismet is an 802.11 layer2 wireless network detector, sniffer, and michael@0: intrusion detection system. Kismet will work with any wireless card which michael@0: supports raw monitoring (rfmon) mode, and can sniff 802.11b, 802.11a, and michael@0: 802.11g traffic. michael@0: michael@0: michael@0: %prep michael@1: %setup -q -n %{name}-%{V_dist} michael@0: michael@0: michael@0: %build michael@0: %configure michael@0: michael@0: make michael@0: michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: make DESTDIR=$RPM_BUILD_ROOT/ rpm michael@1: install -m 644 man/gpsmap.1 $RPM_BUILD_ROOT/%{_mandir}/man1/ michael@1: install -m 644 man/kismet_ui.conf.5 $RPM_BUILD_ROOT/%{_mandir}/man5/ michael@0: michael@0: michael@1: %clean michael@1: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: %files michael@0: %defattr(-,root,root) michael@0: %doc README docs/DEVEL.* michael@0: %config /etc/kismet.conf michael@0: %config /etc/kismet_drone.conf michael@0: /usr/bin/kismet michael@0: /usr/bin/kismet_client michael@0: /usr/bin/kismet_drone michael@0: %attr(0755,root,root) /usr/bin/kismet_server michael@0: %attr(0755,root,root) /usr/bin/kismet_drone michael@0: /usr/share/kismet/wav/*.wav michael@0: /usr/share/man/man1/gpsmap.1.gz michael@0: /usr/share/man/man1/kismet.1.gz michael@0: /usr/share/man/man1/kismet_drone.1.gz michael@0: /usr/share/man/man5/kismet.conf.5.gz michael@0: /usr/share/man/man5/kismet_ui.conf.5.gz michael@0: /usr/share/man/man5/kismet_drone.conf.5.gz michael@0: michael@0: %changelog michael@1: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 201007R1-20101201 michael@1: - Correct buildconf and packaging logic, and repackage for MeeGo 1.1 michael@1: * Sat Mar 13 2004 Mike Kershaw michael@1: - Updated spec file (finally), removed suid install, updated other info michael@1: * Sat Sep 21 2002 Mike Kershaw michael@1: - Added manuf tag files, additional man files michael@0: * Wed Aug 21 2002 Jeremiah Johnson michael@0: - Initial specfile creation. michael@0: * Mon Feb 24 2002 Mike Kershaw michael@0: - Added drone man files and kismet_drone binary