kismet/kismet.spec

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

mercurial