libnftnl-vl.spec 3.7 KB

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