From 0914473cb73c6a914ab33d9a7c6d21b16e39fac0 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 1 Dec 2005 15:10:35 +0000 Subject: [PATCH] Summary: C++ Garbage Collector Name: gc Version: 6.6 Release: 4%{?dist} Group: System Environment/Libraries License: BSD Url: http://www.hpl.hp.com/personal/Hans_Boehm/gc/ Source: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc%{version}.tar .gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # force no undefined symbols (#166344) Patch1: gc-6.6-no-undefined.patch BuildRequires: libtool BuildRequires: automake Provides: libgc = %{version}-%{release} %description The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new. %package devel Summary: Libraries and header files for %{name} development Group: Development/Libraries Requires: %{name} = %{version}-%{release} Provides: libgc-devel = %{version}-%{release} %description devel Libraries and header files for %{name} development. %prep %setup -q -n %{name}%{version} %patch1 -p1 -b .no-undefined cp -f %{_datadir}/aclocal/libtool.m4 . libtoolize --copy --force aclocal automake autoconf #autoheader %build %configure \ --disable-static \ --enable-cplusplus \ --enable-threads=posix \ %ifarch %{ix86} --enable-parallel-mark %endif make %{?_smp_mflags} %check || : make check %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT install -p -D -m644 doc/gc.man $RPM_BUILD_ROOT%{_mandir}/man3/gc.3 ## Unpackaged files rm -rf $RPM_BUILD_ROOT%{_datadir}/gc rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc doc/README doc/README.changes doc/README.contributors %doc doc/README.environment doc/README.linux %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %doc doc/*.html %{_includedir}/* %{_libdir}/lib*.so %{_mandir}/man?/* %changelog Thu Dec 01 2005 Rex Dieter 6.6-4 - Provides: libgc(-devel) Wed Sep 14 2005 Rex Dieter 6.6-3 - no-undefined patch, libtool madness (#166344) Mon Sep 12 2005 Rex Dieter 6.6-2 - drop opendl patch (doesn't appear to be needed anymore) Fri Sep 09 2005 Rex Dieter 6.6-1 - 6.6 Wed May 25 2005 Rex Dieter 6.5-1 - 6.5 Fri Apr 7 2005 Michael Schwendt - rebuilt 6.4-2 - --enable-threads unconditionally - --enable-parallel-mark only on %%ix86 (#144681) 6.4-1 - 6.4 - update opendl patch 6.3-0.fdr.1 - 6.3(final) 6.3-0.fdr.0.4.alpha6 - dlopen patch 6.3-0.fdr.0.3.alpha6 - explictly --enable-threads ('n friends) 6.3-0.fdr.0.2.alpha6 - 6.3alpha6 - --disable-static - --enable-parallel-mark 6.3-0.fdr.0.1.alpha2 - 6.3alpha2 6.2-0.fdr.3 - OK, put manpage in man3. 6.2-0.fdr.2 - drop manpage pending feedback from developer. 6.2-0.fdr.1 - fix manpage location - remove .la file (it appears unnecessary after all, thanks to opendl patch) - remove cvs tag from description - touchup -devel desc/summary. - macro update to support Fedora Core 6.2-0.fdr.0 - 6.2 release. - update license (BSD) - Consider building with: --enable-parallel-mark (for now, no). --- gc.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gc.spec b/gc.spec index 2fa181f..d39a2c1 100644 --- a/gc.spec +++ b/gc.spec @@ -1,19 +1,21 @@ -# $Id: gc.spec,v 1.13 2005/09/16 16:07:48 rdieter Exp $ Summary: C++ Garbage Collector Name: gc Version: 6.6 -Release: 3%{?dist} +Release: 4%{?dist} Group: System Environment/Libraries License: BSD Url: http://www.hpl.hp.com/personal/Hans_Boehm/gc/ -Source: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.6.tar.gz +Source: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # force no undefined symbols (#166344) Patch1: gc-6.6-no-undefined.patch -BuildRequires: libtool automake autoconf +BuildRequires: libtool +BuildRequires: automake + +Provides: libgc = %{version}-%{release} %description @@ -24,6 +26,7 @@ collecting replacement for C malloc or C++ new. Summary: Libraries and header files for %{name} development Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Provides: libgc-devel = %{version}-%{release} %description devel Libraries and header files for %{name} development. @@ -94,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Dec 01 2005 Rex Dieter 6.6-4 +- Provides: libgc(-devel) + * Wed Sep 14 2005 Rex Dieter 6.6-3 - no-undefined patch, libtool madness (#166344)