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