2007-03-22 03:00:33 +00:00
|
|
|
%define ver %VERSION
|
|
|
|
%define RELEASE 1
|
|
|
|
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
|
|
|
|
%define prefix /usr
|
|
|
|
|
|
|
|
Name: %NAME
|
|
|
|
Summary: Performance tools for C++
|
|
|
|
Version: %ver
|
|
|
|
Release: %rel
|
|
|
|
Group: Development/Libraries
|
2007-03-22 03:28:56 +00:00
|
|
|
URL: http://goog-perftools.sourceforge.net
|
2007-07-18 18:30:50 +00:00
|
|
|
License: BSD
|
2007-03-22 03:28:56 +00:00
|
|
|
Vendor: Google
|
|
|
|
Packager: Google <opensource@google.com>
|
|
|
|
Source: http://goog-perftools.sourceforge.net/%{NAME}-%{PACKAGE_VERSION}.tar.gz
|
2007-03-22 03:00:33 +00:00
|
|
|
Distribution: Redhat 7 and above.
|
|
|
|
Buildroot: %{_tmppath}/%{name}-root
|
|
|
|
Prefix: %prefix
|
|
|
|
|
|
|
|
%description
|
|
|
|
The %name packages contains some utilities to improve and analyze the
|
|
|
|
performance of C++ programs. This includes an optimized thread-caching
|
|
|
|
malloc() and cpu and heap profiling utilities.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Performance tools for C++
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %name-devel package contains static and debug libraries and header
|
|
|
|
files for developing applications that use the %name package.
|
|
|
|
|
|
|
|
%changelog
|
2007-03-22 03:28:56 +00:00
|
|
|
* Fri Mar 11 2005 <opensource@google.com>
|
2007-03-22 03:00:33 +00:00
|
|
|
- First draft
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
./configure
|
|
|
|
make prefix=%prefix
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
2007-04-16 20:49:32 +00:00
|
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/cpuprofile.html doc/designstyle.css doc/heap-example1.png doc/heap_checker.html doc/heapprofile.html doc/index.html doc/overview.dot doc/overview.gif doc/pageheap.dot doc/pageheap.gif doc/pprof-test-big.gif doc/pprof-test.gif doc/pprof-vsnprintf-big.gif doc/pprof-vsnprintf.gif doc/pprof.1 doc/pprof_remote_servers.html doc/spanmap.dot doc/spanmap.gif doc/t-test1.times.txt doc/tcmalloc-opspercpusec.vs.threads.1024.bytes.png doc/tcmalloc-opspercpusec.vs.threads.128.bytes.png doc/tcmalloc-opspercpusec.vs.threads.131072.bytes.png doc/tcmalloc-opspercpusec.vs.threads.16384.bytes.png doc/tcmalloc-opspercpusec.vs.threads.2048.bytes.png doc/tcmalloc-opspercpusec.vs.threads.256.bytes.png doc/tcmalloc-opspercpusec.vs.threads.32768.bytes.png doc/tcmalloc-opspercpusec.vs.threads.4096.bytes.png doc/tcmalloc-opspercpusec.vs.threads.512.bytes.png doc/tcmalloc-opspercpusec.vs.threads.64.bytes.png doc/tcmalloc-opspercpusec.vs.threads.65536.bytes.png doc/tcmalloc-opspercpusec.vs.threads.8192.bytes.png doc/tcmalloc-opspersec.vs.size.1.threads.png doc/tcmalloc-opspersec.vs.size.12.threads.png doc/tcmalloc-opspersec.vs.size.16.threads.png doc/tcmalloc-opspersec.vs.size.2.threads.png doc/tcmalloc-opspersec.vs.size.20.threads.png doc/tcmalloc-opspersec.vs.size.3.threads.png doc/tcmalloc-opspersec.vs.size.4.threads.png doc/tcmalloc-opspersec.vs.size.5.threads.png doc/tcmalloc-opspersec.vs.size.8.threads.png doc/tcmalloc.html doc/threadheap.dot doc/threadheap.gif
|
2007-03-22 03:00:33 +00:00
|
|
|
|
|
|
|
%{prefix}/lib/libstacktrace.so.0
|
|
|
|
%{prefix}/lib/libstacktrace.so.0.0.0
|
|
|
|
%{prefix}/lib/libtcmalloc.so.0
|
|
|
|
%{prefix}/lib/libtcmalloc.so.0.0.0
|
2007-03-22 03:28:56 +00:00
|
|
|
%{prefix}/lib/libtcmalloc_minimal.so.0
|
|
|
|
%{prefix}/lib/libtcmalloc_minimal.so.0.0.0
|
2007-03-22 03:00:33 +00:00
|
|
|
%{prefix}/lib/libprofiler.so.0
|
|
|
|
%{prefix}/lib/libprofiler.so.0.0.0
|
|
|
|
%{prefix}/bin/pprof
|
|
|
|
%{prefix}/man/man1/pprof.1.gz
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%{prefix}/include/google
|
|
|
|
%{prefix}/lib/libstacktrace.a
|
|
|
|
%{prefix}/lib/libstacktrace.la
|
|
|
|
%{prefix}/lib/libstacktrace.so
|
|
|
|
%{prefix}/lib/libtcmalloc.a
|
|
|
|
%{prefix}/lib/libtcmalloc.la
|
|
|
|
%{prefix}/lib/libtcmalloc.so
|
2007-03-22 03:28:56 +00:00
|
|
|
%{prefix}/lib/libtcmalloc_minimal.a
|
|
|
|
%{prefix}/lib/libtcmalloc_minimal.la
|
|
|
|
%{prefix}/lib/libtcmalloc_minimal.so
|
2007-03-22 03:00:33 +00:00
|
|
|
%{prefix}/lib/libprofiler.a
|
|
|
|
%{prefix}/lib/libprofiler.la
|
|
|
|
%{prefix}/lib/libprofiler.so
|