Blob Blame History Raw
Summary:        Netcat with IPv6 Support
Name:           nc6
Version:        1.0
Release:        4%{?dist}
Group:          Applications/Internet
URL:            http://www.deepspace6.net/projects/netcat6.html
License:        GPL
Source:         ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
netcat6 is an IPv6-enabled clone of the original netcat utility.

"Netcat is a simple Unix utility which reads and writes data across
network connections.  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.  Netcat,
or "nc" as the actual program is named, should have been supplied long
ago as another one of those cryptic but standard Unix tools."


%prep
%setup -q
%configure --prefix=%{_prefix} --mandir=%{_mandir}

%build
make COPTS="$RPM_OPT_FLAGS" DESTDIR="$RPM_BUILD_ROOT"

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR="$RPM_BUILD_ROOT" install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%doc %{_mandir}/man1/nc6*
%doc README AUTHORS COPYING NEWS TODO

%changelog 
* Mon Sep 11 2006 Radek Vokal <rvokal@redhat.com> 1.0-4
- rebuilt for FC6

* Mon Mar 13 2006 Radek Vokál <rvokal@redhat.com> 1.0-3
- add ?dist and rebuilt in extras

* Wed Mar 8 2006 Radek Vokál <rvokal@redhat.com> 1.0-2
- clean RPM_BUILD_ROOT before install
- group Application/Internet
- fix BuildRoot

* Tue Mar 7 2006 Radek Vokál <rvokal@redhat.com> 1.0-1
- initial build for Fedora Extras