Summary: Conservative garbage collector
Summary(pl): Konserwatywny od¶miecacz pamiêci
Name: gc
-Version: 6.0
+Version: 6.2
Release: 2
License: BSD-like
Group: Development/Libraries
Source0: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%{name}%{version}.tar.gz
+# Source0-md5: 15492b14ca7b9a9e035238611e9cd1e3
+Patch0: %{name}-ac_libdl_fix.patch
URL: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q -n %{name}%{version}
+%patch0 -p1
%build
-cp -f /usr/share/automake/config.* .
-%configure2_13
+rm -f acinclude.m4
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ --enable-threads=posix
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_includedir}/gc,%{_mandir}/man3}
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_includedir}/gc
+rm -f include/Makefile*
cp -ar include/* $RPM_BUILD_ROOT%{_includedir}/gc
-
-install -d $RPM_BUILD_ROOT%{_mandir}/man3
-cp doc/gc.man $RPM_BUILD_ROOT%{_mandir}/man3/gc.3
-
-gzip -9nf README.QUICK \
- doc/README{,.{linux,changes,contributors,environment,macros}}
+install doc/gc.man $RPM_BUILD_ROOT%{_mandir}/man3/gc.3
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%doc *.gz doc/*.gz doc/*.html
+%doc README.QUICK doc/README{,.{linux,changes,contributors,environment,macros}}
+%doc doc/*.html
%attr(755,root,root) %{_libdir}/*.so.*.*
%files devel