From 7dd777b73df7767bc33ff9b0b90bde04357db804 Mon Sep 17 00:00:00 2001 From: mis Date: Tue, 23 May 2000 15:50:25 +0000 Subject: [PATCH 1/1] - initial version, based on spec for 0.2.3 by Danny Sung (dannys@mindless.com) Changed files: ccmalloc.spec -> 1.1 --- ccmalloc.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 ccmalloc.spec diff --git a/ccmalloc.spec b/ccmalloc.spec new file mode 100644 index 0000000..96ad11a --- /dev/null +++ b/ccmalloc.spec @@ -0,0 +1,41 @@ +Name: ccmalloc +Version: 0.3.2 +%define fnversion %(echo %{version} | tr . -) +Release: 1 +Summary: C/C++ memory debugging and profiling library +License: GPL +Group: Development/Debuggers +Group(pl): Programowanie/Odpluskwiacze +Source0: http://www.inf.ethz.ch/personal/biere/projects/ccmalloc/%{name}-%{fnversion}.tar.gz +URL: http://www.inf.ethz.ch/personal/biere/projects/ccmalloc/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +ccmalloc detects memory leaks, multiple deallocations, over-writes, +under-writes and access of deallocated data in C and C++ code, all +without source recompile. + +It also displays statistics on allocation and deallocation. + +%prep +%setup -q -n %{name}-%{fnversion} + +%build +./configure --prefix=%{_prefix} +make + +%install +rm -rf $RPM_BUILD_ROOT +install -d ${RPM_BUILD_ROOT}%{_libdir} +install lib/libccmalloc.a ${RPM_BUILD_ROOT}%{_libdir} +install obj/ccmalloc.o ${RPM_BUILD_ROOT}%{_libdir} +gzip -9nf BUGS FEATURES INSTALL NEWS README TODO USAGE + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(644,root,root,755) +%{_libdir} +%doc {BUGS,FEATURES,INSTALL,NEWS,README,TODO,USAGE}.gz +%doc ccmalloc.cfg -- 2.44.0