1 Summary: Collecting and processing NetFlow data
2 Summary(pl.UTF-8): Gromadzenie i przetwarzanie informacji o przepływie w sieci
7 Group: Applications/Networking
8 Source0: ftp://ftp.eng.oar.net/pub/flow-tools/%{name}-%{version}.tar.gz
9 # Source0-md5: c9e0a8b53c79611b6bffcb9d510a5a38
10 Patch0: %{name}-shared.patch
11 URL: http://www.splintered.net/sw/flow-tools/
12 BuildRequires: autoconf
13 BuildRequires: automake
15 BuildRequires: sed >= 4.0
17 BuildRequires: libtool
18 BuildRequires: libwrap-devel >= 7.6-32
19 BuildRequires: zlib-devel
20 Requires: %{name}-libs = %{version}-%{release}
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _localstatedir %{_sysconfdir}/%{name}
26 This is a software package for collecting and processing NetFlow data
27 from Cisco and Juniper routers.
29 %description -l pl.UTF-8
30 Jest to oprogramowanie służące do gromadzenia i przetwarzania
31 informacji o przepływie w sieci (NetFlow) z routerów Cisco i Juniper.
34 Summary: flow-tools library
35 Summary(pl.UTF-8): Biblioteka flow-tools
37 Conflicts: flow-tools < 0.67-2
42 %description libs -l pl.UTF-8
43 Biblioteka flow-tools.
46 Summary: Header files flow-tools library
47 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki flow-tools
48 Group: Development/Libraries
49 Requires: %{name}-libs = %{version}-%{release}
53 This package contains header files for flow-tools library.
55 %description devel -l pl.UTF-8
56 Ten pakiet zawiera pliki nagłówkowe biblioteki flow-tools.
59 Summary: Static flow-tools library
60 Summary(pl.UTF-8): Statyczna biblioteka flow-tools
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static flow-tools library.
67 %description static -l pl.UTF-8
68 Statyczna biblioteka flow-tools.
74 %{__sed} -i -e '1s,#.*bin/python,#!%{__python},' bin/flow-log2rrd bin/flow-rpt2rrd bin/flow-rptfmt
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
93 rm -rf $RPM_BUILD_ROOT
95 %post libs -p /sbin/ldconfig
96 %postun libs -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 %doc AUTHORS ChangeLog INSTALL NEWS README SECURITY TODO
101 %attr(755,root,root) %{_bindir}/*
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libft.so.*.*.*
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/libft.so
116 %defattr(644,root,root,755)