76 lines
2.2 KiB
RPMSpec
76 lines
2.2 KiB
RPMSpec
Name: netcat
|
|
Epoch: 1
|
|
Version: 0.7.1
|
|
Release: 5mamba
|
|
Summary: Networking utility that manages TCP and UDP connections
|
|
Group: Applications/Networking
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://netcat.sourceforge.net/
|
|
Source: http://downloads.sourceforge.net/sourceforge/netcat/netcat-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires(post):%{__install_info}
|
|
|
|
%description
|
|
Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.
|
|
It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
rm -f doc/drafts/Makefile*
|
|
rm -f %{buildroot}%{_bindir}/nc
|
|
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post
|
|
%install_info %{name}.info
|
|
|
|
%preun
|
|
%uninstall_info %{name}.info
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%{_bindir}/netcat
|
|
%{_infodir}/%{name}.info*
|
|
%{_mandir}/man1/*
|
|
%doc AUTHORS COPYING
|
|
#ChangeLog NEWS README TODO doc/migration doc/drafts
|
|
|
|
%changelog
|
|
* Fri Feb 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-5mamba
|
|
- remove %{_bindir}/nc conflicting with netcat-openbsd
|
|
|
|
* Fri Feb 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-4mamba
|
|
- rebuilt with debug package
|
|
|
|
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 0.7.1-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue Oct 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-2mamba
|
|
- rebuilt
|
|
|
|
* Tue Mar 21 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.7.1-1qilnx
|
|
- moved to the GNU Netcat project
|
|
|
|
* Fri Oct 17 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.10-1qilnx
|
|
- first build
|