]> git.pld-linux.org Git - packages/kismet.git/blob - kismet.spec
- spelling fix
[packages/kismet.git] / kismet.spec
1 Summary:        Wireless network sniffer
2 Summary(pl):    Sniffer sieci bezprzewodowych
3 Name:           kismet
4 Version:        3.0.1
5 Release:        4
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        http://www.kismetwireless.net/code/%{name}-%{version}.tar.gz
9 # Source0-md5:  7ba34081eb93d7ca27377593ba40524b
10 Patch0:         %{name}-acfix.patch
11 Patch1:         %{name}-pcap.patch
12 URL:            http://www.kismetwireless.net/
13 BuildRequires:  ImageMagick-devel
14 BuildRequires:  XFree86-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  expat-devel
18 BuildRequires:  libpcap-devel >= 2:0.8.1-2
19 BuildRequires:  libwiretap-devel
20 BuildRequires:  ncurses-ext-devel
21 BuildRequires:  zlib-devel
22 # it uses internal structures - so strict deps
23 %requires_eq    libpcap
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Kismet is a 802.11b wireless network sniffer. It is capable of
28 sniffing using almost any wireless card supported in Linux, including
29 Prism2 based cards supported by the Wlan-NG project (Linksys, Dlink,
30 Rangelan, etc), cards which support standard packet capture via
31 libpcap (Cisco), and limited support for cards without RF Monitor
32 support.
33
34 %description -l pl
35 Kismet to sniffer bezprzewodowych sieci 802.11b. Jest zdolny do
36 sniffowania u¿ywaj±c prawie dowolnych bezprzewodowych kart sieciowych
37 w Linuksie w³±czaj±c w to karty Prism2 wspierane przez projekt Wlan-NG
38 (Linksys, Dlink, Rangelan, etc), kart które umo¿liwiaj±
39 przechwytywanie pakietów poprzez libpcap (Cisco), oraz ograniczone
40 wsparcie dla kart bez obs³ugi Monitora RF.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1
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-ethereal=%{_includedir} \
59 %ifarch arm
60         --enable-zaurus
61 %endif
62
63 %{__make} dep all
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}}
68
69 %{__make} install \
70         INSTGRP=$(id -g) \
71         MANGRP=$(id -g) \
72         prefix=$RPM_BUILD_ROOT%{_prefix} \
73         exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
74         ETC=$RPM_BUILD_ROOT%{_sysconfdir} \
75         BIN=$RPM_BUILD_ROOT%{_bindir} \
76         SHARE=$RPM_BUILD_ROOT%{_datadir}/%{name} \
77         MAN=$RPM_BUILD_ROOT%{_mandir}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %doc docs/* CHANGELOG FAQ README
85 %attr(755,root,root) %{_bindir}/*
86 %{_sysconfdir}/*_manuf
87 %{_datadir}/%{name}
88 %{_mandir}/man?/*
89 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}*
This page took 0.060148 seconds and 4 git commands to generate.