]> git.pld-linux.org Git - packages/dmalloc.git/commitdiff
initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 6 May 2001 21:40:14 +0000 (21:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dmalloc.spec -> 1.1

dmalloc.spec [new file with mode: 0644]

diff --git a/dmalloc.spec b/dmalloc.spec
new file mode 100644 (file)
index 0000000..e6ea026
--- /dev/null
@@ -0,0 +1,72 @@
+Summary:       A library for controlling and tracing dynamic memory allocations
+Summary(pl):   Biblioteka do kontroli i ¶ledzenia dynamicznej alokacji pamiêcie
+Name:          dmalloc
+Version:       4.8.2
+Release:       1
+License:       LGPL
+Group:         Development/Debuggers
+Group(de):     Entwicklung/Debugger
+Group(pl):     Programowanie/Odpluskwiacze
+Source0:       http://download.sourceforge.net/dmalloc/%{name}-%{version}.tgz
+URL:           http://dmalloc.com/
+BuildRequires: texinfo
+Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 runtime. These facilities include
+such things as memory-leak tracking, fence-post write detection,
+file/line number reporting, and general logging of statistics. It also
+provides support for the debugging of threaded programs.
+
+%description -l pl
+Biblioteka do odpluskwiania programów zastêpuje systemowe funkcje
+takie jak `malloc', `realloc', `calloc', `free' i inne funkcje do
+zarz±dzania pamiêci±. Mo¿liwo¶ci to wykrywanie wycieków pamiêci,
+wykrywanie zapisów poza zaalokowanym obszarem, informowanie o
+pliku/numerze linii, w której wystêpuje problem oraz generalne
+statystyki. Biblioteka umo¿liwia odpluskwianie programów w±tkowych.
+
+
+%prep
+%setup -q
+
+%build
+%configure \
+       --enable-threads \
+       --enable-shlib
+       
+%{__make} dmalloc_t all light dmalloc.info
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_infodir}
+
+%{makeinstall} \
+       shlibdir=$RPM_BUILD_ROOT%{_libdir} \
+       incdir=$RPM_BUILD_ROOT%{_includedir}
+
+install %{name}.info*  $RPM_BUILD_ROOT%{_infodir}
+
+gzip -9nf README NEWS ChangeLog
+
+%post
+/sbin/ldconfig
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+/sbin/ldconfig
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%{_includedir}/*
+%{_libdir}/*
+%{_infodir}/*
This page took 0.131298 seconds and 4 git commands to generate.