]> git.pld-linux.org Git - packages/kismet.git/blob - kismet.spec
- release 3 (rebuild with new ImageMagick)
[packages/kismet.git] / kismet.spec
1 #
2 # TODO: Anybody knows, why it will not build,
3 #       when kernel-headers are installed?
4 #
5 Summary:        Wireless network sniffer
6 Summary(pl):    Sniffer sieci bezprzewodowych
7 Name:           kismet
8 Version:        2005_08_R1
9 %define _ver 2005-08-R1
10 Release:        3
11 License:        GPL
12 Group:          Networking/Utilities
13 Source0:        http://www.kismetwireless.net/code/%{name}-%{_ver}.tar.gz
14 # Source0-md5:  17edb7688e04dd28028d5268a77d0ce7
15 URL:            http://www.kismetwireless.net/
16 BuildRequires:  ImageMagick-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gmp-devel
20 BuildRequires:  libpcap-devel >= 2:0.8.1-2
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  libwiretap-devel
23 BuildRequires:  ncurses-ext-devel
24 # it uses internal structures - so strict deps
25 %requires_eq    libpcap
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Kismet is a 802.11b wireless network sniffer. It is capable of
30 sniffing using almost any wireless card supported in Linux, including
31 Prism2 based cards supported by the Wlan-NG project (Linksys, Dlink,
32 Rangelan, etc), cards which support standard packet capture via
33 libpcap (Cisco), and limited support for cards without RF Monitor
34 support.
35
36 %description -l pl
37 Kismet to sniffer bezprzewodowych sieci 802.11b. Jest zdolny do
38 sniffowania u¿ywaj±c prawie dowolnych bezprzewodowych kart sieciowych
39 w Linuksie w³±czaj±c w to karty Prism2 wspierane przez projekt Wlan-NG
40 (Linksys, Dlink, Rangelan, etc), kart które umo¿liwiaj±
41 przechwytywanie pakietów poprzez libpcap (Cisco), oraz ograniczone
42 wsparcie dla kart bez obs³ugi Monitora RF.
43
44 %prep
45 %setup -q -n %{name}-%{_ver}
46
47 cp Makefile.in Makefile.new
48 sed -e 's#-o $(INSTUSR)##g' -e 's#-o $(INSTGRP)##g' \
49         Makefile.new > Makefile.in
50
51 %build
52 cp -f /usr/share/automake/config.* .
53 %{__aclocal}
54 %{__autoconf}
55 CPPFLAGS="-I/usr/include/ncurses"
56 %configure \
57         --enable-syspcap \
58         --with-linuxheaders=no \
59         --with-ethereal=%{_includedir} \
60 %ifarch arm
61         --enable-zaurus
62 %endif
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}}
69
70 %{__make} install \
71         INSTGRP=$(id -g) \
72         MANGRP=$(id -g) \
73         prefix=$RPM_BUILD_ROOT%{_prefix} \
74         exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
75         ETC=$RPM_BUILD_ROOT%{_sysconfdir} \
76         BIN=$RPM_BUILD_ROOT%{_bindir} \
77         SHARE=$RPM_BUILD_ROOT%{_datadir}/%{name} \
78         MAN=$RPM_BUILD_ROOT%{_mandir}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644,root,root,755)
85 %doc docs/* CHANGELOG CHANGELOG-OLD README
86 %attr(755,root,root) %{_bindir}/*
87 %{_sysconfdir}/*_manuf
88 %{_datadir}/%{name}
89 %{_mandir}/man?/*
90 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}*
This page took 0.072648 seconds and 4 git commands to generate.