From fbb6436f802e45dd0d37e9f0bb0b3f3288136946 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:22:15 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.7-1mamba;Wed Mar 18 2020] --- README.md | 2 + gperftools.spec | 102 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 gperftools.spec diff --git a/README.md b/README.md index aaebe70..c262ccd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # gperftools +gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools. + diff --git a/gperftools.spec b/gperftools.spec new file mode 100644 index 0000000..0b1671a --- /dev/null +++ b/gperftools.spec @@ -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 +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 2.7-1mamba +- package created using the webbuild interface