Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff
google-perftools
google-perftools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File google-perftools.spec of Package google-perftools
# # spec file for package google-perftools (Version 1.5) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # needsrootforbuild Name: google-perftools Version: 1.5 Release: 1 Group: System/Libraries License: BSD3c(or similar) Url: http://goog-perftools.sourceforge.net Source0: %{name}-%{version}.tar.bz2 # Source1: google.m4 # Patch0: %{name}_fix_random_returns.patch # Patch1: %{name}_fix_syscalls.patch # Patch2: %{name}_build_on_s390.patch # Patch3: %{name}_fix_string_compare.patch Patch4: %{name}-fix_docdir.patch # Patch5: %{name}_libunwind_for_x86-64.patch # Patch6: %{name}_fix_memset_call_in_test_progs.patch # Patch7: %{name}-memcmp_from_string_h.patch # Patch8: %{name}_stacktrace_env.patch Patch11: %{name}_fix_multiple_install_headers.patch Patch12: %{name}_fix_unassigned_malloc_in_unittest.patch Patch13: %{name}-tc_free_thread_res.patch BuildRequires: gcc-c++ BuildRequires: automake BuildRequires: libtool # Can't use libunwind. See bnc#393927 and bnc#395623 %ifarch x86_64 ia64 ppc ppc64 s390 s390x %sparc %define no_libunwind_on_64 "-DNO_TCMALLOC_SAMPLES" %define no_libunwind_on_64_config "--enable-frame-pointers" %else %define no_libunwind_on_64 "" %define no_libunwind_on_64_config "" %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Performance Tools for C++ ExclusiveArch: %ix86 x86_64 ppc ppc64 %debug_package %description The google-perftools packages contain 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 License: BSD3c(or similar) Group: System/Libraries Summary: Performance tools for C++ Requires: libstdc++-devel, google-perftools = %{version} %description devel The google-perftools-devel package contains static and debug libraries and header files for developing applications that use the google-perftools package. %prep %setup -q #patch0 -p1 #patch1 -p1 #patch2 -p1 #patch3 -p1 %patch4 -p1 #patch5 -p1 #patch6 -p1 #patch7 -p1 #patch8 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 # install -d aclocal/ # install %{SOURCE1} aclocal/ # rm libtool %build autoreconf -fi export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %no_libunwind_on_64" \ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %no_libunwind_on_64" \ %configure --disable-static --with-gnu-ld --with-pic %no_libunwind_on_64_config %{__make} %{?jobs:-j%jobs} %install make DESTDIR=$RPM_BUILD_ROOT install %{__rm} -f %{buildroot}%{_libdir}/*.la %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) /usr/bin/pprof %_libdir/libprofiler.so.0* # %_libdir/libstacktrace.so.0* # libstacktrace.so got removed in 0.96 %_libdir/libtcmalloc.so.0* %_libdir/libtcmalloc_debug.so.0* %_libdir/libtcmalloc_minimal.so.0* %_libdir/libtcmalloc_minimal_debug.so.0* %_libdir/libtcmalloc_and_profiler.so.0* %_mandir/man1/pprof.1.gz %dir %attr(775,root,root) /usr/share/doc/packages/%{name} /usr/share/doc/packages/%{name}/AUTHORS /usr/share/doc/packages/%{name}/COPYING /usr/share/doc/packages/%{name}/ChangeLog /usr/share/doc/packages/%{name}/INSTALL /usr/share/doc/packages/%{name}/NEWS /usr/share/doc/packages/%{name}/README /usr/share/doc/packages/%{name}/TODO /usr/share/doc/packages/%{name}/README.windows /usr/share/doc/packages/%{name}/cpuprofile.html /usr/share/doc/packages/%{name}/cpuprofile-fileformat.html /usr/share/doc/packages/%{name}/designstyle.css /usr/share/doc/packages/%{name}/heapprofile.html /usr/share/doc/packages/%{name}/pprof_remote_servers.html /usr/share/doc/packages/%{name}/heap-example1.png /usr/share/doc/packages/%{name}/heap_checker.html /usr/share/doc/packages/%{name}/index.html /usr/share/doc/packages/%{name}/overview.dot /usr/share/doc/packages/%{name}/overview.gif /usr/share/doc/packages/%{name}/pageheap.dot /usr/share/doc/packages/%{name}/pageheap.gif /usr/share/doc/packages/%{name}/pprof-test-big.gif /usr/share/doc/packages/%{name}/pprof-test.gif /usr/share/doc/packages/%{name}/pprof-vsnprintf-big.gif /usr/share/doc/packages/%{name}/pprof-vsnprintf.gif /usr/share/doc/packages/%{name}/spanmap.dot /usr/share/doc/packages/%{name}/spanmap.gif /usr/share/doc/packages/%{name}/t-test1.times.txt /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.1024.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.128.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.131072.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.16384.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.2048.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.256.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.32768.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.4096.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.512.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.64.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.65536.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspercpusec.vs.threads.8192.bytes.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.1.threads.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.12.threads.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.16.threads.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.2.threads.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.20.threads.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.3.threads.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.4.threads.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.5.threads.png /usr/share/doc/packages/%{name}/tcmalloc-opspersec.vs.size.8.threads.png /usr/share/doc/packages/%{name}/tcmalloc.html /usr/share/doc/packages/%{name}/threadheap.dot /usr/share/doc/packages/%{name}/threadheap.gif %files devel %defattr(-,root,root) %dir %attr(775,root,root) /usr/include/google /usr/include/google/heap-checker.h /usr/include/google/heap-profiler.h /usr/include/google/malloc_extension.h /usr/include/google/malloc_extension_c.h /usr/include/google/malloc_hook.h /usr/include/google/malloc_hook_c.h /usr/include/google/profiler.h /usr/include/google/stacktrace.h /usr/include/google/tcmalloc.h %_libdir/libprofiler.so # %_libdir/libstacktrace.*a # libstacktrace.so got removed in 0.96 # %_libdir/libstacktrace.so # libstacktrace.so got removed in 0.96 %_libdir/libtcmalloc.so %_libdir/libtcmalloc_debug.so %_libdir/libtcmalloc_minimal.so %_libdir/libtcmalloc_minimal_debug.so %_libdir/libtcmalloc_and_profiler.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor