]> git.pld-linux.org Git - packages/flow-tools.git/blame - flow-tools.spec
- tabs in preamble
[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
ee0cb528 4Version: 0.68
68f039d1 5Release: 3
5603c0af
AM
6License: BSD
7Group: Applications/Networking
8Source0: ftp://ftp.eng.oar.net/pub/flow-tools/%{name}-%{version}.tar.gz
ee0cb528 9# Source0-md5: c9e0a8b53c79611b6bffcb9d510a5a38
360c31ed 10Patch0: %{name}-shared.patch
5603c0af 11URL: http://www.splintered.net/sw/flow-tools/
360c31ed
JB
12BuildRequires: autoconf
13BuildRequires: automake
5603c0af 14BuildRequires: bison
68f039d1 15BuildRequires: sed >= 4.0
83792d38 16BuildRequires: flex
360c31ed
JB
17BuildRequires: libtool
18BuildRequires: libwrap-devel >= 7.6-32
19BuildRequires: zlib-devel
20Requires: %{name}-libs = %{version}-%{release}
5603c0af
AM
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%define _localstatedir %{_sysconfdir}/%{name}
24
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
360c31ed 72%patch0 -p1
5603c0af 73
68f039d1
ER
74%{__sed} -i -e '1s,#.*bin/python,#!%{__python},' bin/flow-log2rrd bin/flow-rpt2rrd bin/flow-rptfmt
75
5603c0af 76%build
360c31ed
JB
77%{__libtoolize}
78%{__aclocal}
79%{__autoconf}
80%{__autoheader}
81%{__automake}
82%configure
5603c0af
AM
83# --with-mysql
84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
88
89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
91
5603c0af
AM
92%clean
93rm -rf $RPM_BUILD_ROOT
94
360c31ed
JB
95%post libs -p /sbin/ldconfig
96%postun libs -p /sbin/ldconfig
97
5603c0af
AM
98%files
99%defattr(644,root,root,755)
100%doc AUTHORS ChangeLog INSTALL NEWS README SECURITY TODO
101%attr(755,root,root) %{_bindir}/*
360c31ed
JB
102%{_mandir}/man1/*
103
104%files libs
105%defattr(644,root,root,755)
106%attr(755,root,root) %{_libdir}/libft.so.*.*.*
7a424cb1 107%{_localstatedir}
5603c0af
AM
108
109%files devel
110%defattr(644,root,root,755)
360c31ed
JB
111%attr(755,root,root) %{_libdir}/libft.so
112%{_libdir}/libft.la
5603c0af 113%{_includedir}/*.h
360c31ed
JB
114
115%files static
116%defattr(644,root,root,755)
117%{_libdir}/libft.a
This page took 0.039275 seconds and 4 git commands to generate.