From bf8ac199770236e28e39dc0790abbe9e3dc6f772 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:17:10 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.6.0-1mamba;Sun Dec 28 2014] --- README.md | 2 ++ jemalloc.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 jemalloc.spec diff --git a/README.md b/README.md index ec70cc7..78c0e99 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # jemalloc +jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. + diff --git a/jemalloc.spec b/jemalloc.spec new file mode 100644 index 0000000..c2ae723 --- /dev/null +++ b/jemalloc.spec @@ -0,0 +1,80 @@ +Name: jemalloc +Version: 3.6.0 +Release: 1mamba +Summary: A general purpose malloc(3) implementation +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.canonware.com/jemalloc/ +Source: http://www.canonware.com/download/jemalloc/jemalloc-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. + +%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} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%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}/libjemalloc.so.* +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_bindir}/jemalloc.sh +%dir %{_includedir}/jemalloc +%{_includedir}/jemalloc/jemalloc.h +%{_libdir}/libjemalloc.a +%{_libdir}/libjemalloc.so +%{_libdir}/libjemalloc_pic.a +%dir %{_datadir}/doc/jemalloc +%{_datadir}/doc/jemalloc/jemalloc.html +%{_mandir}/man3/jemalloc.3* +%doc ChangeLog README + +%changelog +* Sun Dec 28 2014 Silvan Calarco 3.6.0-1mamba +- package created using the webbuild interface