libnl3-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Name: libnl3
  2. Summary: Convenience library for kernel netlink sockets
  3. Summary(ja): Netlink ソケットの利用に便利なライブラリ
  4. Version: 3.4.0
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2
  8. URL: http://www.infradead.org/~tgr/libnl/
  9. Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}--root
  11. BuildRequires: flex
  12. BuildRequires: bison
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. This package contains a convenience library to simplify
  17. using the Linux kernel's netlink sockets interface for
  18. network manipulation
  19. %package devel
  20. Summary: Libraries and headers for using libnl3
  21. Summary(ja): Libnl3 の開発用ファイル
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: %{name}-cli = %{version}-%{release}
  25. Requires: kernel-headers
  26. %description devel
  27. This package contains various headers for using libnl3
  28. %package cli
  29. Summary: Command line interface utils for libnl3
  30. Summary(ja): Libnl3 のコマンドラインインターフェース
  31. Group: Development/Tools
  32. Requires: %{name} = %{version}-%{release}
  33. %description cli
  34. This package contains various libnl3 utils and additional
  35. libraries on which they depend
  36. %prep
  37. %setup -q -n libnl-%{version}
  38. %build
  39. %configure --bindir=%{_sbindir} --disable-static
  40. make %{?_smp_mflags}
  41. %install
  42. make install DESTDIR=%{buildroot}
  43. rm -f %{buildroot}%{_bindir}/*
  44. find %{buildroot} -name \*.la -delete
  45. %post -p /sbin/ldconfig
  46. %post cli -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %postun cli -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc COPYING
  52. %exclude %{_libdir}/libnl-cli*.so.*
  53. %{_libdir}/libnl-*.so.*
  54. %config(noreplace) %{_sysconfdir}/*
  55. %files devel
  56. %defattr(-,root,root,-)
  57. %doc COPYING
  58. %{_includedir}/libnl3/netlink/
  59. %dir %{_includedir}/libnl3/
  60. %{_libdir}/*.so
  61. %{_libdir}/pkgconfig/*.pc
  62. %files cli
  63. %defattr(-,root,root,-)
  64. %doc COPYING
  65. %{_libdir}/libnl-cli*.so.*
  66. %{_libdir}/libnl/
  67. %{_sbindir}/*
  68. %{_mandir}/man8/*
  69. %changelog
  70. * Sat Mar 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.0-1
  71. - new upstream release.
  72. * Sat Oct 4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.14-2
  73. - moved libnl3 to System Environment/Libraries Group
  74. - updated Japanese summary
  75. * Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.14-1
  76. - new upstream release
  77. * Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1
  78. - initial build for Vine Linux
  79. * Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1
  80. - Update to 3.2.7
  81. * Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1
  82. - Initial build