# RPM specfile for heap-buddy module # Generated Thu Jan 25 17:50:02 2007 GMT by Ximian build system # $Id: bb_do 3172 2006-07-28 18:17:26Z v_thunder $ # from %define nam heap-buddy %define ver 0.2 %define licensedir %{_datadir}/licenses/%{nam}-%{ver} Name: heap-buddy Version: 0.2 Release: 0.novell Vendor: Novell, Inc. Distribution: Novell Packages for SuSE LINUX Enterprise Server 9 / s390x Copyright: HASH(0x80c6c400) BuildRoot: /var/tmp/%{nam}-%{ver}-root Docdir: /usr/share/doc/packages URL: http://go-mono.com Source0: heap-buddy-0.2.tar.gz Summary: Heap profiler for mono Group: Development/Tools Provides: novell-heap-buddy = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description Heap-buddy is a heap profiler for mono. It attaches to special hooks in the mono runtime and tracks all of the managed memory allocations, every garbage collection and every heap resize. These statistics are written out into a data file that we call an 'outfile'. %files %defattr(-, root, root) /usr/lib64/* /usr/lib64/heap-buddy /usr/bin/* # $RPM_COMMAND is an environment variable used by the Ximian build # system to control the build process with finer granularity than RPM # normally allows. This specfile will function as expected by RPM if # $RPM_COMMAND is unset. If you are not the Ximian build system, # feel free to ignore it. %prep case "${RPM_COMMAND:-all}" in dist) %setup -q -D -n heap-buddy-0.2 ;; all) %setup -q -n heap-buddy-0.2 ;; esac %build MAKE=${MAKE:-make} RPM_COMMAND=${RPM_COMMAND:-all} DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} ARCH=%{_target_platform} export MAKE RPM_COMMAND DESTDIR ARCH case "$RPM_COMMAND" in prepare|all) ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/info --localstatedir=/var ;; esac case "$RPM_COMMAND" in clean|all) if [ "/" != "$DESTDIR" ]; then rm -rf "$DESTDIR" fi ;; esac case "$RPM_COMMAND" in build|all) ${MAKE} ;; esac %install MAKE=${MAKE:-make} DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} # export DESTDIR case "${RPM_COMMAND:-all}" in install|all) ${MAKE} install prefix=${DESTDIR}/usr libdir=${DESTDIR}/usr/lib64 sysconfdir=${DESTDIR}/etc mandir=${DESTDIR}/usr/share/man infodir=${DESTDIR}/usr/info localstatedir=${DESTDIR}/var ;; esac %clean DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} export DESTDIR case "${RPM_COMMAND:-all}" in clean|all) if [ "/" != "$DESTDIR" ]; then rm -rf "$DESTDIR" fi ;; esac %changelog * Thu Jan 25 2007 Novell, Inc. - Version: 0.2-0.novell - Summary: New build. - New automated build.