Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
heap-buddy
heap-buddy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File heap-buddy.spec of Package heap-buddy
# # spec file for package heap-buddy (Version 0.2) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: heap-buddy License: GPL v2 or later Group: Development/Tools/Other AutoReqProv: on Version: 0.2 Release: 153 Summary: Heap-buddy is a heap profiler for mono Url: http://www.mono-project.com/ Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: mono-devel # For sles9... %define configure_options true BuildRequires: pkgconfig %if 0%{?sles_version} %if %sles_version == 9 %define configure_options export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/%_lib/pkgconfig BuildRequires: pkgconfig %endif %endif # Fedora options (Bug in fedora images where 'abuild' user is the same id as 'nobody') %if 0%{?fedora_version} || 0%{?rhel_version} %define env_options export MONO_SHARED_DIR=/tmp %endif %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'. Authors: -------- Ben Maurer <bmaurer@ximian.com> Jon Trowbridge <trow@novell.com> %prep %setup -q %build %{?env_options} %{configure_options} CFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --prefix=%_prefix \ --libdir=%_libdir make %install %{?env_options} make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT%{_libdir}/libmono-profiler-heap-buddy.*a %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS NEWS README COPYING %{_prefix}/bin/heap-buddy %{_libdir}/heap-buddy %{_libdir}/libmono-profiler-heap-buddy.so* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %if 0%{?fedora_version} || 0%{?rhel_version} # Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros) %define _use_internal_dependency_generator 0 %endif %define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-provides ; } | sort | uniq' %define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-requires ; } | sort | uniq' %changelog * Wed Sep 03 2008 ajorgensen@novell.com - spec file cleanup * Fri Apr 13 2007 wberrier@novell.com - adapt for build service * Wed Apr 11 2007 wberrier@novell.com - Add mono dep/req for older distros * Tue Dec 05 2006 joeshaw@suse.de - Update heap-buddy to 0.2 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Dec 19 2005 ro@suse.de - added missing symlink to filelist * Fri Dec 16 2005 wberrier@suse.de - Clean up deps (most mono packages don't need the full gnome-devel dep) * Fri Dec 02 2005 gekker@suse.de - Fix directory ownership * Thu Dec 01 2005 gekker@suse.de - Initial import into autobuild, version 0.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor