Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > ea828b69d77dea5a826ee040024ee0a6 > files > 2

nc6-1.0-4mdv2010.0.src.rpm

%define name 	nc6
%define version 1.0
%define release %mkrel 4

Summary: 	Reads and writes data across network connections using TCP or UDP
Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
URL:		http://deepspace6.net/projects/netcat6.html
Source0:	ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/%{name}-%{version}.tar.bz2
License: 	GPL
Group: 		Networking/Other
BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
BuildRequires:	autoconf2.5
Provides:	netcat6 = %{version}

%description
The nc6 package contains Netcat (the program is now netcat), a simple
utility for reading and writing data across network connections, using
the TCP or UDP protocols. Netcat is intended to be a reliable back-end
tool which can be used directly or easily driven by other programs and
scripts.  Netcat is also a feature-rich network debugging and exploration
tool, since it can create many different connections and has many
built-in capabilities.

This version is a fork with ipv6 capabilities.

%prep
%setup -q
%build
%configure2_5x
%make

%install
%{__rm} -rf $RPM_BUILD_ROOT
%makeinstall

(cd $RPM_BUILD_ROOT%{_bindir}; ln -s %{name} netcat6)

%find_lang  %{name}

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc README NEWS TODO CREDITS ChangeLog BUGS AUTHORS 
%{_bindir}/%{name}
%{_bindir}/netcat6
%{_mandir}/man1/%{name}*



%changelog
* Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.0-4mdv2010.0
+ Revision: 430158
- rebuild

* Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0-3mdv2009.0
+ Revision: 253652
- rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.0-1mdv2008.1
+ Revision: 130511
- kill re-definition of %%buildroot on Pixel's request


* Mon Jan 23 2006 Pascal Terjan <pterjan@mandriva.org> 1.0-1mdk
- 1.0

* Wed Aug 03 2005 Michael Scherer <misc@mandriva.org> 0.5-1mdk
- first version, based on nc spec