libnl-vl.spec 5.0 KB

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