Group :: Desenvolvimento/Outros
RPM: google-perftools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define prefix /usr
Name: google-perftools
Version: 0.97
Release: alt1
Summary: Performance tools for C++
Group: Development/Other
Url: http://goog-perftools.sourceforge.net
License: %bsd
Packager: Avramenko Andrew <liks at altlinux.ru>
Source: http://goog-perftools.sourceforge.net/%name-%version.tar
Patch0: %name-as-needed.patch
Requires: gcc-c++
BuildRequires: gcc-c++ libunwind-devel rpm-build-licenses
%ifarch x86_64
Requires: libunwind
%endif
%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/Other
%description devel
The %name-devel package contains static and debug libraries and header
files for developing applications that use the %name package.
%prep
%setup
%patch0
%build
./configure --disable-static
make prefix=%prefix libdir=%_libdir
%install
make prefix=%buildroot%prefix libdir=%buildroot%_libdir 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
%_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
%_bindir/pprof
%_man1dir/pprof.1.gz
%files devel
%_includedir/google
%_libdir/libtcmalloc.so
%_libdir/libtcmalloc_minimal.so
%_libdir/libprofiler.so
%changelog
…
Todas as alterações você pod ver aqui
Name: google-perftools
Version: 0.97
Release: alt1
Summary: Performance tools for C++
Group: Development/Other
Url: http://goog-perftools.sourceforge.net
License: %bsd
Packager: Avramenko Andrew <liks at altlinux.ru>
Source: http://goog-perftools.sourceforge.net/%name-%version.tar
Patch0: %name-as-needed.patch
Requires: gcc-c++
BuildRequires: gcc-c++ libunwind-devel rpm-build-licenses
%ifarch x86_64
Requires: libunwind
%endif
%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/Other
%description devel
The %name-devel package contains static and debug libraries and header
files for developing applications that use the %name package.
%prep
%setup
%patch0
%build
./configure --disable-static
make prefix=%prefix libdir=%_libdir
%install
make prefix=%buildroot%prefix libdir=%buildroot%_libdir 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
%_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
%_bindir/pprof
%_man1dir/pprof.1.gz
%files devel
%_includedir/google
%_libdir/libtcmalloc.so
%_libdir/libtcmalloc_minimal.so
%_libdir/libprofiler.so
%changelog
…
Todas as alterações você pod ver aqui