]> git.pld-linux.org Git - packages/ccmalloc.git/blame - ccmalloc.spec
- more %%{__make} macros.
[packages/ccmalloc.git] / ccmalloc.spec
CommitLineData
7dd777b7 1Name: ccmalloc
2Version: 0.3.2
3%define fnversion %(echo %{version} | tr . -)
4Release: 1
5Summary: C/C++ memory debugging and profiling library
6License: GPL
7Group: Development/Debuggers
8Group(pl): Programowanie/Odpluskwiacze
9Source0: http://www.inf.ethz.ch/personal/biere/projects/ccmalloc/%{name}-%{fnversion}.tar.gz
10URL: http://www.inf.ethz.ch/personal/biere/projects/ccmalloc/
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14ccmalloc detects memory leaks, multiple deallocations, over-writes,
15under-writes and access of deallocated data in C and C++ code, all
16without source recompile.
17
18It also displays statistics on allocation and deallocation.
19
20%prep
21%setup -q -n %{name}-%{fnversion}
22
23%build
24./configure --prefix=%{_prefix}
f619d324 25%{__make}
7dd777b7 26
27%install
28rm -rf $RPM_BUILD_ROOT
29install -d ${RPM_BUILD_ROOT}%{_libdir}
30install lib/libccmalloc.a ${RPM_BUILD_ROOT}%{_libdir}
31install obj/ccmalloc.o ${RPM_BUILD_ROOT}%{_libdir}
32gzip -9nf BUGS FEATURES INSTALL NEWS README TODO USAGE
33
34%clean
35rm -rf ${RPM_BUILD_ROOT}
36
37%files
38%defattr(644,root,root,755)
39%{_libdir}
40%doc {BUGS,FEATURES,INSTALL,NEWS,README,TODO,USAGE}.gz
41%doc ccmalloc.cfg
This page took 0.074138 seconds and 4 git commands to generate.