]> git.pld-linux.org Git - packages/tcpdump.git/blob - tcpdump.spec
- added using %%{__make} macro.
[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:        17
9 Copyright:      BSD
10 Serial:         1
11 Group:          Applications/Networking
12 Group(pl):      Aplikacje/Sieciowe
13 Source0:        ftp://ftp.ee.lbl.gov//%{name}-%{version}.tar.Z
14 Patch0:         ftp://ftp.inr.ac.ru/ip-routing/lbl-tools/tcpdump-3.4-ss990523.dif.gz
15 Patch1:         tcpdump-glibc2.1.patch
16 Patch2:         tcpdump-make.patch
17 Patch3:         tcpdump-giop.patch
18 Patch4:         tcpdump-iphl.patch
19 Patch5:         tcpdump-sparc64.patch
20 BuildRequires:  libpcap-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Tcpdump prints out the headers of packets on a network interface.  It
25 is very useful for debugging network problems and security operations.
26
27 %description -l de
28 Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. 
29 Es ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
30 Sicherheitsoperationen.
31
32 %description -l fr
33 tcpdump affiche les en-têtes des paquets d'une interface réseau. Il est
34 très utile pour détecter les problèmes de réseau et de sécurité.
35
36 %description -l pl
37 Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejscy
38 sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci.
39
40 %description -l tr
41 Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný döker.
42 Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda son derece
43 yararlýdýr.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49 %patch2 -p1
50 %patch3 -p1
51 %patch4 -p1
52 %patch5 -p1
53
54 %build
55 CFLAGS="$RPM_OPT_FLAGS -DIP_MAX_MEMBERSHIPS=20"
56 LDFLAGS="-s"
57 export CFLAGS LDFLAGS
58 %configure
59 make
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
64
65 %{__make} install install-man DESTDIR=$RPM_BUILD_ROOT
66
67 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_sbindir}/tcpdump
75 %{_mandir}/man1/*
This page took 0.039139 seconds and 4 git commands to generate.