libnl-vl.spec 5.2 KB

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