]> git.pld-linux.org Git - packages/kismet.git/blob - kismet.spec
- wrong quotation 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:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        http://www.kismetwireless.net/code/%{name}-%{version}.tar.gz
9 # Source0-md5:  7ba34081eb93d7ca27377593ba40524b
10 URL:            http://www.kismetwireless.net/
11 BuildRequires:  ImageMagick-devel
12 BuildRequires:  XFree86-devel
13 BuildRequires:  expat-devel
14 BuildRequires:  libpcap-devel
15 BuildRequires:  ncurses-devel
16 BuildRequires:  zlib-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19
20 %description
21 Kismet is a 802.11b wireless network sniffer. It is capable of
22 sniffing using almost any wireless card supported in Linux, including
23 Prism2 based cards supported by the Wlan-NG project (Linksys, Dlink,
24 Rangelan, etc), cards which support standard packet capture via
25 libpcap (Cisco), and limited support for cards without RF Monitor
26 support.
27
28 %description -l pl
29 Kismet to sniffer bezprzewodowych sieci 802.11b. Jest zdolny do
30 sniffowania u¿ywaj±c prawie dowolnych bezprzewodowych kart sieciowych
31 w Linuxie w³±czaj±c w to karty Prism2 wspierane przez projekt Wlan-NG
32 (Linksys, Dlink, Rangelan, etc), kart które umo¿liwiaj±
33 przechwytywanie pakietów poprzez libpcap (Cisco), oraz ograniczone
34 wsparcie dla kart bez obs³ugi Monitora RF.
35
36 %prep
37 %setup -q
38
39 %build
40 cp Makefile.in Makefile.new
41 sed -e 's#-o $(INSTUSR)##g' -e 's#-o $(INSTGRP)##g' \
42         Makefile.new > Makefile.in
43
44 cd libpcap-0.7.2
45 %{__aclocal}
46 %{__autoconf}
47 cd ..
48 %{__aclocal}
49 %{__autoconf}
50 %configure \
51         CPPFLAGS="-I%{_includedir}/X11 -I/usr/include/ncurses" \
52 %ifarch arm
53         --enable-zaurus \
54 %endif
55
56 %{__make} dep all
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}}
62
63 %{__make} install \
64         INSTGRP=$(id -g) \
65         MANGRP=$(id -g) \
66         prefix=$RPM_BUILD_ROOT%{_prefix} \
67         exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
68         ETC=$RPM_BUILD_ROOT%{_sysconfdir} \
69         BIN=$RPM_BUILD_ROOT%{_bindir} \
70         SHARE=$RPM_BUILD_ROOT%{_datadir}/%{name} \
71         MAN=$RPM_BUILD_ROOT%{_mandir}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc docs/* CHANGELOG FAQ README
79 %attr(755,root,root) %{_bindir}/*
80 %{_sysconfdir}/*_manuf
81 %{_datadir}/%{name}
82 %{_mandir}/man?/*
83 %config(noreplace) %{_sysconfdir}/%{name}*
This page took 0.155434 seconds and 3 git commands to generate.