libnl3-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Name: libnl3
  2. Summary: Convenience library for kernel netlink sockets
  3. Summary(ja): Netlink ソケットの利用に便利なライブラリ
  4. Version: 3.10.0
  5. Release: 1%{?_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. %define altver %(echo %{version} | sed -e 's/\\./_/g')
  12. Source: https://github.com/thom311/libnl/releases/download/libnl%{altver}/libnl-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}--root
  14. BuildRequires: flex
  15. BuildRequires: bison
  16. %description
  17. This package contains a convenience library to simplify
  18. using the Linux kernel's netlink sockets interface for
  19. network manipulation
  20. %package devel
  21. Summary: Libraries and headers for using libnl3
  22. Summary(ja): Libnl3 の開発用ファイル
  23. Group: programming
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: %{name}-cli = %{version}-%{release}
  26. Requires: kernel-headers
  27. %description devel
  28. This package contains various headers for using libnl3
  29. %package cli
  30. Summary: Command line interface utils for libnl3
  31. Summary(ja): Libnl3 のコマンドラインインターフェース
  32. Group: network,admin-tools
  33. Requires: %{name} = %{version}-%{release}
  34. %description cli
  35. This package contains various libnl3 utils and additional
  36. libraries on which they depend
  37. %debug_package
  38. %prep
  39. %setup -q -n libnl-%{version}
  40. %build
  41. %configure --bindir=%{_sbindir} --disable-static
  42. make %{?_smp_mflags}
  43. %install
  44. make install DESTDIR=%{buildroot}
  45. rm -f %{buildroot}%{_bindir}/*
  46. find %{buildroot} -name \*.la -delete
  47. %files
  48. %defattr(-,root,root,-)
  49. %license COPYING
  50. %exclude %{_libdir}/libnl-cli*.so.*
  51. %{_libdir}/libnl-*.so.*
  52. %config(noreplace) %{_sysconfdir}/*
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %license COPYING
  56. %{_includedir}/libnl3/netlink/
  57. %dir %{_includedir}/libnl3/
  58. %{_libdir}/*.so
  59. %{_libdir}/pkgconfig/*.pc
  60. %files cli
  61. %defattr(-,root,root,-)
  62. %license COPYING
  63. %{_libdir}/libnl-cli*.so.*
  64. %{_libdir}/libnl/
  65. %{_sbindir}/*
  66. %{_mandir}/man8/*
  67. %changelog
  68. * Fri Jul 19 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.10.0-1
  69. - new upstream release.
  70. * Mon Dec 04 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.9.0-1
  71. - new upstream release.
  72. * Fri Sep 01 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.0-1
  73. - new upstream release.
  74. * Fri Dec 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.0-1
  75. - new upstream release.
  76. - dropped ldconfig scriptlets.
  77. * Sun Feb 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.0-2
  78. - rebuilt with current environment.
  79. * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.0-1
  80. - new upstream release.
  81. * Sat Mar 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.0-1
  82. - new upstream release.
  83. * Sat Oct 4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.14-2
  84. - moved libnl3 to System Environment/Libraries Group
  85. - updated Japanese summary
  86. * Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.14-1
  87. - new upstream release
  88. * Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1
  89. - initial build for Vine Linux
  90. * Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1
  91. - Update to 3.2.7
  92. * Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1
  93. - Initial build