forked from svn2github/valgrind-trunk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
valgrind.spec.in
51 lines (41 loc) · 1.19 KB
/
valgrind.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Summary: Valgrind Memory Debugger
Name: @PACKAGE@
Version: @VERSION@
Release: 1
Epoch: 1
License: GPL
URL: http://www.valgrind.org/
Group: Development/Debuggers
Packager: Julian Seward <[email protected]>
Source: @PACKAGE@-@[email protected]
Buildroot: %{_tmppath}/%{name}-root
%description
Valgrind is an award-winning instrumentation framework for building dynamic
analysis tools. There are Valgrind tools that can automatically detect many
memory management and threading bugs, and profile your programs in detail. You
can also use Valgrind to build new tools. Valgrind runs on the following
platforms: x86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux, x86/MacOSX,
AMD64/MacOSX.
%prep
%setup -n @PACKAGE@-@VERSION@
%build
%configure
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%makeinstall
mkdir docs.installed
mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
%files
%defattr(-,root,root)
%doc AUTHORS COPYING FAQ.txt NEWS NEWS.old README*
%doc docs.installed/html/*.html docs.installed/html/images/*.png
%{_bindir}/*
%{_includedir}/valgrind
%{_libdir}/valgrind
%{_libdir}/pkgconfig/*
%doc
%defattr(-,root,root)
%{_mandir}/*/*
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}