]>
Commit | Line | Data |
---|---|---|
d209528b JB |
1 | Summary: tcpslice - extract pieces of and/or merge together pcap files |
2 | Summary(pl.UTF-8): tcpslice - wydobywanie fragmentów i/lub łączenie plików pcap | |
3 | Name: tcpslice | |
505acd99 | 4 | Version: 1.7 |
a31f8c05 | 5 | Release: 1 |
d209528b JB |
6 | License: BSD |
7 | Group: Networking/Utilities | |
505acd99 JB |
8 | Source0: https://www.tcpdump.org/release/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 6a4fdce65c9ea20d1716303f9fb66f71 | |
a31f8c05 | 10 | URL: https://www.tcpdump.org/ |
505acd99 | 11 | BuildRequires: autoconf >= 2.69 |
d209528b JB |
12 | BuildRequires: libnids-devel |
13 | BuildRequires: libosip2-devel | |
14 | BuildRequires: libpcap-devel | |
a31f8c05 | 15 | BuildRequires: ooh323c-devel >= 0.9.3-3 |
505acd99 JB |
16 | BuildRequires: tar >= 1:1.22 |
17 | BuildRequires: xz | |
d209528b JB |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Tcpslice is a program for extracting portions of packet-trace files | |
22 | generated using tcpdump's -w flag. It can also be used to merge | |
23 | together several such files. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Tcpslice to program do wydobywania ragmentów plików śladów pakietów, | |
27 | wygenerowanych przy użyciu flagi -w programu tcpdump. Potrafi także | |
28 | łączyć kilka takich plików. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | %{__autoconf} | |
35 | CPPFLAGS="%{rpmcppflags} -I/usr/include/ooh323c" | |
36 | %configure | |
37 | ||
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
a31f8c05 JB |
51 | %doc CHANGES CREDITS README.md |
52 | %attr(755,root,root) %{_bindir}/tcpslice | |
d209528b | 53 | %{_mandir}/man1/tcpslice.1* |