libnftnl-vl.spec 3.9 KB

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