Group :: Desenvolvimento/Outros
RPM: google-perftools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: google-perftools
Version: 0.99.2
Release: alt1
Summary: Performance tools for C++
Group: Development/Other
Url: http://code.google.com/p/google-perftools/
License: %bsd
Packager: Yuriy Kashirin <uka at altlinux.ru>
Source: %name-%version.tar
Requires: binutils
# Automatically added by buildreq on Thu Dec 04 2008
BuildRequires: gcc-c++ libunwind-devel
BuildRequires: rpm-build-licenses
%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 -n lib%name
Summary: Performance tools for C++ - shared libraries
Group: Development/Other
%description -n lib%name
The lib%name package is part of %name. It contains shared libraries
for analize the performance of C++ programs.
%package -n lib%name-devel
Summary: Performance tools for C++
Group: Development/Other
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
%description -n lib%name-devel
The lib%name-devel package contains static and debug libraries and header
files for developing applications that use the %name package.
%prep
%setup
%build
%configure --disable-static
%make_build
%install
%make_install DESTDIR=%buildroot install
#mkdir -p %buildroot%_man1dir
#mv %buildroot%prefix/man/man1/* %buildroot%_man1dir
%files
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/*.html doc/*.gif doc/*.png doc/*.txt doc/*.dot
%_bindir/pprof
%_man1dir/pprof.1.gz
%files -n lib%name
%_libdir/libtcmalloc.so.0
%_libdir/libtcmalloc.so.0.0.0
%_libdir/libtcmalloc_minimal.so.0
%_libdir/libtcmalloc_minimal.so.0.0.0
%_libdir/libprofiler.so.0
%_libdir/libprofiler.so.0.0.0
%files -n lib%name-devel
%_includedir/google
%_libdir/libtcmalloc.so
%_libdir/libtcmalloc_minimal.so
%_libdir/libprofiler.so
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.99.2
Release: alt1
Summary: Performance tools for C++
Group: Development/Other
Url: http://code.google.com/p/google-perftools/
License: %bsd
Packager: Yuriy Kashirin <uka at altlinux.ru>
Source: %name-%version.tar
Requires: binutils
# Automatically added by buildreq on Thu Dec 04 2008
BuildRequires: gcc-c++ libunwind-devel
BuildRequires: rpm-build-licenses
%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 -n lib%name
Summary: Performance tools for C++ - shared libraries
Group: Development/Other
%description -n lib%name
The lib%name package is part of %name. It contains shared libraries
for analize the performance of C++ programs.
%package -n lib%name-devel
Summary: Performance tools for C++
Group: Development/Other
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
%description -n lib%name-devel
The lib%name-devel package contains static and debug libraries and header
files for developing applications that use the %name package.
%prep
%setup
%build
%configure --disable-static
%make_build
%install
%make_install DESTDIR=%buildroot install
#mkdir -p %buildroot%_man1dir
#mv %buildroot%prefix/man/man1/* %buildroot%_man1dir
%files
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/*.html doc/*.gif doc/*.png doc/*.txt doc/*.dot
%_bindir/pprof
%_man1dir/pprof.1.gz
%files -n lib%name
%_libdir/libtcmalloc.so.0
%_libdir/libtcmalloc.so.0.0.0
%_libdir/libtcmalloc_minimal.so.0
%_libdir/libtcmalloc_minimal.so.0.0.0
%_libdir/libprofiler.so.0
%_libdir/libprofiler.so.0.0.0
%files -n lib%name-devel
%_includedir/google
%_libdir/libtcmalloc.so
%_libdir/libtcmalloc_minimal.so
%_libdir/libprofiler.so
%changelog
…
Todas as alterações você pod ver aqui