Name: cryptcat Version: 1.2.1 Release: 1%{?dist} Summary: Standard netcat enhanced with twofish encryption capabilities Group: Applications/Internet License: BSD and GPL+ URL: http://cryptcat.sf.net Source0: http://downloads.sourceforge.net/projects/%{name}/files/cryptcat-unix-1.2/cryptcat-unix-%{version}/cryptcat-unix-%{version}.tar Source1: COPYING %description Description: TCP/IP swiss army knife extended with twofish encryption Cryptcat is a simple Unix utility which reads and writes data across network connections, using TCP or UDP protocol while encrypting the data being transmitted. 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 -n unix cp %SOURCE1 . %build sed 's/STATIC=-static/XLIBS='-lstdc++' XFLAGS='-DLINUX'/g;' Makefile %install make linux install -Dp -m0755 cryptcat %{buildroot}%{_bindir}/cryptcat mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version} cp COPYING %{buildroot}%{_datadir}/doc/%{name}-%{version} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changelog README COPYING %{_bindir}/cryptcat %changelog * Tue Aug 11 2009 Kashyap Chamarthy 1.2.1-1 - initial spec file