]> git.pld-linux.org Git - packages/kismet.git/blame - kismet.spec
- BR: pkgconfig
[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
9cf4f36b 24BuildRequires: pkgconfig
58c65496
JB
25# it uses internal structures - so strict deps
26%requires_eq libpcap
472ae821 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ce8d2811 28
ce8d2811
AM
29%description
30Kismet is a 802.11b wireless network sniffer. It is capable of
31sniffing using almost any wireless card supported in Linux, including
32Prism2 based cards supported by the Wlan-NG project (Linksys, Dlink,
33Rangelan, etc), cards which support standard packet capture via
34libpcap (Cisco), and limited support for cards without RF Monitor
35support.
36
280f6f5a 37%description -l pl.UTF-8
ce8d2811 38Kismet to sniffer bezprzewodowych sieci 802.11b. Jest zdolny do
280f6f5a
JR
39sniffowania używając prawie dowolnych bezprzewodowych kart sieciowych
40w Linuksie włączając w to karty Prism2 wspierane przez projekt Wlan-NG
41(Linksys, Dlink, Rangelan, etc), kart które umożliwiają
42przechwytywanie pakietów poprzez libpcap (Cisco), oraz ograniczone
43wsparcie dla kart bez obsługi Monitora RF.
ce8d2811
AM
44
45%prep
b689f981 46%setup -q -n %{name}-%{_ver}
ce8d2811 47
db37893b 48sed -i -e 's#-o $(INSTUSR)##g' -e 's#-o $(INSTGRP)##g' Makefile.in
a824f1d9 49
69914467
JB
50%build
51cp -f /usr/share/automake/config.* .
2be18a10
SZ
52%{__aclocal}
53%{__autoconf}
58c65496 54CPPFLAGS="-I/usr/include/ncurses"
ce8d2811 55%configure \
58c65496 56 --enable-syspcap \
d5da126a 57 --with-linuxheaders=no \
1e0f374d 58 --with-ethereal=%{_includedir} \
ce8d2811 59%ifarch arm
1e0f374d 60 --enable-zaurus
ce8d2811 61%endif
2be18a10 62
c95f2c3c 63%{__make}
ce8d2811
AM
64
65%install
66rm -rf $RPM_BUILD_ROOT
ce8d2811
AM
67install -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}
a824f1d9 78
ce8d2811
AM
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%files
83%defattr(644,root,root,755)
72646fca 84%doc docs/* CHANGELOG README
ce8d2811
AM
85%attr(755,root,root) %{_bindir}/*
86%{_datadir}/%{name}
87%{_mandir}/man?/*
c95f2c3c 88%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}*
This page took 0.082084 seconds and 4 git commands to generate.