]> git.pld-linux.org Git - packages/wireshark.git/blob - wireshark.spec
- rleseae 2.
[packages/wireshark.git] / wireshark.spec
1 Summary:        Network traffic and protocol analyzer
2 Summary(pl):    Analizator ruchu i protoko³ów sieciowych
3 Name:           ethereal
4 Version:        0.8.18
5 Release:        2
6 License:        GPL
7 Group:          Networking
8 Group(de):      Netzwerkwesen
9 Group(pl):      Sieciowe
10 Source0:        ftp://ethereal.zing.org/pub/ethereal/%{name}-%{version}.tar.gz
11 Source1:        %{name}.desktop
12 Source2:        %{name}.su-start-script
13 URL:            http://ethereal.zing.org/
14 BuildRequires:  flex
15 BuildRequires:  gtk+-devel >= 1.2
16 BuildRequires:  libpcap-devel >= 0.4
17 BuildRequires:  ucd-snmp-devel
18 BuildRequires:  zlib-devel
19 BuildRequires:  perl-devel
20 Requires:       libpcap >= 0.4
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
25 %define         _sysconfdir     /usr/share/misc
26
27 %description
28 Ethereal is the name for powerful graphical network sniffer, traffic
29 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
30 capture and interactively browse the contents of network frames with
31 vast knowledge of more than 100 network protocols. Ethereal has
32 severeal useful features, including a rich display filter language,
33 the ability to view the ASCII contents of a TCP connection and plug-in
34 capabilities.
35
36 %description -l pl
37 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
38 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
39 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
40 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
41 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
42 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
43 wtyczek (plug-ins).
44
45 %prep
46 %setup -q
47
48 %build
49 # don't remove -DINET6=1 because --enable-ipv6 doesn't work properly
50 CFLAGS="%{rpmcflags} -I/usr/include/pcap -DINET6=1"
51 %configure \
52         --enable-zlib \
53         --with-ucdsnmp \
54         --enable-pcap \
55         --enable-ipv6 \
56         --disable-static \
57         --with-plugindir=%{_libdir}/ethereal
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Misc,%{_datadir}/pixmaps}
64
65 %{__make} DESTDIR=$RPM_BUILD_ROOT install
66
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Misc
68 install image/ethereal48x48-trans.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/ethereal.png
69 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/ethereal_su
70
71 gzip -9nf AUTHORS NEWS README* doc/randpkt.txt doc/README.developer
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc *.gz doc/*.gz
79 %attr(755,root,root) %{_bindir}/*
80 %{_applnkdir}/Network/Misc/ethereal.desktop
81 %{_sysconfdir}/manuf
82 %{_mandir}/man1/*
83 %{_pixmapsdir}/*
84 %dir %{_libdir}/ethereal
85 %attr(755,root,root) %{_libdir}/ethereal/*
This page took 0.037348 seconds and 3 git commands to generate.