mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 00:16:11 +00:00
52 lines
1.2 KiB
RPMSpec
52 lines
1.2 KiB
RPMSpec
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 <jseward@acm.org>
|
|
Source: @PACKAGE@-@VERSION@.tar.bz2
|
|
|
|
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}
|