libnl-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. Name: libnl
  2. Summary: Convenience library for kernel netlink sockets
  3. Summary(ja): Netlink ソケットの利用に便利なライブラリ
  4. Version: 1.1.4
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2
  8. URL: http://people.suug.ch/~tgr/libnl/
  9. Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}.tar.gz
  10. Patch1: libnl-1.0-pre5-static.patch
  11. Patch2: libnl-1.0-pre5-debuginfo.patch
  12. Patch3: libnl-1.0-pre8-use-vasprintf-retval.patch
  13. Patch4: libnl-1.0-pre8-more-build-output.patch
  14. Patch5: libnl-1.1-include-limits-h.patch
  15. Patch6: libnl-1.1-doc-inlinesrc.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. BuildRequires: doxygen
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: daisuke
  21. %description
  22. This package contains a convenience library to simplify
  23. using the Linux kernel's netlink sockets interface for
  24. network manipulation
  25. %package devel
  26. Summary: Libraries and headers for using libnl
  27. Summary(ja): Libnl の開発用ファイル
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: kernel-headers
  31. %description devel
  32. This package contains various headers for using libnl
  33. %prep
  34. %setup -q -n %{name}-%{version}
  35. %patch4 -p1 -b .more-build-output
  36. %patch5 -p1 -b .limits
  37. %patch6 -p1 -b .doc-inlinesrc
  38. # a quick hack to make doxygen stripping builddir from html outputs.
  39. sed -i.org -e "s,^STRIP_FROM_PATH.*,STRIP_FROM_PATH = `pwd`," doc/Doxyfile.in
  40. %build
  41. %configure
  42. make
  43. make gendoc
  44. %install
  45. %{__rm} -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT
  47. %clean
  48. %{__rm} -rf $RPM_BUILD_ROOT
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root)
  53. %doc COPYING README
  54. %{_libdir}/%{name}.so.*
  55. %files devel
  56. %defattr(-,root,root,0755)
  57. %doc doc/html
  58. %{_includedir}/netlink/
  59. %{_libdir}/%{name}.so
  60. %{_libdir}/%{name}.a
  61. %{_libdir}/pkgconfig/%{name}-1.pc
  62. %changelog
  63. * Fri Oct 3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1.4-1
  64. - updated to 1.1.4
  65. - dropt Patch1, 2 and 3
  66. - moved libnl to System Environment/Libraries Group
  67. - updated Japanese summary
  68. * Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-4
  69. - rebuild with VineSeed environment
  70. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.1-3
  71. - rebuilt with rpm-4.8.1 for pkg-config
  72. * Wed May 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
  73. - rebuild with new toolchain
  74. * Wed Jul 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  75. - initial build for Vine Linux
  76. * Fri Jun 27 2008 Dan Williams <dcbw@redhat.com> - 1.1-5
  77. - Build documentation in -devel package (rh #452646)
  78. * Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-4
  79. - fix license tag
  80. * Fri Feb 22 2008 Dan Williams <dcbw@redhat.com> - 1.1-3
  81. - Include limits.h to fix gcc 4.3 rebuild issues (rh #434055)
  82. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
  83. - Autorebuild for GCC 4.3
  84. * Wed Jan 23 2008 Dan Williams <dcbw@redhat.com> - 1.1-1
  85. - Update to version 1.1
  86. * Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.15.pre8.git20071218
  87. - Handle removal of include/linux/ip_mp_alg.h in 2.6.24
  88. * Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.14.pre8.git20071217
  89. - devel package should require kernel-headers
  90. * Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.13.pre8.git20071217
  91. - Add dist tag to revision
  92. * Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.12.pre8.git20071217
  93. - Update to -pre8 + fixes (rh #401761)
  94. * Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4
  95. - Fix nl_recv() for ppc64
  96. * Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3
  97. - unbreak the pkgconfig file
  98. * Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2
  99. - Fix the pkgconfig file on 64-bit systems (#197176)
  100. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1
  101. - rebuild
  102. * Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5
  103. - Fix debuginfo generation.
  104. * Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5
  105. - Allow build to succeed with new gcc / glibc-kernheaders
  106. (compile failed on __u64 redefinition on x86_64).
  107. - Add a static %{_libdir}/libnl.a library to libnl-devel for
  108. programs that might need to do a static link to libnl.
  109. Added after consultation with Christopher Aillon.
  110. * Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5
  111. - Rebuild
  112. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1
  113. - rebuilt for new gcc4.1 snapshot and glibc changes
  114. * Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5
  115. - Add patch to not chown files to root.root during make install; it
  116. happens normally.
  117. * Mon Jan 9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5
  118. - Correctly install the pkgconfig file
  119. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  120. - rebuilt
  121. * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5
  122. - Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib
  123. * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5
  124. - Update to 1.0-pre5
  125. * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4
  126. - Update to 1.0-pre4
  127. * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3
  128. - Minor specfile cleanup
  129. * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3
  130. - Split into main and devel packages
  131. * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3
  132. - initial build