]> git.pld-linux.org Git - packages/dmalloc.git/commitdiff
- added info patch with fix info index entry for dmalloc, dmalloc-4_8_2-1
authorkloczek <kloczek@pld-linux.org>
Wed, 10 Apr 2002 19:48:29 +0000 (19:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- merge pic patch drom rawhide (compile with -fPIC files for shared libraries),
- added static subpackage.

Changed files:
    dmalloc.spec -> 1.9

dmalloc.spec

index a4b7520ddda9e4e34430d7a990a80fc3dfce5cc5..bb244f151b02a885fcea73dea43b9b6c823197bb 100644 (file)
@@ -6,7 +6,11 @@ Release:       1
 License:       LGPL
 Group:         Development/Debuggers
 Source0:       http://download.sourceforge.net/dmalloc/%{name}-%{version}.tgz
+Patch0:                %{name}-info.patch
+PAtch1:                %{name}-pic.patch
 URL:           http://dmalloc.com/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: texinfo
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,12 +31,27 @@ wykrywanie zapis
 pliku/numerze linii, w której wystêpuje problem oraz generalne
 statystyki. Biblioteka umo¿liwia odpluskwianie programów w±tkowych.
 
+%package static
+Summary:       Static dmalloc libraries
+Summary(pl):   Biblioteki statyczne dmalloc
+Group:         Development/Debuggers
+Requires:      %{name} = %{version}
+
+%description static
+Static dmalloc libraries.
+
+%description static -l pl
+Biblioteki statyczne dmalloc.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-%configure2_13 \
+aclocal
+autoconf
+%configure \
        --enable-cxx \
        --enable-threads \
        --enable-shlib
@@ -66,5 +85,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc *.gz
 %attr(755,root,root) %{_bindir}/*
 %{_includedir}/*
-%{_libdir}/*
+%attr(755,root,root) %{_libdir}/lib*.so
 %{_infodir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.09729 seconds and 4 git commands to generate.