]> git.pld-linux.org Git - packages/ccmalloc.git/commitdiff
- initial version, based on spec for 0.2.3 by Danny Sung (dannys@mindless.com)
authormis <mis@pld-linux.org>
Tue, 23 May 2000 15:50:25 +0000 (15:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ccmalloc.spec -> 1.1

ccmalloc.spec [new file with mode: 0644]

diff --git a/ccmalloc.spec b/ccmalloc.spec
new file mode 100644 (file)
index 0000000..96ad11a
--- /dev/null
@@ -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
This page took 0.060593 seconds and 4 git commands to generate.