%bcond_without krb5 # build without kerberos5 support (via heimdal)
%bcond_without snmp # build without snmp support
#
+%define _pre pre1
Summary: Network traffic and protocol analyzer
Summary(es): Analizador de tráfico de red
Summary(pl): Analizator ruchu i protoko³ów sieciowych
Summary(uk): áÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ
Name: wireshark
Version: 0.99.1
-%define _pre pre1
Release: 0.%{_pre}.1
License: GPL
Group: Networking
BuildRequires: zlib-devel
Requires: %{name}-common = %{version}-%{release}
Requires: libpcap >= 0.4
+Obsoletes: ethereal-gnome
Obsoletes: wireshark-gnome
+Obsoletes ethereal
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Summary(pl): Analizator ruchu i protoko³ów sieciowych - wspólne pliki
Group: Networking
Requires: libwiretap = %{version}-%{release}
+Obsoletes: ethereal-common
%description common
Wireshark is the name for powerful graphical network sniffer, traffic
Summary(pl): Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
Group: Networking
Requires: %{name}-common = %{version}-%{release}
+Obsoletes: ethereal-tools
%description tools
Set of tools for manipulating capture files. Contains:
Group: Networking
Requires: %{name}-common = %{version}-%{release}
Requires: libpcap >= 0.4
+Obsoletes: tethereal
%description -n twireshark
Twireshark is a network protocol analyzer. It lets you capture packet
%{__aclocal} -I ../aclocal-fallback
%{__autoconf}
# don't use --force here
-automake -a -c --foreign
+%{__automake}
cd ..
%configure \
--enable-randpkt \