%define devname %mklibname -d %{name} %define libname %mklibname %{name} Name: dmalloc Version: 5.6.5 Release: %mkrel 1 Summary: Debugging MALLOC License: BSD style URL: http://dmalloc.com/ Group: Development/Other Source: http://dmalloc.com/releases/%{name}-%{version}.tgz Requires: %{devname} = %{version} %package -n %{devname} Summary: Debugging MALLOC library Group: Development/Other Provides: dmalloc-devel = %{version}-%{release} Provides: libdmalloc-devel = %{version}-%{release} Provides: %{libname} = %{version}-%{release} Obsoletes: dmalloc-devel < %{version}-%{release} Obsoletes: libdmalloc-devel < %{version}-%{release} Obsoletes: %{libname} < %{version}-%{release} %description The debug memory allocation or "dmalloc" library has been designed as a drop in replacement for the system's `malloc', `realloc', `calloc', `free' and other memory management routines while providing powerful debugging facilities configurable at run-time. These facilities include such things as memory-leak tracking, fence-post write detection, file/line number reporting, and general logging of statistics. %description -n %{devname} The debug memory allocation or "dmalloc" library has been designed as a drop in replacement for the system's `malloc', `realloc', `calloc', `free' and other memory management routines while providing powerful debugging facilities configurable at run-time. These facilities include such things as memory-leak tracking, fence-post write detection, file/line number reporting, and general logging of statistics. %prep %setup -q chmod -R o+rX . %build export CFLAGS=`echo %optflags | sed 's/-O2/-O0/'` # testing program will segfault when building with -fPIC flag, so # don't build shared library at all. Anyway this is for developers, # so building static library is enough. %configure --enable-threads # Segfaults with 'make heavy' %__make %install %make_install bindir=%{buildroot}%{_bindir} \ libdir=%{buildroot}%{_libdir} \ includedir=%{buildroot}%{_includedir} %files %doc ChangeLog.txt README.md TODO %{name}.html %{_bindir}/* %files -n %{devname} %{_includedir}/* %{_libdir}/*.a %changelog * Thu Dec 31 2020 barjac <barjac> 5.6.5-1.mga8 + Revision: 1666588 - new version 5.6.5 * Mon Dec 28 2020 barjac <barjac> 5.6.4-1.mga8 + Revision: 1664625 - new version * Fri Dec 18 2020 barjac <barjac> 5.6.2-1.mga8 + Revision: 1660934 - new version 5.6.2 * Wed Nov 25 2020 barjac <barjac> 5.6.1-1.mga8 + Revision: 1649202 - new version 5.6.1 - add threaded binary - adjust docs files list * Thu Feb 13 2020 umeabot <umeabot> 5.5.2-9.mga8 + Revision: 1511857 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%configure2_5x * Sun Sep 23 2018 umeabot <umeabot> 5.5.2-8.mga7 + Revision: 1297464 - Mageia 7 Mass Rebuild * Mon Jun 11 2018 daviddavid <daviddavid> 5.5.2-7.mga7 + Revision: 1236272 - rebuild for missing packages in repo * Mon Feb 08 2016 umeabot <umeabot> 5.5.2-6.mga6 + Revision: 946174 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 5.5.2-5.mga5 + Revision: 739251 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 5.5.2-4.mga5 + Revision: 678769 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 5.5.2-3.mga4 + Revision: 503887 - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 5.5.2-2.mga3 + Revision: 348841 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Nov 23 2012 barjac <barjac> 5.5.2-1.mga3 + Revision: 321142 - spec cleaned - used make instead of make heavy to fix segfault in build - switched libname/devname macros - less confusing - Import from Mandriva * Thu Dec 09 2010 Oden Eriksson <oeriksson@mandriva.com> 5.5.2-7mdv2011.0 + Revision: 617794 - the mass rebuild of 2010.0 packages * Thu Sep 03 2009 Thierry Vignaud <tv@mandriva.org> 5.5.2-6mdv2010.0 + Revision: 428284 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 5.5.2-5mdv2009.0 + Revision: 244418 - rebuild * Fri Feb 22 2008 Thierry Vignaud <tv@mandriva.org> 5.5.2-3mdv2008.1 + Revision: 173832 - rebuild b/c of missing subpackage on ia32 - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Dec 14 2007 Thierry Vignaud <tv@mandriva.org> 5.5.2-2mdv2008.1 + Revision: 119840 - rebuild b/c of missing subpackage on ia32 * Mon Oct 22 2007 Thierry Vignaud <tv@mandriva.org> 5.5.2-1mdv2008.1 + Revision: 101320 - info doc is no more build - disable parallel make (broken) - fix build - new release * Mon Aug 20 2007 Thierry Vignaud <tv@mandriva.org> 5.4.3-2mdv2008.0 + Revision: 67939 - fix upgrade * Mon Aug 20 2007 Thierry Vignaud <tv@mandriva.org> 5.4.3-1mdv2008.0 + Revision: 67882 - cleanups - new release - libify - add missing requires on info-install - use %%mkrel - Import dmalloc * Sat Jan 29 2005 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.4.2-1mdk - 5.4.2 * Thu May 20 2004 Abel Cheung <deaddog@deaddog.org> 5.3.0-1mdk - New version - libdify and change package splitting, allowing both 32bit and 64bit libraries to install - Spec cleanup - Build threaded and cxx library - Use -O0, otherwise test program segfaults * Fri Sep 05 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.2.1-1mdk - 5.2.1 * Sun Jul 06 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.2.0-1mdk - 5.2.0 * Tue Feb 11 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.8.2-3mdk - add good provides (All my excuses to Lenny, the best packager I know) * Tue Jan 14 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.8.2-2mdk - reintroduce in contrib (need by lineakconf) - split in %%name and %%name-devel * Mon Jul 02 2001 Lenny Cartier <lenny@mandrakesoft.com> 4.8.2-1mdk - updated to 4.8.2 * Tue Jan 09 2001 Lenny Cartier <lenny@mandrakesoft.com> 4.8.1-1mdk - updated to 4.8.1 * Tue Aug 29 2000 Lenny Cartier <lenny@mandrakesoft.com> 4.2.0-3mdk - BM * Wed Apr 26 2000 Lenny Cartier <lenny@mandrakesoft.com> 4.2.0-2mdk - fix group - fix files section - bzip2 patches * Thu Feb 10 2000 Lenny Cartier <lenny@mandrakesoft.com> - mandrake build