2007-01-16 00:13:31 +01:00
|
|
|
#
|
|
|
|
# spec file for package gc (Version 6.6)
|
|
|
|
#
|
2008-02-25 17:08:38 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:13:31 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2007-05-27 00:13:56 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:13:31 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-25 17:08:38 +01:00
|
|
|
|
2007-05-27 00:13:56 +02:00
|
|
|
Name: gc
|
|
|
|
Version: 6.6
|
2008-02-25 17:08:38 +01:00
|
|
|
Release: 96
|
2007-11-23 01:54:48 +01:00
|
|
|
AutoReqProv: on
|
2007-05-27 00:13:56 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-11-23 01:54:48 +01:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Url: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
|
2007-05-27 00:13:56 +02:00
|
|
|
Summary: A garbage collector for C and C++
|
|
|
|
Source: %{name}%{version}.tar.bz2
|
2007-01-16 00:13:31 +01:00
|
|
|
#Patch: %{name}-%{version}-shared.diff
|
2007-05-27 00:13:56 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
Patch: gcc4.patch
|
|
|
|
Patch1: configure.patch
|
2007-01-16 00:13:31 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Boehm-Demers-Weiser conservative garbage collector can be used as a
|
|
|
|
garbage collecting replacement for C malloc or C++ new. It allows you
|
|
|
|
to allocate memory basically as you normally would, without explicitly
|
|
|
|
deallocating memory that is no longer useful. The collector
|
|
|
|
automatically recycles memory when it determines that it can no longer
|
|
|
|
be otherwise accessed.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-27 00:13:56 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hans-J. Boehm
|
|
|
|
Alan J. Demers
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: A garbage collector for C and C++
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Provides: gc:/usr/include/gc/gc.h
|
2008-02-25 17:08:38 +01:00
|
|
|
Requires: gc = %{version} glibc-devel
|
2007-11-23 01:54:48 +01:00
|
|
|
AutoReqProv: on
|
2007-05-27 00:13:56 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The Boehm-Demers-Weiser conservative garbage collector can be used as a
|
|
|
|
garbage collecting replacement for C malloc or C++ new. It allows you
|
|
|
|
to allocate memory basically as you normally would, without explicitly
|
|
|
|
deallocating memory that is no longer useful. The collector
|
|
|
|
automatically recycles memory when it determines that it can no longer
|
|
|
|
be otherwise accessed.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:13:31 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hans-J. Boehm
|
|
|
|
Alan J. Demers
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %name%version
|
|
|
|
%patch
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
|
|
|
#%{suse_update_config -f}
|
|
|
|
#autoreconf -fi
|
|
|
|
#%{__libtoolize} -f
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
./configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--enable-cplusplus
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
rm -fr $RPM_BUILD_ROOT/usr/share/gc # docs
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-02-25 17:08:38 +01:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2007-01-16 00:13:31 +01:00
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2007-05-27 00:13:56 +02:00
|
|
|
%doc README.QUICK doc/README*
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc doc/[a-z]*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/lib*a
|
2007-01-16 00:13:31 +01:00
|
|
|
%{_includedir}/*
|
|
|
|
|
2007-05-27 00:13:56 +02:00
|
|
|
%changelog
|
2008-02-25 17:08:38 +01:00
|
|
|
* Mon Feb 25 2008 crrodriguez@suse.de
|
|
|
|
- fix library-without-ldconfig-postin errors
|
|
|
|
* Wed Nov 21 2007 uli@suse.de
|
2007-11-23 01:54:48 +01:00
|
|
|
- implicit malloc() redirection breaks some apps (bug #335123)
|
2008-02-25 17:08:38 +01:00
|
|
|
* Sun May 27 2007 ro@suse.de
|
2007-05-27 00:13:56 +02:00
|
|
|
- split off devel package
|
2008-02-25 17:08:38 +01:00
|
|
|
* Mon Jan 30 2006 uli@suse.de
|
2007-01-16 00:13:31 +01:00
|
|
|
- enabled malloc redirection, C++ support
|
|
|
|
- fixed shared libs
|
2008-02-25 17:08:38 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:13:31 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-25 17:08:38 +01:00
|
|
|
* Wed Jan 11 2006 uli@suse.de
|
2007-01-16 00:13:31 +01:00
|
|
|
- initial package
|