diff --git a/README.md b/README.md index 4e46ebe..a104d2a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # rinetd +TCP/UDP port redirector. + diff --git a/rinetd.spec b/rinetd.spec new file mode 100644 index 0000000..97eeaa1 --- /dev/null +++ b/rinetd.spec @@ -0,0 +1,46 @@ +Name: rinetd +Version: 0.73 +Release: 1mamba +Summary: TCP/UDP port redirector +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/samhocevar/rinetd +Source: https://github.com/samhocevar/rinetd.git/v%{version}/rinetd-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END + +%description +TCP/UDP port redirector. + +%debug_package + +%prep +%setup -q +sh ./bootstrap + +%build +%configure + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/rinetd.conf +%{_sbindir}/rinetd +%{_mandir}/man8/rinetd.8* +%doc COPYING + +%changelog +* Mon Dec 18 2023 Silvan Calarco 0.73-1mamba +- package created using the webbuild interface