📄 memprof.spec
字号:
Summary: Tool for memory profiling and leak detectionName: memprofVersion: 0.5.1Release: 1# Serial is one for historical Red Hat reasonsSerial: 1License: GPLGroup: Development/DebuggersSource: memprof-%{version}.tar.gzBuildRoot: %{_tmppath}/%{name}-%{version}-rootExclusiveArch: i386BuildRequires: libgnomeui-devel >= 2.0.0BuildRequires: libglade2-devel >= 2.0.0%descriptionMemprof is a tool for profiling memory usage anddetecting memory leaks. It can be used with existingbinaries without need for recompilation.%prep%setup -q%build%configuremake%installrm -rf $RPM_BUILD_ROOTexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1make DESTDIR=$RPM_BUILD_ROOT installunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL%find_lang %name%cleanrm -rf $RPM_BUILD_ROOT%postexport GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`SCHEMAS="memprof.schemas"for S in $SCHEMAS; do gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/nulldone%files -f %{name}.lang%defattr(-, root, root)%doc README AUTHORS NEWS%{_bindir}/*%{_libdir}/libmemintercept.so%{_datadir}/pixmaps/memprof.png%{_datadir}/applications/memprof.desktop%{_datadir}/memprof%{_sysconfdir}/gconf/schemas/*.schemas%changelog* Sat Aug 31 2002 Owen Taylor <otaylor@redhat.com>- Version 0.5.1* Sat Aug 10 2002 Owen Taylor <otaylor@redhat.com>- Cleanups from Red Hat spec file, minor fixes.* Sat Aug 10 2002 Kristian Rietveld <kris@gtk.org>- Version 0.5.0- Updates deps, files and handle installation of gconf schemas.* Fri Feb 09 2001 Owen Taylor <otaylor@redhat.com>- Version 0.4.1* Sat Jul 08 2000 Owen Taylor <otaylor@redhat.com>- Some cleanups, reenable local files* Wed Nov 10 1999 Owen Taylor <otaylor@redhat.com> (From Nils Philippsen <nils@wombat.dialup.fht-esslingen.de>)- Added %defattr() so that files are owned by root- Only require libglade >= 0.7, not >= 0.7-1 (From mkj@redhat.com)- ExclusiveArch: i386- Changed group to Development/Debuggers* Wed Oct 27 1999 Owen Taylor <otaylor@redhat.com>- Initial package
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -