]> git.pld-linux.org Git - packages/tcpflow.git/blame - tcpflow.spec
- release 4 (by relup.sh)
[packages/tcpflow.git] / tcpflow.spec
CommitLineData
c07aba34
ER
1#
2# Conditional build:
cd72c1b8 3%bcond_with cairo # disable Cairo even if present
c07aba34 4
b294eeae 5Summary: TCP Flow Recorder
6714a67a 6Summary(pl.UTF-8): Program zapisujący ruch TCP
b294eeae 7Name: tcpflow
6322654e 8Version: 1.4.5
3ce1eb5e 9Release: 4
f9dba171 10License: GPL v3
b294eeae 11Group: Applications/Networking
e6a757c3
AM
12Source0: http://www.digitalcorpora.org/downloads/tcpflow/%{name}-%{version}.tar.gz
13# Source0-md5: 5978b112a899f2099e98cef6d9a0ece9
c9a107b8 14Patch0: 0001-using-the-debian-package-of-libhttp-parser-instead-o.patch
94288742
AM
15Patch1: 0001-tcpflow-b-0-now-works.patch
16Patch2: packing-struct-tcphdr-to-improve-portability.patch
c07aba34 17URL: https://github.com/simsong/tcpflow
fd15480d
JB
18BuildRequires: autoconf
19BuildRequires: automake
f9dba171 20BuildRequires: boost-devel
c9a107b8 21BuildRequires: bzip2-devel
cd72c1b8 22%{?with_cairo:BuildRequires: cairo-devel}
e6a757c3 23#BuildRequires: exiv2-devel
c9a107b8
TP
24BuildRequires: expat-devel
25BuildRequires: fontconfig-devel
26BuildRequires: freetype-devel
27BuildRequires: http-parser-devel
c9a107b8 28BuildRequires: libmd-devel
b294eeae 29BuildRequires: libpcap-devel
c9a107b8
TP
30#BuildRequires: libregex-devel
31#BuildRequires: lightgrep-devel
f9dba171 32BuildRequires: openssl-devel
c9a107b8 33BuildRequires: pixman-devel
f9dba171
TP
34BuildRequires: sqlite3-devel
35BuildRequires: tre-devel
36BuildRequires: zlib-devel
b294eeae 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
d7c7408b 40Tcpflow is program that captures data transmitted as part of TCP
c07aba34
ER
41connections, and and stores the data in a way that is convenient for
42protocol analysis or debugging. Tcpflow stores all captured data in
43two files per connection.
b294eeae 44
e659e363
JR
45%description -l pl.UTF-8
46Tcpflow jest programem, który przechwytuje dane przesyłane w ramach
47połączeń TCP i zapisuje je w sposób wygodny do analizy lub śledzenia
48protokołu - tworząc dwa pliki z danymi na każde przechwycone
49połączenie.
b294eeae 50
51%prep
52%setup -q
c9a107b8 53%patch0 -p1
94288742
AM
54%patch1 -p1
55%patch2 -p1
b294eeae 56
57%build
f9dba171 58%{__aclocal} -I m4
b294eeae 59%{__autoconf}
60%{__autoheader}
61%{__automake}
c07aba34 62%configure \
94288742 63 CPPFLAGS="%{rpmcppflags} -std=c++11" \
c07aba34 64 %{!?with_cairo:--enable-cairo=false}
b294eeae 65%{__make}
66
67%install
68rm -rf $RPM_BUILD_ROOT
fd15480d 69
b294eeae 70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
f9dba171 78%doc AUTHORS ChangeLog NEWS README TODO.txt
c07aba34
ER
79%attr(755,root,root) %{_bindir}/tcpflow
80%{_mandir}/man1/tcpflow.1*
This page took 0.096162 seconds and 4 git commands to generate.