1 | Summary: Valgrind Memory Debugger |
---|
2 | Summary(ja): Valgrind メモリデバッガ |
---|
3 | Name: valgrind |
---|
4 | Version: 3.4.1 |
---|
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 | |
---|
12 | %description |
---|
13 | Valgrind is an award-winning suite of tools for debugging and profiling |
---|
14 | Linux programs. With the tools that come with Valgrind, you can |
---|
15 | automatically detect many memory management and threading bugs, avoiding |
---|
16 | hours of frustrating bug-hunting, making your programs more stable. You can |
---|
17 | also perform detailed profiling, to speed up and reduce memory use of your |
---|
18 | programs. |
---|
19 | |
---|
20 | The Valgrind distribution currently includes five tools: two memory error |
---|
21 | detectors, a thread error detector, a cache profiler and a heap profiler. |
---|
22 | |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q -n %{name}-%{version} |
---|
26 | |
---|
27 | %build |
---|
28 | %configure |
---|
29 | make %{?_smp_mflags} |
---|
30 | |
---|
31 | |
---|
32 | %install |
---|
33 | rm -rf $RPM_BUILD_ROOT |
---|
34 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
35 | %makeinstall |
---|
36 | |
---|
37 | rm -rf docs.installed |
---|
38 | mkdir docs.installed |
---|
39 | mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/ |
---|
40 | |
---|
41 | |
---|
42 | %clean |
---|
43 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
---|
44 | |
---|
45 | |
---|
46 | %files |
---|
47 | %defattr(-,root,root) |
---|
48 | %doc ACKNOWLEDGEMENTS AUTHORS COPYING FAQ.txt INSTALL NEWS README* |
---|
49 | %doc docs.installed/html docs.installed/valgrind_manual.{pdf,ps} |
---|
50 | %{_bindir}/* |
---|
51 | %{_includedir}/valgrind |
---|
52 | %{_libdir}/valgrind |
---|
53 | %{_libdir}/pkgconfig/* |
---|
54 | |
---|
55 | %doc |
---|
56 | %defattr(-,root,root) |
---|
57 | %{_mandir}/*/* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Sun Apr 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.1-1vl5 |
---|
61 | - new upstream release |
---|
62 | - changed Group to Development/Tools |
---|
63 | |
---|
64 | * Sun Aug 24 2008 Shu KONNO <owa@bg.wakwak.com> 3.3.1-1vl5 |
---|
65 | - packaged new |
---|
66 | |
---|