valgrind/valgrind.spec

268 lines
8.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package valgrind (Version 3.3.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: valgrind
BuildRequires: gcc-c++ glibc-devel-32bit xorg-x11-devel
%ifarch x86_64 ppc64
%if %suse_version > 1010
BuildRequires: gcc-32bit
%endif
%if %suse_version < 1010
BuildRequires: gcc-32bit glibc-32bit
%endif
%endif
Url: http://valgrind.org/
License: GPL v2 only
Group: Development/Tools/Debuggers
Summary: Valgrind Suite of Tools for Debugging and Profiling
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 3.3.0
Release: 6
Source0: %{name}-%{version}.tar.bz2
# svn di svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_2_1 svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_2_BRANCH > 3_2_BRANCH.diff
# svn di svn://svn.valgrind.org/vex/tags/VEX_3_2_1 svn://svn.valgrind.org/vex/branches/VEX_3_2_BRANCH > VEX_3_2_BRANCH.diff
Patch8: jit-runtime-support.diff
Patch9: deprecated.diff
Provides: callgrind = %version
Obsoletes: callgrind < %version
ExclusiveArch: %ix86 x86_64 ppc ppc64
%description
Valgrind checks all memory operations in an application, like read,
write, malloc, new, free, and delete. Valgrind can find uses of
uninitialized memory, access to already freed memory, overflows,
illegal heap operations, memory leaks, and any illegal
new/malloc/free/delete commands. Another program in the package is
"cachegrind," a profiler based on the valgrind engine. It is plugin
based and many different tools are available.
To use valgrind you should launch the application like normal with
debuginfo packages installed, for example:
_memcheck --leak-check_
More valgrind options can be listed via "valgrind --help". There is
also complete documentation in the /usr/share/doc/packages/valgrind/
directory. A debugged application runs slower and needs much more
memory, but is usually still usable.
Authors:
--------
Julian Seward <jseward@acm.org>
Cerion Armour-Brown
Jeremy Fitzhardinge
Tom Hughes
Nicholas Nethercote
Paul Mackerras
Dirk Mueller
Robert Walsh
%package devel
Summary: Valgrind Suite of Tools for Debugging and Profiling
Group: Development/Tools/Debuggers
Requires: %name = %version
%description devel
Valgrind checks all memory operations in an application, like read,
write, malloc, new, free, and delete. Valgrind can find uses of
uninitialized memory, access to already freed memory, overflows,
illegal heap operations, memory leaks, and any illegal
new/malloc/free/delete commands. Another program in the package is
"cachegrind," a profiler based on the valgrind engine. It is plugin
based and many different tools are available.
To use valgrind you should launch the application like normal with
debuginfo packages installed, for example:
_memcheck --leak-check_
More valgrind options can be listed via "valgrind --help". There is
also complete documentation in the /usr/share/doc/packages/valgrind/
directory. A debugged application runs slower and needs much more
memory, but is usually still usable.
Authors:
--------
Julian Seward <jseward@acm.org>
Cerion Armour-Brown
Jeremy Fitzhardinge
Tom Hughes
Nicholas Nethercote
Paul Mackerras
Dirk Mueller
Robert Walsh
%prep
%setup -q -n %{name}-%{version}
cd VEX
cd ..
%patch8
%patch9
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
autoreconf -fi
export GDB=/usr/bin/gdb
%configure
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages
mv $RPM_BUILD_ROOT/usr/share/doc/valgrind $RPM_BUILD_ROOT/usr/share/doc/packages
%files
%defattr(-,root,root)
%exclude %_libdir/valgrind/*/*.a
%doc README* NEWS ACKNOWLEDGEMENTS AUTHORS COPYING
/usr/bin/*
%_libdir/valgrind
%doc %_mandir/*/*
%files devel
%defattr(-,root,root)
/usr/include/valgrind
/usr/%_lib/pkgconfig/valgrind.pc
%_libdir/valgrind/*/*.a
%changelog
* Sun Dec 16 2007 - dmueller@suse.de
- readd deprecated #define's (#348337)
* Wed Dec 12 2007 - dmueller@suse.de
- update to 3.3.0 (final):
* last minute bugfixes
* Thu Dec 06 2007 - dmueller@suse.de
- update jit-support patch
* Mon Dec 03 2007 - dmueller@suse.de
- update to 3.3.0 RC1:
- Helgrind works again
- Massif has been majorly overhauled
- Cachegrind now does branch-prediction profiling
- New experimental tools Omega and DRD
- Many small refinements to stability, scalability and performance
- Somewhat restructured documentation
- Many bug fixes
* Mon Nov 26 2007 - dmueller@suse.de
- fix build against glibc 2.7
* Fri Sep 14 2007 - dmueller@suse.de
- fix divisions by zero in massif (#310234)
* Wed Sep 12 2007 - dmueller@suse.de
- fix build on ppc64 again
- update suppressions
* Fri Aug 24 2007 - dmueller@suse.de
- fix valgrind on x86_64 (#296803)
* Tue Aug 21 2007 - dmueller@suse.de
- suppression update
* Tue Jul 24 2007 - dmueller@suse.de
- update suppression file
* Mon Jul 09 2007 - dmueller@suse.de
- support JIT runtimes (#289490)
* Tue Jul 03 2007 - dmueller@suse.de
- update suppression file (#287090)
* Wed May 23 2007 - dmueller@suse.de
- build against glibc 2.6
* Thu Apr 05 2007 - dmueller@suse.de
- split into -devel subpackage
* Fri Mar 30 2007 - dmueller@suse.de
- add patch to track undefinedness in environment (#249676)
* Tue Jan 30 2007 - dmueller@suse.de
- update to 3.2.3:
* fixes two serious regressions introduced in 3.2.2
* intercept stpcpy_chk (#234247)
- fix openat syscall wrapper (#240225)
* Thu Jan 25 2007 - dmueller@suse.de
- intercept stpcpy_chk and memrchr as well (#234347)
* Tue Jan 23 2007 - dmueller@suse.de
- switch to gcc-32bit on x86_64
* Mon Jan 22 2007 - dmueller@suse.de
- update to 3.2.2:
* many fixes for ppc 32/64 (#fate 301640)
* Tue Oct 17 2006 - dmueller@suse.de
- disable omega plugin for ppc/ppc64
* Mon Oct 16 2006 - dmueller@suse.de
- update to 3.2 BRANCH:
* support glibc 2.5
* update suppressions
- add omega plugin
* Sat Sep 16 2006 - dmueller@suse.de
- update to 3.2.1:
* suppresion updates
* Fri Sep 15 2006 - dmueller@suse.de
- update to 3.2.1rc1:
* about 36 bugfixes
* Wed Sep 13 2006 - stbinner@suse.de
- fix build with < Factory
* Mon Aug 28 2006 - dmueller@suse.de
- fix suppressions
- update drd plugin
* Thu Aug 24 2006 - dmueller@suse.de
- add experimental drd plugin
- fix build on x86_64
* Wed Aug 02 2006 - dmueller@suse.de
- also fix multibyte NOP parsing for x86_64
* Tue Aug 01 2006 - dmueller@suse.de
- add patch to handle multibyte NOPs as generated by
recent binutils
* Wed Jun 07 2006 - dmueller@suse.de
- update to 3.2.0 final
* only marginal changes since rc1
* Tue May 30 2006 - dmueller@suse.de
- update to 3.2.0 rc1:
* ppc64 support
* callgrind now integrated part
* massive performance improvements
* lots of emulation fixlets
* Thu Mar 16 2006 - dmueller@suse.de
- update to 3.1.1 (FATE #300493)
* Mon Mar 06 2006 - dmueller@suse.de
- various updates from branch to fix PPC32 support
* Mon Feb 06 2006 - dmueller@suse.de
- Fix GDB support
* Mon Feb 06 2006 - dmueller@suse.de
- Reduce BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 04 2006 - dmueller@suse.de
- update to 3.1 branch
* Fri Dec 09 2005 - dmueller@suse.de
- fix strict-aliasing issue
* Mon Nov 28 2005 - dmueller@suse.de
- 3.1.0 final update
* Mon Nov 21 2005 - dmueller@suse.de
- 3.1.0 RC1 update
* Thu Nov 10 2005 - dmueller@suse.de
- update to 3.1 SVN
* Tue Nov 08 2005 - dmueller@suse.de
- add hack to make valgrind work with apps that require executable stack
* Thu Sep 15 2005 - dmueller@suse.de
- update 3.0.1 final
* Thu Aug 25 2005 - dmueller@suse.de
- make massif work again
* Sun Aug 21 2005 - dmueller@suse.de
- fix trace-children=yes failure
- add default suppressions for SL 10
* Mon Aug 15 2005 - dmueller@suse.de
- regenerate VEX offset headers, otherwise it just hangs
* Fri Aug 12 2005 - dmueller@suse.de
- update to 3.0 branch to make it work on non-SSE platforms (#104181)
* Fri Aug 05 2005 - dmueller@suse.de
- initial package of 3.0