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