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