57 lines
1.1 KiB
RPMSpec
57 lines
1.1 KiB
RPMSpec
|
|
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<liyongqiang10@huawei.com> - 1.7-3
|
||
|
|
- Package init
|