Name: uredir
Version: 3.3
Release: 3%{?dist}
Summary: UDP port redirector
License: ISC
URL: https://github.com/troglobit/uredir
Source0: https://github.com/troglobit/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext
BuildRequires: libuev-devel
BuildRequires: make
%description
uredir is a small Linux daemon to redirect UDP connections.
It can be used to forward connections on small and embedded
systems that do not have (or want to use) iptables or nftables.
%prep
%autosetup
%build
./autogen.sh
%configure
%make_build
%check
make check
%install
%make_install
# remove docs from buildroot
rm -rf %{buildroot}%{_docdir}/%{name}
%files
%license LICENSE
%doc README.md AUTHORS design.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Mon Oct 04 2021 Alessio <alessio@fedoraproject.org> - 3.3-3
- Rebuilt for libuev so version change
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Apr 07 2021 Alessio <alessio@fedoraproject.org> - 3.3-1
- Initial RPM version