package created using the webbuild interface [release 2.7-1mamba;Wed Mar 18 2020]
This commit is contained in:
parent
b3c1dfabfe
commit
fbb6436f80
@ -1,2 +1,4 @@
|
|||||||
# gperftools
|
# gperftools
|
||||||
|
|
||||||
|
gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.
|
||||||
|
|
||||||
|
102
gperftools.spec
Normal file
102
gperftools.spec
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
Name: gperftools
|
||||||
|
Version: 2.7
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A collection of a high-performance multi-threaded malloc() implementation
|
||||||
|
Group: System/Tools
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/gperftools/gperftools.git
|
||||||
|
## GITSOURCE https://github.com/gperftools/gperftools.git gperftools-2.7
|
||||||
|
Source: https://github.com/gperftools/gperftools.git/gperftools-%{version}/gperftools-%{version}.tar.bz2
|
||||||
|
License: BSD
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: liblzma-devel
|
||||||
|
BuildRequires: libperl
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libunwind-devel
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: pkg-config
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/pprof
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libprofiler.so.*
|
||||||
|
%{_libdir}/libtcmalloc.so.*
|
||||||
|
%{_libdir}/libtcmalloc_*.so.*
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/google
|
||||||
|
%{_includedir}/google/*
|
||||||
|
%dir %{_includedir}/gperftools
|
||||||
|
%{_includedir}/gperftools/*
|
||||||
|
%{_libdir}/libprofiler.a
|
||||||
|
%{_libdir}/libprofiler.la
|
||||||
|
%{_libdir}/libprofiler.so
|
||||||
|
%{_libdir}/libtcmalloc.a
|
||||||
|
%{_libdir}/libtcmalloc.la
|
||||||
|
%{_libdir}/libtcmalloc.so
|
||||||
|
%{_libdir}/libtcmalloc_*.a
|
||||||
|
%{_libdir}/libtcmalloc_*.la
|
||||||
|
%{_libdir}/libtcmalloc_*.so
|
||||||
|
%{_libdir}/pkgconfig/libprofiler.pc
|
||||||
|
%{_libdir}/pkgconfig/libtcmalloc.pc
|
||||||
|
%{_libdir}/pkgconfig/libtcmalloc_*.pc
|
||||||
|
%dir %{_datadir}/doc/gperftools
|
||||||
|
%{_datadir}/doc/gperftools/*
|
||||||
|
%{_mandir}/man1/pprof.1*
|
||||||
|
%doc ChangeLog ChangeLog.old NEWS README TODO
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Mar 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user