libndp-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Summary: Library for neighbor discovery protocol
  2. Name: libndp
  3. Version: 1.7
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2.1
  9. URL: http://libndp.org/
  10. Source0: https://github.com/jpirko/libndp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. %description
  13. This package contains a library which provides a wrapper for IPv6
  14. Neighbor Discovery Protocol. It also provides a tool named ndptool
  15. for sending and receiving NDP messages
  16. %package devel
  17. Summary: Development tools for %{name}
  18. Summary(ja): %{name} の開発環境
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: pkgconfig
  22. %description devel
  23. Header files and libraries for building a extension library for the
  24. %{name}.
  25. %prep
  26. %setup -q
  27. %build
  28. ./autogen.sh
  29. %configure \
  30. --disable-static
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make install DESTDIR=$RPM_BUILD_ROOT
  35. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %post -p /sbin/ldconfig
  39. %postun -p /sbin/ldconfig
  40. %files
  41. %defattr(-,root,root,-)
  42. %license COPYING
  43. %doc README
  44. %{_bindir}/ndptool
  45. %{_libdir}/libndp.so.*
  46. %{_mandir}/man8/ndptool.8.gz
  47. %files devel
  48. %defattr(-, root, root)
  49. %{_includedir}/ndp.h
  50. %{_libdir}/libndp.so
  51. %{_libdir}/pkgconfig/libndp.pc
  52. %changelog
  53. * Wed Apr 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7-1
  54. - new upstream release.
  55. * Wed Jun 15 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6-1
  56. - new upstream release.
  57. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5-1
  58. - new upstream release
  59. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-1
  60. - initial build