libnftnl-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. #global snapdate 20140903
  2. Name: libnftnl
  3. Version: 1.1.9
  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.bz2
  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 Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.9-1
  55. - new upstream release.
  56. - dropped scriptlets.
  57. * Sun Apr 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.6-1
  58. - new upstream release.
  59. * Mon Sep 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.4-1
  60. - new upstream release.
  61. * Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.9-1
  62. - new upstream release.
  63. * Mon Aug 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.3-3
  64. - added Group tag
  65. * Tue Jul 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.3-2
  66. - initial build for Vine Linux.
  67. * Fri Dec 26 2014 Kevin Fenzi <kevin@scrye.com> 1.0.3-1
  68. - Update to final 1.0.3
  69. * Wed Sep 03 2014 Kevin Fenzi <kevin@scrye.com> 1.0.3-0.1.20140903git
  70. - Update to 20140903 git snapshot
  71. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  73. * Wed Jun 25 2014 Kevin Fenzi <kevin@scrye.com> 1.0.2-1
  74. - Update to 1.0.2
  75. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  77. * Thu Apr 24 2014 Kevin Fenzi <kevin@scrye.com> 1.0.1-1.
  78. - Update to 1.0.1
  79. * Sun Mar 30 2014 Kevin Fenzi <kevin@scrye.com> 1.0.0-1.20140330git
  80. - Update to 20140330 snapshot
  81. - Sync version to be a post 1.0.0 snapshot
  82. * Wed Mar 26 2014 Kevin Fenzi <kevin@scrye.com> 0-0.10.20140326git
  83. - Update to 20140326 snapshot
  84. * Fri Mar 07 2014 Kevin Fenzi <kevin@scrye.com> 0-0.9.20140307git
  85. - Update to 20140307 snapshot
  86. * Sat Jan 25 2014 Kevin Fenzi <kevin@scrye.com> 0-0.8.20140125git
  87. - Update to 20140125
  88. * Thu Jan 23 2014 Kevin Fenzi <kevin@scrye.com> 0-0.7.20140122git
  89. - Add obsoletes/provides to devel subpackage as well.
  90. * Wed Jan 22 2014 Kevin Fenzi <kevin@scrye.com> 0-0.6.20140122git
  91. - Renamed libnftnl
  92. - Update to 20140122 snapshot.
  93. * Sat Jan 18 2014 Kevin Fenzi <kevin@scrye.com> 0-0.5.20140118git
  94. - Update to 20140118 snapshot.
  95. * Sat Jan 11 2014 Kevin Fenzi <kevin@scrye.com> 0-0.4.20140111git
  96. - Update to 20140111 snapshot.
  97. - Enable xml (some tests stll fail, but it otherwise builds ok)
  98. * Mon Dec 02 2013 Kevin Fenzi <kevin@scrye.com> 0-0.3.20131202git
  99. - Update to 20131202 snapshot, switch to upstream snapshot repo instead of git checkouts.
  100. * Mon Dec 02 2013 Kevin Fenzi <kevin@scrye.com> 0-0.2
  101. - Fixes from review.
  102. * Sat Nov 30 2013 Kevin Fenzi <kevin@scrye.com> 0-0.1
  103. - initial version for Fedora review