File nc6.spec of Package nc6

#
# spec file for package nc6 (Version 1.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           nc6
Url:            http://www.fsf.org/licenses/gpl.html
License:        GPL v2 or later
Group:          Productivity/Networking/Other
AutoReqProv:    on
Summary:        Netcat with IPv6 Support
Version:        1.0
Release:        1
Source:         nc6-1.0.tar.bz2
Patch0:         xstrdup_buffer_overflow.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

From the netcat README:

"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."



Authors:
--------
    Mauro Tortonesi <mauro@deepspace6.net>
    Chris Leishman <chris@leishman.org>
    Simone Piunno <simone@deepspace6.net>
    Filippo Natali <pitonat@libero.it>

%prep
%setup -q
%patch0 

%build
%configure 
make 

%install
make DESTDIR=$RPM_BUILD_ROOT install
#%find_lang %{name}

%clean
rm -fr $RPM_BUILD_ROOT
#%files -f %{name}.lang

%files 
%defattr(-,root,root)
/usr/bin/nc6
%doc %_mandir/*/*
%doc README
%doc AUTHORS
%doc COPYING
%doc NEWS
%doc TODO

%changelog
* Wed May 28 2008 pkirsch@suse.de
- fixed buffer overflow in function xstrdup, exiting with SIGABRT
  (bnc#379200)
* Tue May 27 2008 pkirsch@suse.de
- update to netcat6 version 1.0
- version 1.0 has several bug fixes, new is the --rev-transfer
  (reverse transfer) option, Bluez (Bluetooth protocol
  stack) support also code cleanup
* Mon Feb 25 2008 crrodriguez@suse.de
- use find_lang macro
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jul 01 2005 tarnold@suse.de
- new package
- clone of netcat with full support of IPv6
openSUSE Build Service is sponsored by