libnfnetlink-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Name: libnfnetlink
  2. Version: 1.0.0
  3. Release: 5%{?_dist_release}
  4. Summary: Netfilter netlink userspace library
  5. Group: System Environment/Libraries
  6. License: GPLv2+
  7. URL: http://netfilter.org
  8. Source0: http://netfilter.org/projects/libnfnetlink/files/%{name}-%{version}.tar.bz2
  9. Patch0: libnfnetlink-sysheader.patch
  10. Patch1: libnfnetlink-rollup.patch
  11. BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
  12. BuildRequires: kernel-headers
  13. BuildRequires: automake autoconf libtool pkgconfig
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. libnfnetlink is a userspace library that provides some low-level
  18. nfnetlink handling functions. It is used as a foundation for other, netfilter
  19. subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log
  20. and libnfnetlink_queue.
  21. %package devel
  22. Summary: Netfilter netlink userspace library
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: kernel-headers
  26. %description devel
  27. libnfnetlink is a userspace library that provides some low-level
  28. nfnetlink handling functions. It is used as a foundation for other, netfilter
  29. subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log
  30. and libnfnetlink_queue.
  31. %prep
  32. %setup -q
  33. %patch0 -p1
  34. %patch1 -p1
  35. autoreconf -i --force
  36. %build
  37. %configure --disable-static
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf %{buildroot}
  41. make install DESTDIR=%{buildroot}
  42. find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
  43. %clean
  44. rm -rf %{buildroot}
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc README COPYING
  50. %{_libdir}/*.so.*
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_libdir}/*.so
  54. %{_libdir}/pkgconfig/*.pc
  55. %dir %{_includedir}/libnfnetlink
  56. %{_includedir}/libnfnetlink/*.h
  57. %changelog
  58. * Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.0-5
  59. - initial build for Vine Linux
  60. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  62. * Mon Nov 28 2011 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-3
  63. - post-1.0 build fixes
  64. - switch to gplv2+
  65. - use packaged COPYING for license
  66. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  68. * Mon Sep 28 2009 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-1
  69. - upstream release
  70. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.41-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  72. * Fri Mar 6 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.41-1
  73. - upstream release
  74. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.40-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Mon Jan 19 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.40-1
  77. - upstream release
  78. * Tue Jan 13 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.39-4
  79. - rebuild to get provides pkgconfig(libnfnetlink)
  80. * Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.0.39-3
  81. - Fix Patch0:/%%patch mismatch.
  82. * Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.39-2
  83. - fix license tag
  84. * Fri Jul 4 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.39
  85. - grab latest upstream release
  86. * Fri Feb 22 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.33-0.1.svn7211
  87. - grab latest upstream changes and fixes, along with new version number
  88. - do not mess with bundled nfnetlink.h, use <linux/netfilter/nfnetlink.h>
  89. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.30-2
  90. - Autorebuild for GCC 4.3
  91. * Thu Aug 30 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.30-1
  92. - new upstream version
  93. * Sun Mar 25 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.25-2
  94. - grab ownership of some directories
  95. * Fri Feb 9 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.25-1
  96. - upstream version 0.0.25
  97. * Sun Sep 10 2006 Paul P. Komkoff Jr <i@stingr.net>
  98. - rebuilt
  99. * Wed Jul 12 2006 Felipe Kellermann <stdfk@terra.com.br> - 0.0.16-1
  100. - Adds pkgconfig to devel files.
  101. - Version 0.0.16.
  102. * Mon May 8 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.14-3
  103. - Include borrowed gpl.txt as LICENSE in %doc
  104. * Sun Mar 26 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.14-1
  105. - Preparing for submission to fedora extras