]> git.pld-linux.org Git - packages/kismet.git/blobdiff - kismet.spec
- rel 2
[packages/kismet.git] / kismet.spec
index 38fafaa04f2bfb30492f97f2e83d1d2c22dd52a0..a0ff4f168d46e8a68a4d11ad4ad892a81f91c9e6 100644 (file)
@@ -1,30 +1,27 @@
 #
-# TODO: Anybody knows, why it will not build, 
+# TODO: Anybody knows, why it will not build,
 #      when kernel-headers are installed?
 #
 Summary:       Wireless network sniffer
-Summary(pl):   Sniffer sieci bezprzewodowych
+Summary(pl.UTF-8):     Sniffer sieci bezprzewodowych
 Name:          kismet
-Version:       2005_04_R1
-%define _ver 2005-04-R1
-Release:       5
+Version:       2007_01_R1b
+%define        _ver    2007-01-R1b
+Release:       3
 License:       GPL
 Group:         Networking/Utilities
 Source0:       http://www.kismetwireless.net/code/%{name}-%{_ver}.tar.gz
-# Source0-md5: 19b4f192eb11a418ed3f6bf65c1226af
-Patch0:                %{name}-conf.patch
-#Patch1:               %{name}-pcap.patch
+# Source0-md5: a1dcea71f0c3f881ef72f5bca2db7b39
+Patch0:                %{name}-c++.patch
 URL:           http://www.kismetwireless.net/
 BuildRequires: ImageMagick-devel
-BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: expat-devel
 BuildRequires: gmp-devel
-BuildRequires: libpcap-devel >= 2:0.8.1-2
+BuildRequires: libpcap-devel >= 2:0.9.4-1
+BuildRequires: libstdc++-devel
 BuildRequires: libwiretap-devel
 BuildRequires: ncurses-ext-devel
-BuildRequires: zlib-devel
 # it uses internal structures - so strict deps
 %requires_eq   libpcap
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,22 +34,19 @@ Rangelan, etc), cards which support standard packet capture via
 libpcap (Cisco), and limited support for cards without RF Monitor
 support.
 
-%description -l pl
+%description -l pl.UTF-8
 Kismet to sniffer bezprzewodowych sieci 802.11b. Jest zdolny do
-sniffowania u¿ywaj±c prawie dowolnych bezprzewodowych kart sieciowych
-w Linuksie w³±czaj±c w to karty Prism2 wspierane przez projekt Wlan-NG
-(Linksys, Dlink, Rangelan, etc), kart które umo¿liwiaj±
-przechwytywanie pakietów poprzez libpcap (Cisco), oraz ograniczone
-wsparcie dla kart bez obs³ugi Monitora RF.
+sniffowania używając prawie dowolnych bezprzewodowych kart sieciowych
+w Linuksie włączając w to karty Prism2 wspierane przez projekt Wlan-NG
+(Linksys, Dlink, Rangelan, etc), kart które umożliwiają
+przechwytywanie pakietów poprzez libpcap (Cisco), oraz ograniczone
+wsparcie dla kart bez obsługi Monitora RF.
 
 %prep
 %setup -q -n %{name}-%{_ver}
-%patch0 -p0
-#%patch1 -p1
+%patch0 -p1
 
-cp Makefile.in Makefile.new
-sed -e 's#-o $(INSTUSR)##g' -e 's#-o $(INSTGRP)##g' \
-       Makefile.new > Makefile.in
+sed -i -e 's#-o $(INSTUSR)##g' -e 's#-o $(INSTGRP)##g' Makefile.in
 
 %build
 cp -f /usr/share/automake/config.* .
@@ -67,7 +61,7 @@ CPPFLAGS="-I/usr/include/ncurses"
        --enable-zaurus
 %endif
 
-%{__make} 
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -93,4 +87,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/*_manuf
 %{_datadir}/%{name}
 %{_mandir}/man?/*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}*
This page took 0.132396 seconds and 4 git commands to generate.