]> git.pld-linux.org Git - packages/flow-tools.git/blame - flow-tools.spec
- upgraded to 0.68.5
[packages/flow-tools.git] / flow-tools.spec
CommitLineData
83792d38 1Summary: Collecting and processing NetFlow data
c8111e2e 2Summary(pl.UTF-8): Gromadzenie i przetwarzanie informacji o przepływie w sieci
5603c0af 3Name: flow-tools
9a541c21
TP
4Version: 0.68.5
5Release: 1
5603c0af
AM
6License: BSD
7Group: Applications/Networking
9a541c21
TP
8Source0: http://flow-tools.googlecode.com/files/%{name}-%{version}.tar.bz2
9# Source0-md5: 3c5e75da2822ab6b4947c928c09ea365
10URL: http://code.google.com/p/flow-tools/
360c31ed
JB
11BuildRequires: autoconf
12BuildRequires: automake
5603c0af 13BuildRequires: bison
83792d38 14BuildRequires: flex
360c31ed
JB
15BuildRequires: libtool
16BuildRequires: libwrap-devel >= 7.6-32
9a541c21
TP
17BuildRequires: mysql-devel
18BuildRequires: openssl-devel
9a76901d 19BuildRequires: rpm-pythonprov
1e90c614 20BuildRequires: sed >= 4.0
360c31ed
JB
21BuildRequires: zlib-devel
22Requires: %{name}-libs = %{version}-%{release}
5603c0af
AM
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
5603c0af 25%description
83792d38 26This is a software package for collecting and processing NetFlow data
27from Cisco and Juniper routers.
28
caea4c0f
JR
29%description -l pl.UTF-8
30Jest to oprogramowanie służące do gromadzenia i przetwarzania
31informacji o przepływie w sieci (NetFlow) z routerów Cisco i Juniper.
5603c0af 32
360c31ed
JB
33%package libs
34Summary: flow-tools library
c8111e2e 35Summary(pl.UTF-8): Biblioteka flow-tools
360c31ed
JB
36Group: Libraries
37Conflicts: flow-tools < 0.67-2
38
39%description libs
40flow-tools library.
41
caea4c0f 42%description libs -l pl.UTF-8
360c31ed
JB
43Biblioteka flow-tools.
44
5603c0af 45%package devel
360c31ed 46Summary: Header files flow-tools library
c8111e2e 47Summary(pl.UTF-8): Pliki nagłówkowe biblioteki flow-tools
83792d38 48Group: Development/Libraries
360c31ed
JB
49Requires: %{name}-libs = %{version}-%{release}
50Requires: zlib-devel
5603c0af
AM
51
52%description devel
360c31ed 53This package contains header files for flow-tools library.
83792d38 54
caea4c0f
JR
55%description devel -l pl.UTF-8
56Ten pakiet zawiera pliki nagłówkowe biblioteki flow-tools.
360c31ed
JB
57
58%package static
59Summary: Static flow-tools library
c8111e2e 60Summary(pl.UTF-8): Statyczna biblioteka flow-tools
360c31ed
JB
61Group: Development/Libraries
62Requires: %{name}-devel = %{version}-%{release}
63
64%description static
65Static flow-tools library.
66
caea4c0f 67%description static -l pl.UTF-8
360c31ed 68Statyczna biblioteka flow-tools.
5603c0af
AM
69
70%prep
71%setup -q
72
68f039d1
ER
73%{__sed} -i -e '1s,#.*bin/python,#!%{__python},' bin/flow-log2rrd bin/flow-rpt2rrd bin/flow-rptfmt
74
5603c0af 75%build
360c31ed
JB
76%{__libtoolize}
77%{__aclocal}
78%{__autoconf}
79%{__autoheader}
80%{__automake}
9a541c21
TP
81%configure \
82 --sysconfdir=%{_sysconfdir}/%{name} \
83 --with-mysql \
84 --with-openssl
5603c0af
AM
85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
89
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
5603c0af
AM
93%clean
94rm -rf $RPM_BUILD_ROOT
95
360c31ed
JB
96%post libs -p /sbin/ldconfig
97%postun libs -p /sbin/ldconfig
98
5603c0af
AM
99%files
100%defattr(644,root,root,755)
9a541c21 101%doc AUTHORS ChangeLog ChangeLog.old INSTALL README README.fork SECURITY TODO
1e90c614 102%attr(755,root,root) %{_bindir}/flow-*
9a541c21 103%attr(755,root,root) %{_datadir}/%{name}
1e90c614 104%{_mandir}/man1/flow-*.1*
360c31ed
JB
105
106%files libs
107%defattr(644,root,root,755)
9a541c21 108%{_sysconfdir}/%{name}
360c31ed 109%attr(755,root,root) %{_libdir}/libft.so.*.*.*
1e90c614 110%attr(755,root,root) %ghost %{_libdir}/libft.so.0
5603c0af
AM
111
112%files devel
113%defattr(644,root,root,755)
360c31ed
JB
114%attr(755,root,root) %{_libdir}/libft.so
115%{_libdir}/libft.la
5603c0af 116%{_includedir}/*.h
360c31ed
JB
117
118%files static
119%defattr(644,root,root,755)
120%{_libdir}/libft.a
This page took 0.082714 seconds and 4 git commands to generate.