]> git.pld-linux.org Git - packages/tcpdump.git/blob - tcpdump.spec
- switch to rpm 3.0.2
[packages/tcpdump.git] / tcpdump.spec
1 Summary:        dumps packets that are sent or received over a network interface
2 Summary(de):    deponiert Pakete, die über eine Netzwerkschnittstelle gesandt oder empfangen werden 
3 Summary(fr):    vide les paquets émis ou reçus sur une interface réseau
4 Summary(pl):    Pokazuje pakiety przechodz±ce przez inerfejsy sieciowe
5 Summary(tr):    Bir að arabirimi üzerinden gelen ya da giden paketleri listeler
6 Name:           tcpdump
7 Version:        3.4
8 Release:        1
9 Copyright:      BSD
10 Group:          Applications/Networking
11 Group(pl):      Aplikacje/Sieciowe
12 Source0:        ftp://ftp.ee.lbl.gov//%{name}-%{version}.tar.Z
13 Patch0:         ftp://ftp.inr.ac.ru/ip-routing/lbl-tools/tcpdump-3.4-ss990523.dif.gz
14 Patch1:         tcpdump-glibc2.1.patch
15 BuildRequires:  libpcap
16 BuildRoot:      /tmp/%{name}-%{version}-root
17
18 %description
19 Tcpdump prints out the headers of packets on a network interface.  It
20 is very useful for debugging network problems and security operations.
21
22 %description -l de
23 Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. 
24 Es ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
25 Sicherheitsoperationen.
26
27 %description -l fr
28 tcpdump affiche les en-têtes des paquets d'une interface réseau. Il est
29 très utile pour détecter les problèmes de réseau et de sécurité.
30
31 %description -l pl
32 Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejscy
33 sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci.
34
35 %description -l tr
36 Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný döker.
37 Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda son derece
38 yararlýdýr.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44
45 %build
46 %configure
47 CFLAGS="$RPM_OPT_FLAGS -DIP_MAX_MEMBERSHIPS=20" \
48         ./configure --prefix=%{_prefix} \
49                     --mandir=%{_mandir}
50 make
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
55
56 install -s tcpdump $RPM_BUILD_ROOT%{_sbindir}
57 install tcpdump.1 $RPM_BUILD_ROOT%{_mandir}/man8/tcpdump.8
58
59 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_sbindir}/tcpdump
67 %{_mandir}/man8/*
This page took 0.047455 seconds and 4 git commands to generate.