2007-01-16 00:41:20 +01:00
|
|
|
#
|
2010-02-01 14:32:49 +01:00
|
|
|
# spec file for package wireshark
|
2007-01-16 00:41:20 +01:00
|
|
|
#
|
2009-02-16 16:06:47 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:41:20 +01:00
|
|
|
#
|
2008-09-06 04:17:49 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:41:20 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-21 10:32:44 +01:00
|
|
|
|
2007-01-16 00:41:20 +01:00
|
|
|
Name: wireshark
|
2007-07-10 19:15:17 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:41:20 +01:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
|
|
|
Summary: A Network Traffic Analyser
|
2010-02-01 14:32:49 +01:00
|
|
|
Version: 1.2.6
|
2009-11-23 16:58:34 +01:00
|
|
|
Release: 1
|
2007-12-19 14:56:16 +01:00
|
|
|
Url: http://www.wireshark.org/
|
2008-12-18 15:22:09 +01:00
|
|
|
Source: http://www.wireshark.org/download/src/%{name}-%{version}.tar.bz2
|
2008-11-04 17:58:51 +01:00
|
|
|
Source1: include.filelist
|
2009-06-20 04:08:32 +02:00
|
|
|
# PATCH-FIX-OPENSUSE wireshark-1.0.8-desktop.patch bnc#349782 prusnak@suse.cz -- fix icon and run as root
|
2009-06-17 15:51:24 +02:00
|
|
|
Patch0: %{name}-1.0.8-desktop.patch
|
2009-06-20 04:08:32 +02:00
|
|
|
# PATCH-FIX-OPENSUSE wireshark-1.2.0-disable-warning-dialog.patch bnc#349782 prusnak@suse.cz -- don't show warning when running as root
|
2009-06-17 15:51:24 +02:00
|
|
|
Patch1: %{name}-1.2.0-disable-warning-dialog.patch
|
2009-06-20 04:08:32 +02:00
|
|
|
# PATCH-FIX-OPENSUSE wireshark-1.2.0-asneeded.patch cmorve69@yahoo.es -- compile with --as-needed
|
2009-06-17 15:51:24 +02:00
|
|
|
Patch2: %{name}-1.2.0-asneeded.patch
|
2009-06-20 04:08:32 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE wireshark-1.2.0-geoip.patch prusnak@suse.cz -- search in /var/lib/GeoIP if user hasn't set any GeoIP folders
|
|
|
|
Patch3: %{name}-1.2.0-geoip.patch
|
2007-01-16 00:41:20 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-06-17 15:51:24 +02:00
|
|
|
Requires: xdg-utils
|
2008-11-28 12:18:20 +01:00
|
|
|
Provides: ethereal = %{version}
|
|
|
|
Obsoletes: ethereal < %{version}
|
2009-06-17 15:51:24 +02:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: cairo-devel
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libcares-devel
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
%if 0%{?suse_version} > 1100
|
|
|
|
BuildRequires: libGeoIP-devel
|
|
|
|
Recommends: GeoIP
|
|
|
|
%endif
|
|
|
|
BuildRequires: libgnutls-devel
|
|
|
|
BuildRequires: libpcap-devel
|
|
|
|
BuildRequires: libsmi-devel
|
|
|
|
BuildRequires: lua-devel
|
|
|
|
BuildRequires: net-snmp-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: portaudio-devel
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: tcpd-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: xdg-utils
|
|
|
|
BuildRequires: zlib-devel
|
2007-01-16 00:41:20 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Wireshark is a free network protocol analyzer for Unix and Windows. It
|
|
|
|
allows you to examine data from a live network or from a capture file
|
|
|
|
on disk. You can interactively browse the capture data, viewing summary
|
|
|
|
and detail information for each packet. Wireshark has several powerful
|
|
|
|
features, including a rich display filter language and the ability to
|
|
|
|
view the reconstructed stream of a TCP session.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gerald Combs <gerald[AT]ethereal.com>
|
|
|
|
Gilbert Ramirez <gram[AT]alumni.rice.edu>
|
|
|
|
Hannes R. Boehm <hannes[AT]boehm.org>
|
|
|
|
Mike Hall <mike[AT]hallzone.net>
|
|
|
|
Bobo Rajec <bobo[AT]bsp-consulting.sk>
|
|
|
|
Laurent Deniel <laurent.deniel[AT]free.fr>
|
|
|
|
Don Lafontaine <lafont02[AT]cn.ca>
|
|
|
|
Guy Harris <guy[AT]alum.mit.edu>
|
|
|
|
Simon Wilkinson <sxw[AT]dcs.ed.ac.uk>
|
|
|
|
Joerg Mayer <jmayer[AT]loplof.de>
|
|
|
|
Martin Maciaszek <fastjack[AT]i-s-o.net>
|
|
|
|
Didier Jorand <Didier.Jorand[AT]alcatel.fr>
|
|
|
|
Jun-ichiro itojun Hagino <itojun[AT]itojun.org>
|
|
|
|
Richard Sharpe <sharpe[AT]ns.aus.com>
|
|
|
|
John McDermott <jjm[AT]jkintl.com>
|
|
|
|
Jeff Jahr <jjahr[AT]shastanets.com>
|
|
|
|
Brad Robel-Forrest <bradr[AT]watchguard.com>
|
|
|
|
Ashok Narayanan <ashokn[AT]cisco.com>
|
|
|
|
Aaron Hillegass <aaron[AT]classmax.com>
|
|
|
|
Jason Lango <jal[AT]netapp.com>
|
|
|
|
Johan Feyaerts <Johan.Feyaerts[AT]siemens.atea.be>
|
|
|
|
Olivier Abad <oabad[AT]noos.fr>
|
2008-09-06 04:17:49 +02:00
|
|
|
and many others. For details see /usr/share/doc/packages/wireshark/AUTHORS
|
2007-01-16 00:41:20 +01:00
|
|
|
|
|
|
|
%package devel
|
2008-04-10 11:43:10 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:41:20 +01:00
|
|
|
Summary: A Network Traffic Analyser
|
|
|
|
Group: Productivity/Networking/Diagnostic
|
2008-02-21 10:32:44 +01:00
|
|
|
Requires: %{name} = %{version} glibc-devel glib2-devel
|
2008-11-28 12:18:20 +01:00
|
|
|
Provides: ethereal-devel = %{version}
|
|
|
|
Obsoletes: ethereal-devel < %{version}
|
2007-01-16 00:41:20 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Wireshark is a free network protocol analyzer for Unix and Windows. It
|
|
|
|
allows you to examine data from a live network or from a capture file
|
|
|
|
on disk. You can interactively browse the capture data, viewing summary
|
|
|
|
and detail information for each packet. Wireshark has several powerful
|
|
|
|
features, including a rich display filter language and the ability to
|
|
|
|
view the reconstructed stream of a TCP session.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gerald Combs <gerald[AT]ethereal.com>
|
|
|
|
Gilbert Ramirez <gram[AT]alumni.rice.edu>
|
|
|
|
Hannes R. Boehm <hannes[AT]boehm.org>
|
|
|
|
Mike Hall <mike[AT]hallzone.net>
|
|
|
|
Bobo Rajec <bobo[AT]bsp-consulting.sk>
|
|
|
|
Laurent Deniel <laurent.deniel[AT]free.fr>
|
|
|
|
Don Lafontaine <lafont02[AT]cn.ca>
|
|
|
|
Guy Harris <guy[AT]alum.mit.edu>
|
|
|
|
Simon Wilkinson <sxw[AT]dcs.ed.ac.uk>
|
|
|
|
Joerg Mayer <jmayer[AT]loplof.de>
|
|
|
|
Martin Maciaszek <fastjack[AT]i-s-o.net>
|
|
|
|
Didier Jorand <Didier.Jorand[AT]alcatel.fr>
|
|
|
|
Jun-ichiro itojun Hagino <itojun[AT]itojun.org>
|
|
|
|
Richard Sharpe <sharpe[AT]ns.aus.com>
|
|
|
|
John McDermott <jjm[AT]jkintl.com>
|
|
|
|
Jeff Jahr <jjahr[AT]shastanets.com>
|
|
|
|
Brad Robel-Forrest <bradr[AT]watchguard.com>
|
|
|
|
Ashok Narayanan <ashokn[AT]cisco.com>
|
|
|
|
Aaron Hillegass <aaron[AT]classmax.com>
|
|
|
|
Jason Lango <jal[AT]netapp.com>
|
|
|
|
Johan Feyaerts <Johan.Feyaerts[AT]siemens.atea.be>
|
|
|
|
Olivier Abad <oabad[AT]noos.fr>
|
2008-09-06 04:17:49 +02:00
|
|
|
and many others. For details see /usr/share/doc/packages/wireshark/AUTHORS
|
2007-01-16 00:41:20 +01:00
|
|
|
|
|
|
|
%prep
|
2007-02-06 19:25:39 +01:00
|
|
|
%setup -q
|
|
|
|
%patch0
|
2008-11-04 17:58:51 +01:00
|
|
|
%patch1
|
2008-11-28 12:18:20 +01:00
|
|
|
%patch2
|
2009-06-20 04:08:32 +02:00
|
|
|
%patch3
|
2007-01-16 00:41:20 +01:00
|
|
|
|
|
|
|
%build
|
2009-06-17 15:51:24 +02:00
|
|
|
%configure
|
2007-01-16 00:41:20 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make "DESTDIR=$RPM_BUILD_ROOT" install
|
2007-03-07 22:51:45 +01:00
|
|
|
ln -fs wireshark $RPM_BUILD_ROOT%{_bindir}/ethereal
|
|
|
|
ln -fs tshark $RPM_BUILD_ROOT%{_bindir}/tethereal
|
2008-11-04 17:58:51 +01:00
|
|
|
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
|
install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
|
install -m 0644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
|
%suse_update_desktop_file -i wireshark System Network
|
2007-01-16 00:41:20 +01:00
|
|
|
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
2008-11-04 17:58:51 +01:00
|
|
|
install -d -m 0755 $RPM_BUILD_ROOT%{_includedir}/wireshark
|
|
|
|
for i in `cat %{SOURCE1}`; do
|
|
|
|
install -m 644 $i $RPM_BUILD_ROOT%{_includedir}/wireshark
|
2007-01-16 00:41:20 +01:00
|
|
|
done
|
2008-11-04 17:58:51 +01:00
|
|
|
install -D -m 0644 image/wsicon48.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/wireshark.png
|
2007-01-16 00:41:20 +01:00
|
|
|
|
|
|
|
%clean
|
2007-03-07 22:51:45 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-16 00:41:20 +01:00
|
|
|
|
2007-12-19 14:56:16 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:41:20 +01:00
|
|
|
|
2007-12-19 14:56:16 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:41:20 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-01-10 03:21:45 +01:00
|
|
|
%doc AUTHORS COPYING NEWS README README.linux README.vmware
|
2010-02-01 14:32:49 +01:00
|
|
|
%doc %{_mandir}/man1/[^i]*
|
|
|
|
%doc %{_mandir}/man4/*
|
2007-03-07 22:51:45 +01:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/pixmaps/wireshark.png
|
|
|
|
%{_bindir}/[^i]*
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%{_libdir}/wireshark
|
|
|
|
%{_datadir}/wireshark
|
2007-01-16 00:41:20 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/README.*
|
2007-03-07 22:51:45 +01:00
|
|
|
%{_includedir}/wireshark
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_bindir}/idl2wrs
|
2007-01-16 00:41:20 +01:00
|
|
|
%{_mandir}/man1/idl2wrs*
|
|
|
|
|
2007-03-07 22:51:45 +01:00
|
|
|
%changelog
|