Summary: Filter IPv4 and IPv6 addresses matching CIDR patterns Name: grepcidr Version: 3.0.3 Release: 1%{?dist} License: GPL-2.0-or-later URL: https://github.com/jrlevine/grepcidr3 Source0: %{name}3-%{version}.tar.gz BuildRequires: make BuildRequires: gcc # this version is actually a fork Conflicts: grepcidr < 3 %description The grepcidr utility can be used to filter a list of IP addresses against one or more Classless Inter-Domain Routing (CIDR) specifications. As with grep, there are options to invert matching and load patterns from a file. It is capable of efficiently processing large numbers of IPs and networks. %prep %setup -q -n %{name}3-%{version} %build %make_build CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS" %install mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1 %make_install INSTALLDIR_BIN=%{_bindir} INSTALLDIR_MAN=%{_mandir}/man1 %files %license COPYING %doc ChangeLog README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Thu Aug 06 2026 Michael Lampe - 3.0.3-1 - Switch to grepcidr3 * Thu Oct 14 2021 Robert Scheck 2.0-1 - Upgrade to 2.0 (#2013866) - Initial spec file for Fedora and Red Hat Enterprise Linux