Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 5326564cb222eb2db742f2d977193e0a > files > 3

nmbscan-1.2.6-1.fc13.src.rpm

Name:           nmbscan
Version:        1.2.6
Release:        1%{?dist}
Summary:        NMB/SMB network scanner

Group:          Applications/Internet
License:        GPLv2
URL:            http://nmbscan.g76r.eu/
Source0:        http://nmbscan.g76r.eu/down/%{name}-%{version}.tar.gz
Source1:        %{name}.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

Requires:       bind-utils
Requires:       iputils
Requires:       net-tools
Requires:       samba-client


%description
Scans a SMB shares network, using NMB and SMB protocols. Useful to acquire
an information on a local area network (security audit, etc.)

Matches the information such as NMB/SMB/Windows host name, IP address,
IP host name, Ethernet MAC address, Windows user name,
NMB/SMB/Windows domain name and master browser.

Can discover all NMB/SMB/Windows hosts on a local area network thanks to 
hosts lists maintained by master browsers.


%prep
%setup -q -c %{name}-%{version}


%build
# Nothing to build


%install
rm -rf %{buildroot}
install -d %{buildroot}%{_bindir}
install -p -m 0755 nmbscan %{buildroot}%{_bindir}/
install -d %{buildroot}%{_mandir}/man1
install -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc Documentation/HOWTO_contribute.txt Documentation/gplv2.txt
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*


%changelog
* Sun Sep 12 2010 Michal Ambroz <rebus AT seznam.cz> - 1.2.6-1
- rebuild for the version 1.2.6

* Wed Aug 04 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.2.5-5
- Fixed the project URL
- Added a man page (thx to Michal Ambroz)
- Cosmetic changes

* Sat Apr 17 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.2.5-4
- Fix the license and Source0

* Fri Mar 19 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.2.5-3
- Add Requires: bind-utils, iputils, net-tools

* Sat Mar 13 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.2.5-2
- Fix the license
- Fix the summary
- Replace generally useful macros by regular commands

* Thu Feb 04 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.2.5-1
- Initial package build