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