Package init
This commit is contained in:
commit
e28dc3922d
BIN
libndp-1.7.tar.gz
Normal file
BIN
libndp-1.7.tar.gz
Normal file
Binary file not shown.
56
libndp.spec
Normal file
56
libndp.spec
Normal file
@ -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<liyongqiang10@huawei.com> - 1.7-3
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user