detailwin.c: Fix possible crash when opening the maps file fails
[memprof.git] / memprof.spec.in
blob2f2538f9d55498f12d8623ebe9435aaa9747da57
1 Summary: Tool for memory profiling and leak detection
2 Name: memprof
3 Version: @VERSION@
4 Release: 1
5 # Serial is one for historical Red Hat reasons
6 Serial: 1
7 License: GPL
8 Group: Development/Debuggers
9 Source: memprof-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 ExclusiveArch: i386
13 BuildRequires: libgnomeui-devel >= 2.0.0
14 BuildRequires: libglade2-devel >= 2.0.0
16 %description
17 Memprof is a tool for profiling memory usage and
18 detecting memory leaks. It can be used with existing
19 binaries without need for recompilation.
20 %prep
21 %setup -q
23 %build
24 %configure
25 make
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
30 make DESTDIR=$RPM_BUILD_ROOT install
31 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
33 %find_lang %name
35 %clean
36 rm -rf $RPM_BUILD_ROOT
38 %post
39 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
40 SCHEMAS="memprof.schemas"
41 for S in $SCHEMAS; do
42 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
43 done
45 %files -f %{name}.lang
46 %defattr(-, root, root)
48 %doc README AUTHORS NEWS
49 %{_bindir}/*
50 %{_libdir}/libmemintercept.so
51 %{_datadir}/pixmaps/memprof.png
52 %{_datadir}/applications/memprof.desktop
53 %{_datadir}/memprof
54 %{_sysconfdir}/gconf/schemas/*.schemas
56 %changelog
57 * Mo Jun 08 2009 Holger Hans Peter Freyther <zecke+memprof@secretlabs.de>
58 - Version 0.6.1
60 * Thu Jun 19 2003 Owen Taylor <otaylor@redhat.com>
61 - Version 0.5.1-ssp
63 * Sat Aug 31 2002 Owen Taylor <otaylor@redhat.com>
64 - Version 0.5.1
66 * Sat Aug 10 2002 Owen Taylor <otaylor@redhat.com>
67 - Cleanups from Red Hat spec file, minor fixes.
69 * Sat Aug 10 2002 Kristian Rietveld <kris@gtk.org>
70 - Version 0.5.0
71 - Updates deps, files and handle installation of gconf schemas.
73 * Fri Feb 09 2001 Owen Taylor <otaylor@redhat.com>
74 - Version 0.4.1
76 * Sat Jul 08 2000 Owen Taylor <otaylor@redhat.com>
77 - Some cleanups, reenable local files
79 * Wed Nov 10 1999 Owen Taylor <otaylor@redhat.com>
80 (From Nils Philippsen <nils@wombat.dialup.fht-esslingen.de>)
81 - Added %defattr() so that files are owned by root
82 - Only require libglade >= 0.7, not >= 0.7-1
83 (From mkj@redhat.com)
84 - ExclusiveArch: i386
85 - Changed group to Development/Debuggers
87 * Wed Oct 27 1999 Owen Taylor <otaylor@redhat.com>
88 - Initial package