2014-02-08 11:51:18 +01:00
|
|
|
#
|
|
|
|
# spec file for package libndp
|
|
|
|
#
|
2022-01-16 16:31:56 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2014-02-08 11:51:18 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-24 16:24:05 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-02-08 11:51:18 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libndp
|
2022-01-16 16:31:56 +01:00
|
|
|
Version: 1.8
|
2014-02-08 11:51:18 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Library for Neighbor Discovery Protocol
|
2018-03-05 09:53:46 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2014-07-09 17:19:45 +02:00
|
|
|
Group: Productivity/Networking/Other
|
2022-01-16 16:31:56 +01:00
|
|
|
URL: http://libndp.org/
|
|
|
|
Source: http://libndp.org/files/libndp-%{version}.tar.gz
|
2016-05-22 19:59:57 +02:00
|
|
|
BuildRequires: pkgconfig
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%description
|
2016-05-22 19:59:57 +02:00
|
|
|
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.
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%package -n libndp0
|
|
|
|
Summary: Libraries and header files for libndp development
|
2014-07-09 17:19:45 +02:00
|
|
|
Group: System/Libraries
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%description -n libndp0
|
2016-05-22 19:59:57 +02:00
|
|
|
This package contains a library which provides a wrapper for IPv6 Neighbor
|
|
|
|
Discovery Protocol.
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and header files for libndp development
|
2016-05-22 19:59:57 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-02-08 11:51:18 +01:00
|
|
|
Requires: libndp0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
2016-05-22 19:59:57 +02:00
|
|
|
The libndp-devel package contains the header files necessary for developing
|
|
|
|
programs using libndp.
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2016-05-22 19:59:57 +02:00
|
|
|
%configure \
|
|
|
|
--disable-static
|
2022-01-16 16:31:56 +01:00
|
|
|
%make_build
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%install
|
2016-05-22 19:59:57 +02:00
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%post -n libndp0 -p /sbin/ldconfig
|
|
|
|
%postun -n libndp0 -p /sbin/ldconfig
|
|
|
|
|
2014-07-09 17:19:45 +02:00
|
|
|
%files
|
2018-03-05 09:53:46 +01:00
|
|
|
%license COPYING
|
2014-07-09 17:19:45 +02:00
|
|
|
%{_bindir}/ndptool
|
|
|
|
%{_mandir}/man8/ndptool.8%{?ext_man}
|
|
|
|
|
2014-02-08 11:51:18 +01:00
|
|
|
%files -n libndp0
|
2018-03-05 09:53:46 +01:00
|
|
|
%license COPYING
|
2014-07-09 17:19:45 +02:00
|
|
|
%{_libdir}/libndp.so.*
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%files devel
|
2018-03-05 09:53:46 +01:00
|
|
|
%license COPYING
|
2014-07-09 17:19:45 +02:00
|
|
|
%{_includedir}/ndp.h
|
|
|
|
%{_libdir}/libndp.so
|
|
|
|
%{_libdir}/pkgconfig/libndp.pc
|
2014-02-08 11:51:18 +01:00
|
|
|
|
|
|
|
%changelog
|