Package flow-tools-ng: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | Name: flow-tools-ng Version: 0.68.5 Release: alt4 Summary: Tool set for working with NetFlow data version %version License: BSD Group: Monitoring Url: http://code.google.com/p/flow-tools/ Packager: Vitaly Lipatov <lav@altlinux.ru> Source: %name-%version.tar Patch1: %name-%version-gcc-10-extern.patch Provides: flow-tools Conflicts: flow-tools BuildPreReq: flex zlib-devel %{?_with_mysql: libMySQL-devel} %{?_with_pgsql: postgresql-devel} BuildRequires: checkstyle docbook-utils flex postgresql-devel Requires: lib%name = %version-%release %description This fork was created because original flow-tools upstream disappeared. Flow-tools is library and a collection of programs used to collect, send, process, and generate reports from NetFlow data. The tools can be used together on a single server or distributed to multiple servers for large deployments. The flow-toools library provides an API for development of custom applications for NetFlow export versions 1,5,6 and the 14 currently defined version 8 subversions. Optional : mysql pgsql Enabled :%{?_with_mysql: mysql} %{?_with_pgsql: pgsql} %package -n lib%name Summary: Shared libraries of %name Group: System/Libraries Conflicts: libflow-tools %description -n lib%name Shared libraries of %name. %package -n lib%name-devel Summary: Development headers and libraries for %name Group: Development/C Requires: lib%name = %version-%release Conflicts: libflow-tools-devel %description -n lib%name-devel Development headers and libraries for %name %package utils Summary: %name utilities Group: Monitoring Requires: %name = %version-%release BuildArch: noarch Conflicts: flow-tools-utils %description utils This package contains scripts to provide ASCII, HTML, RRD output %prep %setup %patch1 -p1 # fix broken env path find -type f | xargs subst "s|#!/bin/env|#/!/usr/bin/env|g" %build %autoreconf %configure --sysconfdir=%_sysconfdir/%name/ \ --disable-static \ %{?_with_mysql:--with-mysql} \ %{?_with_pgsql:--with-pgsql} %make_build %install %makeinstall_std install -pm644 configs/filter-acl %buildroot/%_sysconfdir/%name/ install -pm644 configs/flow.acl %buildroot/%_sysconfdir/%name/ rm -f %buildroot%_libdir/*.la %files %doc AUTHORS README SECURITY TODO contrib docs/*.html %dir %_sysconfdir/%name/ %dir %_sysconfdir/%name/cfg/ %dir %_sysconfdir/%name/sym/ %config(noreplace) %_sysconfdir/%name/cfg/* %config(noreplace) %_sysconfdir/%name/sym/* %config(noreplace) %_sysconfdir/%name/filter-acl %config(noreplace) %_sysconfdir/%name/flow.acl %_datadir/flow-tools/ %_bindir/* %exclude %_bindir/flow-rpt2rrd %exclude %_bindir/flow-log2rrd %exclude %_bindir/flow-rptfmt %_man1dir/* %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %files utils %_bindir/flow-rpt2rrd %_bindir/flow-log2rrd %_bindir/flow-rptfmt %changelog * Fri Mar 26 2021 Slava Aseev <ptrnine@altlinux.org> 0.68.5-alt4 - fix build with gcc-10 * Thu Mar 21 2019 Anton Farygin <rider@altlinux.ru> 0.68.5-alt3 - rebuild without w3c-markup-validator-libs * Tue Sep 18 2018 Vitaly Lipatov <lav@altlinux.ru> 0.68.5-alt2 - rebuild without libwrap-devel * Thu Jul 10 2014 Igor Vlasenko <viy@altlinux.ru> 0.68.5-alt1.1 - NMU: corrected java dependencies * Tue Jul 02 2013 Vitaly Lipatov <lav@altlinux.ru> 0.68.5-alt1 - initial build flow-tools fork for ALT Linux Sisyphus (ALT bug #16128) |