diff --git a/README.md b/README.md index da23d2c..2f0826d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # netcat +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. + diff --git a/netcat.spec b/netcat.spec new file mode 100644 index 0000000..c5a6582 --- /dev/null +++ b/netcat.spec @@ -0,0 +1,66 @@ +Name: netcat +Version: 0.7.1 +Release: 3mamba +Epoch: 1 +Summary: Networking utility that manages TCP and UDP connections +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://netcat.sourceforge.net/ +Source: http://downloads.sourceforge.net/sourceforge/netcat/netcat-%{version}.tar.bz2 +License: GPL +Requires(post):%{__install_info} +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +rm -f doc/drafts/Makefile* + +%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}/nc +%{_bindir}/netcat +%{_infodir}/%{name}.info.gz +%{_mandir}/man1/* +%doc AUTHORS COPYING ChangeLog NEWS README TODO doc/migration doc/drafts + +%changelog +* Tue Aug 27 2013 Automatic Build System 0.7.1-3mamba +- automatic rebuild by autodist + +* Tue Oct 14 2008 Silvan Calarco 0.7.1-2mamba +- rebuilt + +* Tue Mar 21 2006 Stefano Cotta Ramusino 0.7.1-1qilnx +- moved to the GNU Netcat project + +* Fri Oct 17 2003 Davide Madrisan 1.10-1qilnx +- first build