libnftnl-vl.spec 4.1 KB

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