2 %define rel
%{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
6 Summary: Performance tools
for C
++
9 Group: Development
/Libraries
10 URL: http
://code.google.com
/p
/gperftools
/
12 Vendor: Google Inc. and others
13 Packager: Google Inc. and others
<google
-perftools@googlegroups.com
>
14 Source: http
://%{NAME}.googlecode.com/files/%{NAME}-%{VERSION}.tar.gz
15 Distribution: Redhat
7 and above.
16 Buildroot: %{_tmppath}/%{name}-root
20 The
%name packages contains some utilities to improve and analyze the
21 performance of C
++ programs. This includes an optimized thread
-caching
22 malloc
() and cpu and heap profiling utilities.
25 Summary: Performance tools
for C
++
26 Group: Development
/Libraries
27 Requires: %{NAME} = %{VERSION}
30 The
%name-devel package contains static and debug libraries and header
31 files
for developing applications that use the
%name package.
34 * Mon Apr
20 2009 <opensource@google.com
>
35 - Change build rule to use a configure line more like '
%configure'
36 - Change
install to use DESTDIR instead of prefix
for configure
37 - Use wildcards
for doc
/ and lib
/ directories
39 * Fri Mar
11 2005 <opensource@google.com
>
46 # I can't use '% configure', because it defines -m32 which breaks some
47 # of the low-level atomicops files in this package. But I do take
48 # as much from % configure (in /usr/lib/rpm/macros) as I can.
49 .
/configure
--prefix
=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
53 rm -rf $RPM_BUILD_ROOT
54 make DESTDIR
=$RPM_BUILD_ROOT
install
57 rm -rf $RPM_BUILD_ROOT
62 %docdir %{prefix}/share/doc/%{NAME}-%{VERSION}
63 %{prefix}/share/doc/%{NAME}-%{VERSION}/*
67 %{_mandir}/man1
/pprof
.1*
73 %{_includedir}/gperftools
77 %{_libdir}/pkgconfig
/*.pc