valgrind-vl.spec 3.5 KB

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