Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
devel
>
google-perftools
> google-perftools.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File google-perftools.spec of Package google-perftools (Revision 2)
Currently displaying revision
2
,
show latest
Name: google-perftools Version: 0.99.1 Release: 1%{?dist} License: BSD Group: Development/Tools Summary: Very fast malloc and performance analysis tools URL: http://code.google.com/p/google-perftools/ Source0: http://google-perftools.googlecode.com/files/google-perftools-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # Still broken, bz 238390 ExcludeArch: ppc64 %ifnarch ppc ppc64 BuildRequires: libunwind-devel gcc-c++ gcc %endif %description Perf Tools is a collection of performance analysis tools, including a high-performance multi-threaded malloc() implementation that works particularly well with threads and STL, a thread-friendly heap-checker, a heap profiler, and a cpu-profiler. %package devel Summary: Development libraries and headers for google-perftools Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Libraries and headers for developing applications that use google-perftools. %prep %setup -q %build %configure --disable-static # Bad rpath! sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool # Can't build with smp_mflags make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}/%{name}-%{version}/ install find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' # Zero files rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/NEWS %clean rm -rf $RPM_BUILD_ROOT %check # The libraries aren't installed on the system yet. :P # The tests work fine for me locally, but some of them fail inside mock. # LD_LIBRARY_PATH=./.libs make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/pprof %{_mandir}/man1/* %{_docdir}/%{name}-%{version}/ %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/google %{_libdir}/*.so %changelog * Mon Sep 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.99.1-1 - update to 0.99.1 - previous patches in 0.98-1 were taken upstream * Mon Aug 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.98-1 - update to 0.98 - fix linuxthreads.c compile (upstream issue 74) - fix ppc compile (upstream issue 75) - enable ppc * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.95-4 - Autorebuild for GCC 4.3 * Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.95-3 - re-disable ppc/ppc64 * Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.95-2 - ppc/ppc64 doesn't have libunwind * Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.95-1 - 0.95 (all patches taken upstream) - enable ppc support - workaround broken ptrace header (no typedef for u32) * Fri Jan 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.94.1-1 - bump to 0.94.1 - fix for gcc4.3 - fix unittest link issue * Thu Aug 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.93-1 - upstream merged my patch! - rebuild for BuildID * Wed Aug 1 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.92-1 - bump to 0.92 * Thu May 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.91-3.1 - excludearch ppc64 * Sun Apr 29 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.91-3 - The tests work fine for me locally, but some of them fail inside mock. * Sun Apr 29 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.91-2 - no support for ppc yet * Mon Apr 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.91-1 - alright, lets see if this works now. * Wed Oct 13 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.3-2 - change group to Development/Tools * Mon Oct 10 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.3-1 - initial package for Fedora Extras