valgrind-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Summary: Valgrind Memory Debugger
  2. Summary(ja): Valgrind メモリデバッガ
  3. Name: valgrind
  4. Version: 3.6.0
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. URL: http://www.valgrind.org/
  8. Group: Development/Tools
  9. Source: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
  10. Buildroot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gcc <= 4.5
  12. BuildRequires: glibc-devel <= 2.12
  13. Requires: glibc <= 2.12
  14. ExclusiveArch: %{ix86} x86_64 ppc
  15. ## from fc12
  16. Patch1: valgrind-3.5.0-cachegrind-improvements.patch
  17. Patch2: valgrind-3.5.0-openat.patch
  18. Patch3: valgrind-3.5.0-glibc-2.10.1.patch
  19. Patch4: valgrind-3.5.0-ifunc.patch
  20. Patch5: valgrind-3.5.0-inotify-init1.patch
  21. Patch6: valgrind-3.5.0-mmap-mprotect.patch
  22. Patch7: valgrind-3.5.0-dwarf3.patch
  23. Patch8: valgrind-3.5.0-pr40659.patch
  24. Patch9: valgrind-3.5.0-helgrind-race-supp.patch
  25. Patch10: valgrind-3.5.0-ppc-tests.patch
  26. Patch11: valgrind-3.5.0-amd64-loopnel.patch
  27. Patch12: valgrind-3.5.0-ppc-dwarf3.patch
  28. Patch13: valgrind-3.5.0-amd64-adcsbb.patch
  29. Patch14: valgrind-3.5.0-syscalls.patch
  30. Patch15: valgrind-3.5.0-preadv.patch
  31. Patch16: valgrind-3.5.0-glibc-2.11.patch
  32. %description
  33. Valgrind is a tool to help you find memory-management problems in your
  34. programs. When a program is run under Valgrind's supervision, all
  35. reads and writes of memory are checked, and calls to
  36. malloc/new/free/delete are intercepted. As a result, Valgrind can
  37. detect a lot of problems that are otherwise very hard to
  38. find/diagnose.
  39. %package devel
  40. Summary: Development files for valgrind
  41. Group: Development/Libraries
  42. Requires: valgrind = %{version}-%{release}
  43. %description devel
  44. Header files and libraries for development of valgrind aware programs
  45. or valgrind plugins.
  46. %prep
  47. %setup -q -n %{name}-%{version}
  48. %patch1 -p1
  49. %patch2 -p1
  50. %patch3 -p1
  51. ##%patch4 -p1
  52. ##%patch5 -p1
  53. ##%patch6 -p1
  54. ##%patch7 -p1
  55. ##%patch8 -p1
  56. %patch9 -p1
  57. ##%patch10 -p1
  58. ##%patch11 -p1
  59. ##%patch12 -p1
  60. ##%patch13 -p1
  61. ##%patch14 -p1
  62. ##%patch15 -p1
  63. ##%patch16 -p1 -b .glibc-2.11
  64. autoconf
  65. %build
  66. %configure
  67. make %{?_smp_mflags}
  68. %install
  69. rm -rf $RPM_BUILD_ROOT
  70. make install DESTDIR=$RPM_BUILD_ROOT
  71. rm -rf docs.installed
  72. mkdir docs.installed
  73. mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/* docs.installed/
  74. # remove unuse files
  75. rm $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a
  76. %clean
  77. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  78. %files
  79. %defattr(-,root,root)
  80. %doc AUTHORS COPYING FAQ.txt NEWS README*
  81. %doc docs.installed/html docs.installed/valgrind_manual.{pdf,ps}
  82. %{_bindir}/*
  83. %dir %{_libdir}/%{name}
  84. %{_libdir}/%{name}/*
  85. %{_mandir}/man1/*
  86. %files devel
  87. %defattr(-,root,root)
  88. %{_includedir}/%{name}
  89. %{_libdir}/pkgconfig/%{name}.pc
  90. %changelog
  91. * Thu Nov 11 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.0-1
  92. - updated valgrind to 3.6.0
  93. - updated BR: glibc-devel <= 2.12
  94. - added BR: gcc <= 4.5
  95. - added RQ: glibc <= 2.12
  96. * Tue Oct 05 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.0-1
  97. - updated valgrind to 3.5.0
  98. - added BR: glibc-devel >= 2.11
  99. - split %{name}-devel
  100. - added patches (from fedora core 12)
  101. - valgrind-3.5.0-cachegrind-improvements.patch
  102. - valgrind-3.5.0-openat.patch
  103. - valgrind-3.5.0-glibc-2.10.1.patch
  104. - valgrind-3.5.0-ifunc.patch
  105. - valgrind-3.5.0-inotify-init1.patch
  106. - valgrind-3.5.0-mmap-mprotect.patch
  107. - valgrind-3.5.0-dwarf3.patch
  108. - valgrind-3.5.0-pr40659.patch
  109. - valgrind-3.5.0-helgrind-race-supp.patch
  110. - valgrind-3.5.0-ppc-tests.patch
  111. - valgrind-3.5.0-amd64-loopnel.patch
  112. - valgrind-3.5.0-ppc-dwarf3.patch
  113. - valgrind-3.5.0-amd64-adcsbb.patch
  114. - valgrind-3.5.0-syscalls.patch
  115. - valgrind-3.5.0-preadv.patch
  116. - valgrind-3.5.0-glibc-2.11.patch
  117. * Sun Apr 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.1-1vl5
  118. - new upstream release
  119. - changed Group to Development/Tools
  120. * Sun Aug 24 2008 Shu KONNO <owa@bg.wakwak.com> 3.3.1-1vl5
  121. - packaged new