Name: nbtscan
Version: 1.5.1
Release: 5%{?dist}
Summary: Tool to gather NetBIOS info from Windows networks
Group: Applications/Internet
License: GPLv2+
URL: http://www.inetcat.net/software/nbtscan.html
Source0: http://www.inetcat.net/software/%{name}-%{version}.tar.gz
#add $DESTDIR to make install
Patch0: nbtscan-1.5.1-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
NBTscan is a program for scanning IP networks for NetBIOS name information.
It sends a NetBIOS status query to each address in supplied range and lists
received information in human readable form.
%prep
%setup -qn %{name}-%{version}a
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README
%{_bindir}/*
%changelog
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.1-3
- fix license tag
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.1-2
- Autorebuild for GCC 4.3
* Sat May 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.5.1-1
- Initial build