| 3259 | rexy | 1 |   | 
        
           |  |  | 2 | Name:		nfdump
 | 
        
           |  |  | 3 | Version:	1.7.5
 | 
        
           |  |  | 4 | Release:	2%{?dist}
 | 
        
           |  |  | 5 | Summary:	NetFlow collecting and processing tools
 | 
        
           |  |  | 6 |   | 
        
           |  |  | 7 | License:	BSD-3-Clause AND GPL-2.0-or-later
 | 
        
           |  |  | 8 | URL:		https://github.com/phaag/nfdump
 | 
        
           |  |  | 9 | Source0:	https://github.com/phaag/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 | 
        
           |  |  | 10 |   | 
        
           |  |  | 11 | BuildRequires:	autoconf
 | 
        
           |  |  | 12 | BuildRequires:	automake
 | 
        
           |  |  | 13 | BuildRequires:	byacc
 | 
        
           |  |  | 14 | BuildRequires:	bzip2-devel
 | 
        
           |  |  | 15 | BuildRequires:	doxygen
 | 
        
           |  |  | 16 | BuildRequires:	flex
 | 
        
           |  |  | 17 | BuildRequires:	gcc
 | 
        
           |  |  | 18 | BuildRequires:	libfl-static
 | 
        
           |  |  | 19 | BuildRequires:	libpcap-devel
 | 
        
           |  |  | 20 | BuildRequires:	libtool
 | 
        
           |  |  | 21 | BuildRequires:	make
 | 
        
           |  |  | 22 | BuildRequires:	rrdtool-devel >= 1.9.0
 | 
        
           |  |  | 23 | BuildRequires:	sed
 | 
        
           |  |  | 24 | BuildRequires:	libzstd-devel
 | 
        
           |  |  | 25 |   | 
        
           |  |  | 26 | Requires:	nfdump-libs = %{version}-%{release}
 | 
        
           |  |  | 27 |   | 
        
           |  |  | 28 |   | 
        
           |  |  | 29 | %description
 | 
        
           |  |  | 30 | Nfdump is a set of tools to collect and process NetFlow data. It's fast and has
 | 
        
           |  |  | 31 | a powerful filter pcap like syntax. It supports NetFlow versions v1, v5, v7, v9
 | 
        
           |  |  | 32 | and IPFIX as well as a limited set of sflow. It includes support for CISCO ASA
 | 
        
           |  |  | 33 | (NSEL) and CISCO NAT (NEL) devices which export event logging records as v9
 | 
        
           |  |  | 34 | flows. Nfdump is fully IPv6 compatible.
 | 
        
           |  |  | 35 |   | 
        
           |  |  | 36 | %package libs
 | 
        
           |  |  | 37 | Summary:	Libraries used by NFDUMP packages
 | 
        
           |  |  | 38 |   | 
        
           |  |  | 39 | %description libs
 | 
        
           |  |  | 40 | Contains libraries used by NFDUMP utilities
 | 
        
           |  |  | 41 |   | 
        
           |  |  | 42 |   | 
        
           |  |  | 43 | %prep
 | 
        
           |  |  | 44 | %autosetup
 | 
        
           |  |  | 45 |   | 
        
           |  |  | 46 | %build
 | 
        
           |  |  | 47 | # prepare build script
 | 
        
           |  |  | 48 | ./bootstrap
 | 
        
           |  |  | 49 |   | 
        
           |  |  | 50 | %configure \
 | 
        
           |  |  | 51 |     --enable-nsel \
 | 
        
           |  |  | 52 |     --enable-nfprofile \
 | 
        
           |  |  | 53 |     --enable-nftrack \
 | 
        
           |  |  | 54 |     --enable-sflow \
 | 
        
           |  |  | 55 |     --enable-readpcap \
 | 
        
           |  |  | 56 |     --enable-nfpcapd \
 | 
        
           |  |  | 57 |     --enable-shared \
 | 
        
           |  |  | 58 |     --disable-static
 | 
        
           |  |  | 59 |   | 
        
           |  |  | 60 | # removing rpath
 | 
        
           |  |  | 61 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 | 
        
           |  |  | 62 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 | 
        
           |  |  | 63 |   | 
        
           |  |  | 64 | %make_build
 | 
        
           |  |  | 65 |   | 
        
           |  |  | 66 | %install
 | 
        
           |  |  | 67 | %make_install
 | 
        
           |  |  | 68 | chmod 0644 AUTHORS ChangeLog README.md
 | 
        
           |  |  | 69 | rm -rf %{buildroot}/%{_sysconfdir}
 | 
        
           |  |  | 70 | rm -f %{buildroot}%{_libdir}/*.la
 | 
        
           |  |  | 71 |   | 
        
           |  |  | 72 |   | 
        
           |  |  | 73 | %ldconfig_scriptlets libs
 | 
        
           |  |  | 74 |   | 
        
           |  |  | 75 |   | 
        
           |  |  | 76 | %files
 | 
        
           |  |  | 77 | %license LICENSE
 | 
        
           |  |  | 78 | %doc AUTHORS ChangeLog README.md
 | 
        
           |  |  | 79 | %{_bindir}/*
 | 
        
           |  |  | 80 | %{_mandir}/man1/*.1*
 | 
        
           |  |  | 81 |   | 
        
           |  |  | 82 | %files libs
 | 
        
           |  |  | 83 | %{_libdir}/libnfdump*.so
 | 
        
           |  |  | 84 | %{_libdir}/libnffile*.so
 | 
        
           |  |  | 85 |   | 
        
           |  |  | 86 |   | 
        
           |  |  | 87 | %changelog
 | 
        
           |  |  | 88 | * Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-2
 | 
        
           |  |  | 89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 | 
        
           |  |  | 90 |   | 
        
           |  |  | 91 | * Thu Oct 24 2024 Denis Fateyev <denis@fateyev.com> - 1.7.5-1
 | 
        
           |  |  | 92 | - Update to version 1.7.5
 | 
        
           |  |  | 93 |   | 
        
           |  |  | 94 | * Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 1.7.3-5
 | 
        
           |  |  | 95 | - convert license to SPDX
 | 
        
           |  |  | 96 |   | 
        
           |  |  | 97 | * Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-4
 | 
        
           |  |  | 98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
 | 
        
           |  |  | 99 |   | 
        
           |  |  | 100 | * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-3
 | 
        
           |  |  | 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
 | 
        
           |  |  | 102 |   | 
        
           |  |  | 103 | * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-2
 | 
        
           |  |  | 104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
 | 
        
           |  |  | 105 |   | 
        
           |  |  | 106 | * Fri Sep 08 2023 Denis Fateyev <denis@fateyev.com> - 1.7.3-1
 | 
        
           |  |  | 107 | - Update to version 1.7.3
 | 
        
           |  |  | 108 |   | 
        
           |  |  | 109 | * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-2
 | 
        
           |  |  | 110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
 | 
        
           |  |  | 111 |   | 
        
           |  |  | 112 | * Thu May 04 2023 Denis Fateyev <denis@fateyev.com> - 1.7.2-1
 | 
        
           |  |  | 113 | - Update to version 1.7.2
 | 
        
           |  |  | 114 |   | 
        
           |  |  | 115 | * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
 | 
        
           |  |  | 116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
 | 
        
           |  |  | 117 |   | 
        
           |  |  | 118 | * Thu Dec 29 2022 Denis Fateyev <denis@fateyev.com> - 1.7.1-1
 | 
        
           |  |  | 119 | - Update to version 1.7.1
 | 
        
           |  |  | 120 |   | 
        
           |  |  | 121 | * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.24-2
 | 
        
           |  |  | 122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
 | 
        
           |  |  | 123 |   | 
        
           |  |  | 124 | * Tue Mar 29 2022 Denis Fateyev <denis@fateyev.com> - 1.6.24-1
 | 
        
           |  |  | 125 | - Update to version 1.6.24
 | 
        
           |  |  | 126 |   | 
        
           |  |  | 127 | * Thu Feb 10 2022 Denis Fateyev <denis@fateyev.com> - 1.6.23-4
 | 
        
           |  |  | 128 | - Fix package build options
 | 
        
           |  |  | 129 |   | 
        
           |  |  | 130 | * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.23-3
 | 
        
           |  |  | 131 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
 | 
        
           |  |  | 132 |   | 
        
           |  |  | 133 | * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.23-2
 | 
        
           |  |  | 134 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
 | 
        
           |  |  | 135 |   | 
        
           |  |  | 136 | * Tue Jun 22 2021 Denis Fateyev <denis@fateyev.com> - 1.6.23-1
 | 
        
           |  |  | 137 | - Update to version 1.6.23
 | 
        
           |  |  | 138 |   | 
        
           |  |  | 139 | * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.22-2
 | 
        
           |  |  | 140 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
 | 
        
           |  |  | 141 |   | 
        
           |  |  | 142 | * Fri Nov 27 2020 Denis Fateyev <denis@fateyev.com> - 1.6.22-1
 | 
        
           |  |  | 143 | - Update to version 1.6.22
 | 
        
           |  |  | 144 |   | 
        
           |  |  | 145 | * Tue Aug 11 2020 Denis Fateyev <denis@fateyev.com> - 1.6.21-1
 | 
        
           |  |  | 146 | - Update to version 1.6.21
 | 
        
           |  |  | 147 |   | 
        
           |  |  | 148 | * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.20-2
 | 
        
           |  |  | 149 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
 | 
        
           |  |  | 150 |   | 
        
           |  |  | 151 | * Fri Apr 10 2020 Denis Fateyev <denis@fateyev.com> - 1.6.20-1
 | 
        
           |  |  | 152 | - Update to version 1.6.20
 | 
        
           |  |  | 153 |   | 
        
           |  |  | 154 | * Fri Feb 28 2020 Denis Fateyev <denis@fateyev.com> - 1.6.19-1
 | 
        
           |  |  | 155 | - Update to version 1.6.19
 | 
        
           |  |  | 156 |   | 
        
           |  |  | 157 | * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.18-2
 | 
        
           |  |  | 158 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
 | 
        
           |  |  | 159 |   | 
        
           |  |  | 160 | * Wed Aug 14 2019 Denis Fateyev <denis@fateyev.com> - 1.6.18-1
 | 
        
           |  |  | 161 | - Update to version 1.6.18
 | 
        
           |  |  | 162 |   | 
        
           |  |  | 163 | * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.17-4
 | 
        
           |  |  | 164 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
 | 
        
           |  |  | 165 |   | 
        
           |  |  | 166 | * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.17-3
 | 
        
           |  |  | 167 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
 | 
        
           |  |  | 168 |   | 
        
           |  |  | 169 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.17-2
 | 
        
           |  |  | 170 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
 | 
        
           |  |  | 171 |   | 
        
           |  |  | 172 | * Sat Apr 28 2018 Denis Fateyev <denis@fateyev.com> - 1.6.17-1
 | 
        
           |  |  | 173 | - Update to version 1.6.17
 | 
        
           |  |  | 174 |   | 
        
           |  |  | 175 | * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.15-6
 | 
        
           |  |  | 176 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
 | 
        
           |  |  | 177 |   | 
        
           |  |  | 178 | * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.15-5
 | 
        
           |  |  | 179 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
 | 
        
           |  |  | 180 |   | 
        
           |  |  | 181 | * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.15-4
 | 
        
           |  |  | 182 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
 | 
        
           |  |  | 183 |   | 
        
           |  |  | 184 | * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.15-3
 | 
        
           |  |  | 185 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 | 
        
           |  |  | 186 |   | 
        
           |  |  | 187 | * Wed Jun 29 2016 Denis Fateyev <denis@fateyev.com> - 1.6.15-2
 | 
        
           |  |  | 188 | - Remove extra debug output option
 | 
        
           |  |  | 189 |   | 
        
           |  |  | 190 | * Sat Jun 11 2016 Denis Fateyev <denis@fateyev.com> - 1.6.15-1
 | 
        
           |  |  | 191 | - Update to version 1.6.15
 | 
        
           |  |  | 192 |   | 
        
           |  |  | 193 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.13-3
 | 
        
           |  |  | 194 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 | 
        
           |  |  | 195 |   | 
        
           |  |  | 196 | * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.13-2
 | 
        
           |  |  | 197 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 | 
        
           |  |  | 198 |   | 
        
           |  |  | 199 | * Sun Apr 26 2015 Denis Fateyev <denis@fateyev.com> - 1.6.13-1
 | 
        
           |  |  | 200 | - Update to version 1.6.13
 | 
        
           |  |  | 201 |   | 
        
           |  |  | 202 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.12-3
 | 
        
           |  |  | 203 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 | 
        
           |  |  | 204 |   | 
        
           |  |  | 205 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.12-2
 | 
        
           |  |  | 206 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 | 
        
           |  |  | 207 |   | 
        
           |  |  | 208 | * Sat May 03 2014 Denis Fateyev <denis@fateyev.com> - 1.6.12-1
 | 
        
           |  |  | 209 | - Update to version 1.6.12
 | 
        
           |  |  | 210 |   | 
        
           |  |  | 211 | * Wed Feb 05 2014 Denis Fateyev <denis@fateyev.com> - 1.6.11-1
 | 
        
           |  |  | 212 | - Initial Fedora RPM release
 |