commit e28dc3922d70c5f229fa4479bc6fd1061866be8d Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:57:08 2019 -0400 Package init diff --git a/libndp-1.7.tar.gz b/libndp-1.7.tar.gz new file mode 100644 index 0000000..0bdf031 Binary files /dev/null and b/libndp-1.7.tar.gz differ diff --git a/libndp.spec b/libndp.spec new file mode 100644 index 0000000..834ab03 --- /dev/null +++ b/libndp.spec @@ -0,0 +1,56 @@ +Name: libndp +Version: 1.7 +Release: 3 +Summary: Library for Neighbor Discovery Protocol +License: LGPLv2+ +URL: http://www.libndp.org/ +Source: http://www.libndp.org/files/libndp-%{version}.tar.gz + +%description +This package contains a library which provides a wrapper +for IPv6 Neighbor Discovery Protocol. It also provides a tool +named ndptool for sending and receiving NDP messages. + +%package devel +Summary: Libraries and header files for libndp development +Requires: libndp = %{version}-%{release} + +%description devel +This package contains files and libraries for libndp. + +%package help +Summary: Document files for libndp + +%description help +Document files for libndp. + +%prep +%autosetup -p1 + +%build +%configure +%make_build + +%install +%make_install +%delete_la_and_a + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%doc COPYING +%{_libdir}/*so.* +%{_bindir}/ndptool + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%files help +%{_mandir}/man8/ndptool.8* + +%changelog +* Mon Sep 16 2019 liyongqiang - 1.7-3 +- Package init