libnl-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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: 3%{?_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. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.1-3
  67. - rebuilt with rpm-4.8.1 for pkg-config
  68. * Wed May 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
  69. - rebuild with new toolchain
  70. * Wed Jul 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  71. - initial build for Vine Linux
  72. * Fri Jun 27 2008 Dan Williams <dcbw@redhat.com> - 1.1-5
  73. - Build documentation in -devel package (rh #452646)
  74. * Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-4
  75. - fix license tag
  76. * Fri Feb 22 2008 Dan Williams <dcbw@redhat.com> - 1.1-3
  77. - Include limits.h to fix gcc 4.3 rebuild issues (rh #434055)
  78. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
  79. - Autorebuild for GCC 4.3
  80. * Wed Jan 23 2008 Dan Williams <dcbw@redhat.com> - 1.1-1
  81. - Update to version 1.1
  82. * Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.15.pre8.git20071218
  83. - Handle removal of include/linux/ip_mp_alg.h in 2.6.24
  84. * Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.14.pre8.git20071217
  85. - devel package should require kernel-headers
  86. * Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.13.pre8.git20071217
  87. - Add dist tag to revision
  88. * Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.12.pre8.git20071217
  89. - Update to -pre8 + fixes (rh #401761)
  90. * Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4
  91. - Fix nl_recv() for ppc64
  92. * Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3
  93. - unbreak the pkgconfig file
  94. * Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2
  95. - Fix the pkgconfig file on 64-bit systems (#197176)
  96. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1
  97. - rebuild
  98. * Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5
  99. - Fix debuginfo generation.
  100. * Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5
  101. - Allow build to succeed with new gcc / glibc-kernheaders
  102. (compile failed on __u64 redefinition on x86_64).
  103. - Add a static %{_libdir}/libnl.a library to libnl-devel for
  104. programs that might need to do a static link to libnl.
  105. Added after consultation with Christopher Aillon.
  106. * Tue Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5
  107. - Rebuild
  108. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1
  109. - rebuilt for new gcc4.1 snapshot and glibc changes
  110. * Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5
  111. - Add patch to not chown files to root.root during make install; it
  112. happens normally.
  113. * Mon Jan 9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5
  114. - Correctly install the pkgconfig file
  115. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  116. - rebuilt
  117. * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5
  118. - Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib
  119. * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5
  120. - Update to 1.0-pre5
  121. * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4
  122. - Update to 1.0-pre4
  123. * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3
  124. - Minor specfile cleanup
  125. * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3
  126. - Split into main and devel packages
  127. * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3
  128. - initial build