libnl3-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: libnl3
  2. Summary: Convenience library for kernel netlink sockets
  3. Summary(ja): Netlink ソケットの利用に便利なライブラリ
  4. Version: 3.5.0
  5. Release: 2%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPLv2
  10. URL: http://www.infradead.org/~tgr/libnl/
  11. Source: https://github.com/thom311/libnl/releases/download/libnl3_5_0/libnl-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}--root
  13. BuildRequires: flex
  14. BuildRequires: bison
  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: programming
  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: network,admin-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. %debug_package
  37. %prep
  38. %setup -q -n libnl-%{version}
  39. %build
  40. %configure --bindir=%{_sbindir} --disable-static
  41. make %{?_smp_mflags}
  42. %install
  43. make install DESTDIR=%{buildroot}
  44. rm -f %{buildroot}%{_bindir}/*
  45. find %{buildroot} -name \*.la -delete
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %post cli -p /sbin/ldconfig
  49. %postun cli -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root,-)
  52. %license COPYING
  53. %exclude %{_libdir}/libnl-cli*.so.*
  54. %{_libdir}/libnl-*.so.*
  55. %config(noreplace) %{_sysconfdir}/*
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %license COPYING
  59. %{_includedir}/libnl3/netlink/
  60. %dir %{_includedir}/libnl3/
  61. %{_libdir}/*.so
  62. %{_libdir}/pkgconfig/*.pc
  63. %files cli
  64. %defattr(-,root,root,-)
  65. %license COPYING
  66. %{_libdir}/libnl-cli*.so.*
  67. %{_libdir}/libnl/
  68. %{_sbindir}/*
  69. %{_mandir}/man8/*
  70. %changelog
  71. * Sun Feb 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.0-2
  72. - rebuilt with current environment.
  73. * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.0-1
  74. - new upstream release.
  75. * Sat Mar 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.0-1
  76. - new upstream release.
  77. * Sat Oct 4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.14-2
  78. - moved libnl3 to System Environment/Libraries Group
  79. - updated Japanese summary
  80. * Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.14-1
  81. - new upstream release
  82. * Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1
  83. - initial build for Vine Linux
  84. * Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1
  85. - Update to 3.2.7
  86. * Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1
  87. - Initial build