src/main.c: Make it possible to pass options to the app under test
[memprof.git] / memprof.spec.in
blob80f8a4a7d8e1ac0154aa57746b5e6c6ef326219d
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 Okt 26 2009 Holger Hans Peter Freyther <zecke+memprof@secretlabs.de>
58 - Version 0.6.2
60 * Mo Jun 08 2009 Holger Hans Peter Freyther <zecke+memprof@secretlabs.de>
61 - Version 0.6.1
63 * Thu Jun 19 2003 Owen Taylor <otaylor@redhat.com>
64 - Version 0.5.1-ssp
66 * Sat Aug 31 2002 Owen Taylor <otaylor@redhat.com>
67 - Version 0.5.1
69 * Sat Aug 10 2002 Owen Taylor <otaylor@redhat.com>
70 - Cleanups from Red Hat spec file, minor fixes.
72 * Sat Aug 10 2002 Kristian Rietveld <kris@gtk.org>
73 - Version 0.5.0
74 - Updates deps, files and handle installation of gconf schemas.
76 * Fri Feb 09 2001 Owen Taylor <otaylor@redhat.com>
77 - Version 0.4.1
79 * Sat Jul 08 2000 Owen Taylor <otaylor@redhat.com>
80 - Some cleanups, reenable local files
82 * Wed Nov 10 1999 Owen Taylor <otaylor@redhat.com>
83 (From Nils Philippsen <nils@wombat.dialup.fht-esslingen.de>)
84 - Added %defattr() so that files are owned by root
85 - Only require libglade >= 0.7, not >= 0.7-1
86 (From mkj@redhat.com)
87 - ExclusiveArch: i386
88 - Changed group to Development/Debuggers
90 * Wed Oct 27 1999 Owen Taylor <otaylor@redhat.com>
91 - Initial package