libnftnl-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. #global snapdate 20140903
  2. Name: libnftnl
  3. Version: 1.2.6
  4. Release: 1%{?_dist_release}
  5. Summary: Library for low-level interaction with nftables Netlink's API over libmnl
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPLv2+
  10. URL: http://netfilter.org/projects/libnftnl/
  11. Source0: http://ftp.netfilter.org/pub/libnftnl/libnftnl-%{version}.tar.xz
  12. BuildRequires: libmnl-devel
  13. BuildRequires: mxml-devel
  14. BuildRequires: jansson-devel
  15. # replace old libnftables package
  16. Provides: libnftables = %{version}-%{release}
  17. Obsoletes: libnftables < 0-0.6
  18. %description
  19. A library for low-level interaction with nftables Netlink's API over libmnl.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Summary(ja): %{name} の開発用ファイル
  23. Group: programming
  24. Requires: %{name}%{_isa} = %{version}-%{release}
  25. # replace old libnftables-devel package
  26. Provides: libnftables-devel = %{version}-%{release}
  27. Obsoletes: libnftables-devel < 0-0.6
  28. %description devel
  29. The %{name}-devel package contains libraries and header files for
  30. developing applications that use %{name}.
  31. %debug_package
  32. %prep
  33. #setup -q -n libnftnl-%{snapdate}
  34. %setup -q
  35. %build
  36. %configure --disable-static --disable-silent-rules --with-json-parsing --with-xml-parsing
  37. make %{?_smp_mflags}
  38. %install
  39. %make_install
  40. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  41. %check
  42. make %{?_smp_mflags} check
  43. # tests are broken in 1.0.1 re-enable on next update
  44. #cd tests
  45. #sh ./test-script.sh
  46. %files
  47. %license COPYING
  48. %{_libdir}/*.so.*
  49. %files devel
  50. %{_libdir}/libnft*.so
  51. %{_libdir}/pkgconfig/libnftnl.pc
  52. %{_includedir}/libnftnl
  53. %changelog
  54. * Fri Oct 20 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.6-1
  55. - new upstream release.
  56. * Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.9-1
  57. - new upstream release.
  58. - dropped scriptlets.
  59. * Sun Apr 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.6-1
  60. - new upstream release.
  61. * Mon Sep 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.4-1
  62. - new upstream release.
  63. * Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.9-1
  64. - new upstream release.
  65. * Mon Aug 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.3-3
  66. - added Group tag
  67. * Tue Jul 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.3-2
  68. - initial build for Vine Linux.
  69. * Fri Dec 26 2014 Kevin Fenzi <kevin@scrye.com> 1.0.3-1
  70. - Update to final 1.0.3
  71. * Wed Sep 03 2014 Kevin Fenzi <kevin@scrye.com> 1.0.3-0.1.20140903git
  72. - Update to 20140903 git snapshot
  73. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  75. * Wed Jun 25 2014 Kevin Fenzi <kevin@scrye.com> 1.0.2-1
  76. - Update to 1.0.2
  77. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  79. * Thu Apr 24 2014 Kevin Fenzi <kevin@scrye.com> 1.0.1-1.
  80. - Update to 1.0.1
  81. * Sun Mar 30 2014 Kevin Fenzi <kevin@scrye.com> 1.0.0-1.20140330git
  82. - Update to 20140330 snapshot
  83. - Sync version to be a post 1.0.0 snapshot
  84. * Wed Mar 26 2014 Kevin Fenzi <kevin@scrye.com> 0-0.10.20140326git
  85. - Update to 20140326 snapshot
  86. * Fri Mar 07 2014 Kevin Fenzi <kevin@scrye.com> 0-0.9.20140307git
  87. - Update to 20140307 snapshot
  88. * Sat Jan 25 2014 Kevin Fenzi <kevin@scrye.com> 0-0.8.20140125git
  89. - Update to 20140125
  90. * Thu Jan 23 2014 Kevin Fenzi <kevin@scrye.com> 0-0.7.20140122git
  91. - Add obsoletes/provides to devel subpackage as well.
  92. * Wed Jan 22 2014 Kevin Fenzi <kevin@scrye.com> 0-0.6.20140122git
  93. - Renamed libnftnl
  94. - Update to 20140122 snapshot.
  95. * Sat Jan 18 2014 Kevin Fenzi <kevin@scrye.com> 0-0.5.20140118git
  96. - Update to 20140118 snapshot.
  97. * Sat Jan 11 2014 Kevin Fenzi <kevin@scrye.com> 0-0.4.20140111git
  98. - Update to 20140111 snapshot.
  99. - Enable xml (some tests stll fail, but it otherwise builds ok)
  100. * Mon Dec 02 2013 Kevin Fenzi <kevin@scrye.com> 0-0.3.20131202git
  101. - Update to 20131202 snapshot, switch to upstream snapshot repo instead of git checkouts.
  102. * Mon Dec 02 2013 Kevin Fenzi <kevin@scrye.com> 0-0.2
  103. - Fixes from review.
  104. * Sat Nov 30 2013 Kevin Fenzi <kevin@scrye.com> 0-0.1
  105. - initial version for Fedora review