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