d23b7bd
Summary:        Netcat with IPv6 Support
d23b7bd
Name:           nc6
d23b7bd
Version:        1.0
0c51656
Release:        9%{?dist}
d23b7bd
Group:          Applications/Internet
d23b7bd
URL:            http://www.deepspace6.net/projects/netcat6.html
3c530d8
License:        GPLv2+
d23b7bd
Source:         ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/%{name}-%{version}.tar.bz2
d23b7bd
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
d23b7bd
d23b7bd
%description
d23b7bd
netcat6 is an IPv6-enabled clone of the original netcat utility.
d23b7bd
d23b7bd
"Netcat is a simple Unix utility which reads and writes data across
d23b7bd
network connections.  It is designed to be a reliable "back-end" tool
d23b7bd
that can be used directly or easily driven by other programs and
d23b7bd
scripts.  At the same time, it is a feature-rich network debugging and
d23b7bd
exploration tool, since it can create almost any kind of connection you
d23b7bd
would need and has several interesting built-in capabilities.  Netcat,
d23b7bd
or "nc" as the actual program is named, should have been supplied long
d23b7bd
ago as another one of those cryptic but standard Unix tools."
d23b7bd
d23b7bd
d23b7bd
%prep
d23b7bd
%setup -q
d23b7bd
d23b7bd
%build
3c530d8
%configure --prefix=%{_prefix} --mandir=%{_mandir} CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
d23b7bd
make COPTS="$RPM_OPT_FLAGS" DESTDIR="$RPM_BUILD_ROOT"
d23b7bd
d23b7bd
%install
d23b7bd
rm -rf $RPM_BUILD_ROOT
d23b7bd
make DESTDIR="$RPM_BUILD_ROOT" install
d23b7bd
d23b7bd
%clean
d23b7bd
rm -rf $RPM_BUILD_ROOT
d23b7bd
d23b7bd
%files
d23b7bd
%defattr(-,root,root)
d23b7bd
%{_bindir}/%{name}
d23b7bd
%doc %{_mandir}/man1/nc6*
d23b7bd
%doc README AUTHORS COPYING NEWS TODO
d23b7bd
9ee8b34
%changelog
0c51656
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
0c51656
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0c51656
9ee8b34
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8
9ee8b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9ee8b34
3c530d8
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-7
3c530d8
- fix license tag
3c530d8
57453f5
* Tue Feb 12 2008 Jan Safranek <jsafrane@redhat.com> 1.0-6
57453f5
- fix compilation with gcc 4.3
57453f5
49fea97
* Thu Aug 23 2007 Radek Vokál <rvokal@redhat.com> 1.0-5
49fea97
- rebuilt
49fea97
5e90afc
* Mon Sep 11 2006 Radek Vokal <rvokal@redhat.com> 1.0-4
5e90afc
- rebuilt for FC6
5e90afc
1e7f167
* Mon Mar 13 2006 Radek Vokál <rvokal@redhat.com> 1.0-3
1e7f167
- add ?dist and rebuilt in extras
1e7f167
d23b7bd
* Wed Mar 8 2006 Radek Vokál <rvokal@redhat.com> 1.0-2
d23b7bd
- clean RPM_BUILD_ROOT before install
d23b7bd
- group Application/Internet
d23b7bd
- fix BuildRoot
d23b7bd
d23b7bd
* Tue Mar 7 2006 Radek Vokál <rvokal@redhat.com> 1.0-1
3c530d8
- initial build for Fedora Extras