commit e30dbd035efc13eea3cd4f6feab0c6fe750000176c55cb47490727abc53e435d Author: Marcus Meissner Date: Sat Feb 8 10:51:18 2014 +0000 Accepting request 221322 from KDE:Unstable:SC network sounds like where it belongs.. this should find its way to Factory, as future releases of NetworkManager rely on it OBS-URL: https://build.opensuse.org/request/show/221322 OBS-URL: https://build.opensuse.org/package/show/network/libndp?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/libndp-1.2.tar.gz b/libndp-1.2.tar.gz new file mode 100644 index 0000000..9b3081d --- /dev/null +++ b/libndp-1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35121f5a5025d14e1ea4a4257a61b3d47a83e4d1d8c49e8906cf3dac4c05c452 +size 26503 diff --git a/libndp.spec b/libndp.spec new file mode 100644 index 0000000..52a9f1c --- /dev/null +++ b/libndp.spec @@ -0,0 +1,83 @@ +# +# spec file for package libndp +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: libndp +Version: 1.2 +Release: 0 +Summary: Library for Neighbor Discovery Protocol +License: LGPL-2.1+ +Group: System Environment/Libraries +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkg-config +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 -n libndp0 +Summary: Libraries and header files for libndp development +Group: Development/Libraries + +%description -n libndp0 +The libndp-devel package contains the header files and libraries +necessary for developing programs using libndp. + +%package devel +Summary: Libraries and header files for libndp development +Group: Development/Libraries +Requires: libndp0 = %{version} + +%description devel +The libndp-devel package contains the header files and libraries +necessary for developing programs using libndp. + +%prep +%setup -q + +%build +./autogen.sh +%configure --disable-static +make %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name \*.la -delete + +%post -n libndp0 -p /sbin/ldconfig + +%postun -n libndp0 -p /sbin/ldconfig + +%files -n libndp0 +%defattr(-,root,root) +%doc COPYING +%{_libdir}/*so.* +%{_bindir}/ndptool +%{_mandir}/man8/ndptool.8* + +%files devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog