kismet/kismet.spec

Fri, 11 Mar 2011 21:39:41 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:39:41 +0100
changeset 2
e3665a058d13
parent 0
4f133201e207
permissions
-rw-r--r--

Import new package specs for introduction into repository.

michael@1 1 # package versions
michael@1 2 %define V_pack 201007R1
michael@1 3 %define V_dist 2010-07-R1
michael@1 4
michael@0 5 Summary: Kismet is an 802.11 network sniffer and network dissector.
michael@1 6 Vendor: Europalab Software
michael@1 7 Packager: Michael Schloh von Bennewitz
michael@1 8 Distribution: MeeGo Thirdparty
michael@0 9 Name: kismet
michael@1 10 Version: %{V_pack}
michael@1 11 Release: 20101201
michael@0 12 Group: Networking/Utilities
michael@1 13 License: GPL
michael@1 14 Url: http://www.kismetwireless.net/
michael@1 15 Source: kismet-%{V_dist}.tar.gz
michael@0 16 BuildRoot: %{_tmppath}/%{name}-root
michael@1 17 BuildRequires: ncurses-devel libpcap-devel libnl-devel pcre-devel libcap-devel
michael@0 18
michael@0 19
michael@0 20 %description
michael@0 21 Kismet is an 802.11 layer2 wireless network detector, sniffer, and
michael@0 22 intrusion detection system. Kismet will work with any wireless card which
michael@0 23 supports raw monitoring (rfmon) mode, and can sniff 802.11b, 802.11a, and
michael@0 24 802.11g traffic.
michael@0 25
michael@0 26
michael@0 27 %prep
michael@1 28 %setup -q -n %{name}-%{V_dist}
michael@0 29
michael@0 30
michael@0 31 %build
michael@0 32 %configure
michael@0 33
michael@0 34 make
michael@0 35
michael@0 36
michael@0 37 %install
michael@0 38 rm -rf $RPM_BUILD_ROOT
michael@0 39
michael@0 40 make DESTDIR=$RPM_BUILD_ROOT/ rpm
michael@1 41 install -m 644 man/gpsmap.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
michael@1 42 install -m 644 man/kismet_ui.conf.5 $RPM_BUILD_ROOT/%{_mandir}/man5/
michael@0 43
michael@0 44
michael@1 45 %clean
michael@1 46 rm -rf $RPM_BUILD_ROOT
michael@0 47
michael@0 48 %files
michael@0 49 %defattr(-,root,root)
michael@0 50 %doc README docs/DEVEL.*
michael@0 51 %config /etc/kismet.conf
michael@0 52 %config /etc/kismet_drone.conf
michael@0 53 /usr/bin/kismet
michael@0 54 /usr/bin/kismet_client
michael@0 55 /usr/bin/kismet_drone
michael@0 56 %attr(0755,root,root) /usr/bin/kismet_server
michael@0 57 %attr(0755,root,root) /usr/bin/kismet_drone
michael@0 58 /usr/share/kismet/wav/*.wav
michael@0 59 /usr/share/man/man1/gpsmap.1.gz
michael@0 60 /usr/share/man/man1/kismet.1.gz
michael@0 61 /usr/share/man/man1/kismet_drone.1.gz
michael@0 62 /usr/share/man/man5/kismet.conf.5.gz
michael@0 63 /usr/share/man/man5/kismet_ui.conf.5.gz
michael@0 64 /usr/share/man/man5/kismet_drone.conf.5.gz
michael@0 65
michael@0 66 %changelog
michael@1 67 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 201007R1-20101201
michael@1 68 - Correct buildconf and packaging logic, and repackage for MeeGo 1.1
michael@1 69 * Sat Mar 13 2004 Mike Kershaw <dragorn@kismetwireless.net>
michael@1 70 - Updated spec file (finally), removed suid install, updated other info
michael@1 71 * Sat Sep 21 2002 Mike Kershaw <dragorn@kismetwireless.net>
michael@1 72 - Added manuf tag files, additional man files
michael@0 73 * Wed Aug 21 2002 Jeremiah Johnson <jjohnson@sunrise-linux.com>
michael@0 74 - Initial specfile creation.
michael@0 75 * Mon Feb 24 2002 Mike Kershaw <dragorn@kismetwireless.net>
michael@0 76 - Added drone man files and kismet_drone binary

mercurial