]>
Commit | Line | Data |
---|---|---|
5603c0af AM |
1 | Summary: collecting and processing NetFlow data |
2 | Name: flow-tools | |
3 | Version: 0.66 | |
4 | Release: 1 | |
5 | License: BSD | |
6 | Group: Applications/Networking | |
7 | Source0: ftp://ftp.eng.oar.net/pub/flow-tools/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: a32f02be71b29f0d4fe65c0d196d0093 | |
9 | URL: http://www.splintered.net/sw/flow-tools/ | |
10 | BuildRequires: flex | |
11 | BuildRequires: bison | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %define _localstatedir %{_sysconfdir}/%{name} | |
15 | ||
16 | %description | |
17 | A software package for collecting and processing NetFlow data from Cisco and Juniper routers. | |
18 | ||
19 | %package devel | |
20 | Summary: Header files and develpment documentation for flow-tools | |
21 | Group: Development/Libraries | |
b5611425 | 22 | #Requires: %{name} = %{version} |
5603c0af AM |
23 | |
24 | %description devel | |
25 | Header files and develpment documentation for flow-tools. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %configure \ | |
32 | # --with-mysql | |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__make} install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc AUTHORS ChangeLog INSTALL NEWS README SECURITY TODO | |
48 | %attr(755,root,root) %{_bindir}/* | |
49 | %{_mandir}/man?/* | |
50 | %{_sysconfdir} | |
51 | ||
52 | %files devel | |
53 | %defattr(644,root,root,755) | |
54 | %{_includedir}/*.h | |
55 | %{_libdir}/*.a |