diff --git a/ndisc.spec b/ndisc.spec new file mode 100644 index 0000000000000000000000000000000000000000..d1f79adccfc0a02132e39055660cb0f8e7fe7ca4 --- /dev/null +++ b/ndisc.spec @@ -0,0 +1,48 @@ +Name: ndisc6 +Version: 1.0.4 +Release: 1 +Summary: IPv6 diagnostic tools +License: GPLv2 or GPLv3 +URL: http://www.remlab.net/ndisc6 +Source0: http://www.remlab.net/files/ndisc6/%{name}-%{version}.tar.bz2 + +BuildRequires: gcc perl-generators + +%description +NDisc6 is a small collection of useful tools for IPv6 networking. +It includes the follwing programs : + - ndisc6: ICMPv6 Neighbor Discovery tool + - rdisc6: ICMPv6 Router Discovery tool + - tcptraceroute6: lightweight IPv6 tcptraceroute + - traceroute6: IPv6 traceroute + - rdnssd: Recursive DNS Servers discovery Daemon + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%configure --disable-suid-install +%make_build + +%install +%make_install + +%files +%defattr(-,root,root) +%doc AUTHORS README +%license COPYING +%{_sysconfdir}/rdnssd +%{_bindir}/* +%{_sbindir}/* +%{_datadir}/locale/* + +%files help +%defattr(-,root,root) +%doc ChangeLog NEWS +%{_mandir}/man* + +%changelog +* Thu Jan 7 2018 openEuler Buildteam - 1.0.4-1 +- Package init diff --git a/ndisc6-1.0.4.tar.bz2 b/ndisc6-1.0.4.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..c625d0b5290f36e30c33c7405b6f4746eed8634c Binary files /dev/null and b/ndisc6-1.0.4.tar.bz2 differ