2007-01-16 00:13:31 +01:00
|
|
|
#
|
|
|
|
# spec file for package gc (Version 6.6)
|
|
|
|
#
|
2009-04-02 16:07:38 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:13:31 +01:00
|
|
|
#
|
2008-11-17 16:49:37 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
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
|
2011-07-13 09:00:01 +02:00
|
|
|
Version: 7.1.9.6
|
|
|
|
%define src_ver 7.2alpha6
|
2009-04-02 16:07:38 +02:00
|
|
|
Release: 138
|
2007-11-23 01:54:48 +01:00
|
|
|
AutoReqProv: on
|
2008-11-17 16:49:37 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: boehm-gc-64bit
|
|
|
|
%endif
|
|
|
|
#
|
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++
|
2011-07-13 09:00:01 +02:00
|
|
|
Source: %{name}-%{src_ver}.tar.bz2
|
|
|
|
Patch0: %{name}-build.patch
|
2007-05-27 00:13:56 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: gcc-c++
|
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
|
2008-11-17 16:49:37 +01:00
|
|
|
License: BSD 3-Clause
|
2007-05-27 00:13:56 +02:00
|
|
|
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
|
2011-07-13 09:00:01 +02:00
|
|
|
%setup -q -n %{name}-%{src_ver}
|
|
|
|
%patch0 -p1
|
2007-01-16 00:13:31 +01:00
|
|
|
|
|
|
|
%build
|
2011-07-13 09:00:01 +02:00
|
|
|
%{suse_update_config -f}
|
|
|
|
autoreconf -fi
|
|
|
|
%{__libtoolize} -f
|
2009-04-02 16:07:38 +02:00
|
|
|
%configure --disable-static --with-pic --enable-cplusplus
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:13:31 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
rm -fr $RPM_BUILD_ROOT/usr/share/gc # docs
|
2009-04-02 16:07:38 +02:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
2007-01-16 00:13:31 +01:00
|
|
|
|
|
|
|
%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
|
2011-07-13 09:00:01 +02:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-01-16 00:13:31 +01:00
|
|
|
%{_includedir}/*
|
|
|
|
|
2007-05-27 00:13:56 +02:00
|
|
|
%changelog
|
2009-04-02 16:07:38 +02:00
|
|
|
* Thu Apr 02 2009 crrodriguez@suse.de
|
|
|
|
- remove static libraries and "la" files
|
|
|
|
- run make check
|
2008-12-15 12:30:55 +01:00
|
|
|
* Wed Dec 10 2008 olh@suse.de
|
|
|
|
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
|
|
|
(bnc#437293)
|
2008-11-17 16:49:37 +01:00
|
|
|
* Tue Nov 11 2008 olh@suse.de
|
|
|
|
- use gcc built-in atomic functions, to fix w3m build
|
|
|
|
* Thu Oct 30 2008 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
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-11-17 16:49:37 +01:00
|
|
|
* Sat May 26 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
|