packages: gc/gc.spec, gc/gc-sparc.patch (REMOVED)=?UTF-8?Q?=20?=- updated to 7.2 - remove...
qboosh
qboosh at pld-linux.org
Wed May 23 10:04:26 CEST 2012
Author: qboosh Date: Wed May 23 08:04:26 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 7.2
- removed obsolete sparc patch
- added C++ interface (as -c++-* subpackages)
- needs newer libatomic_ops (with pkg-config file)
---- Files affected:
packages/gc:
gc.spec (1.43 -> 1.44) , gc-sparc.patch (1.3 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: packages/gc/gc.spec
diff -u packages/gc/gc.spec:1.43 packages/gc/gc.spec:1.44
--- packages/gc/gc.spec:1.43 Wed Mar 28 09:27:41 2012
+++ packages/gc/gc.spec Wed May 23 10:04:21 2012
@@ -2,18 +2,18 @@
Summary: The Boehm-Demers-Weiser conservative garbage collector
Summary(pl.UTF-8): Konserwatywny odśmiecacz pamięci Boehma-Demersa-Weisera
Name: gc
-Version: 7.1
-Release: 2
+Version: 7.2
+Release: 1
License: BSD-like
Group: Libraries
Source0: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%{name}-%{version}.tar.gz
-# Source0-md5: 2ff9924c7249ef7f736ecfe6f08f3f9b
-Patch0: %{name}-sparc.patch
+# Source0-md5: d17aecedef3d73e75387fb63558fa4eb
URL: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
-BuildRequires: autoconf >= 2.53
+BuildRequires: autoconf >= 2.64
BuildRequires: automake
-BuildRequires: libatomic_ops
-BuildRequires: libtool
+BuildRequires: libatomic_ops >= 7.2
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -52,13 +52,48 @@
%description static -l pl.UTF-8
Statyczna wersja biblioteki gc
+%package c++
+Summary: C++ interface to GC library
+Summary(pl.UTF-8): Interfejs C++ do biblioteki GC
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description c++
+C++ interface to GC library.
+
+%description c++ -l pl.UTF-8
+Interfejs C++ do biblioteki GC.
+
+%package c++-devel
+Summary: Header files for C++ interface for GC library
+Summary(pl.UTF-8): Pliki nagłówkowe interfejsu C++ do biblioteki GC
+Group: Development/Libraries
+Requires: %{name}-c++ = %{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
+Requires: libstdc++-devel
+
+%description c++-devel
+Header files for C++ interface for GC library.
+
+%description c++-devel -l pl.UTF-8
+Pliki nagłówkowe interfejsu C++ do biblioteki GC.
+
+%package c++-static
+Summary: C++ interface to GC library - static library
+Summary(pl.UTF-8): Interfejs C++ do biblioteki GC - biblioteka statyczna
+Group: Development/Libraries
+Requires: %{name}-c++-devel = %{version}-%{release}
+
+%description c++-static
+C++ interface to GC library - static library.
+
+%description c++-static -l pl.UTF-8
+Interfejs C++ do biblioteki GC - biblioteka statyczna.
+
%prep
%setup -q
-%patch0 -p1
-
-# kill libtool.m4 inclusion
-%{__perl} -pi -e 's/^sinclude.*//' acinclude.m4
+# don't install docs to %{_datadir}/%{name}
%{__perl} -pi -e 's/^dist_pkgdata_DATA/EXTRA_DIST/' doc/doc.am
%build
@@ -70,6 +105,7 @@
%ifnarch sparc64
CPPFLAGS="-DUSE_LIBC_PRIVATES" \
%endif
+ --enable-cplusplus \
--enable-threads=posix
%{__make}
@@ -90,10 +126,12 @@
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post c++ -p /sbin/ldconfig
+%postun c++ -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
-%doc README.QUICK doc/README{,.{linux,changes,contributors,environment,macros}}
-%doc doc/*.html
+%doc README.QUICK doc/README{,.{linux,changes,contributors,environment,macros}} doc/*.html
%attr(755,root,root) %{_libdir}/libcord.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libcord.so.1
%attr(755,root,root) %{_libdir}/libgc.so.*.*.*
@@ -105,7 +143,25 @@
%attr(755,root,root) %{_libdir}/libgc.so
%{_libdir}/libcord.la
%{_libdir}/libgc.la
-%{_includedir}/gc
+%dir %{_includedir}/gc
+%{_includedir}/gc/private
+%{_includedir}/gc/cord.h
+%{_includedir}/gc/gc.h
+%{_includedir}/gc/gc_allocator.h
+%{_includedir}/gc/gc_amiga_redirects.h
+%{_includedir}/gc/gc_backptr.h
+%{_includedir}/gc/gc_config_macros.h
+%{_includedir}/gc/gc_gcj.h
+%{_includedir}/gc/gc_inline.h
+%{_includedir}/gc/gc_mark.h
+%{_includedir}/gc/gc_pthread_redirects.h
+%{_includedir}/gc/gc_tiny_fl.h
+%{_includedir}/gc/gc_typed.h
+%{_includedir}/gc/gc_version.h
+%{_includedir}/gc/leak_detector.h
+%{_includedir}/gc/new_gc_alloc.h
+%{_includedir}/gc/weakpointer.h
+%{_includedir}/gc.h
%{_pkgconfigdir}/bdw-gc.pc
%{_mandir}/man3/gc.3*
@@ -114,12 +170,34 @@
%{_libdir}/libcord.a
%{_libdir}/libgc.a
+%files c++
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgccpp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgccpp.so.1
+
+%files c++-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgccpp.so
+%{_libdir}/libgccpp.la
+%{_includedir}/gc/gc_cpp.h
+%{_includedir}/gc_cpp.h
+
+%files c++-static
+%defattr(644,root,root,755)
+%{_libdir}/libgccpp.a
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.44 2012/05/23 08:04:21 qboosh
+- updated to 7.2
+- removed obsolete sparc patch
+- added C++ interface (as -c++-* subpackages)
+- needs newer libatomic_ops (with pkg-config file)
+
Revision 1.43 2012/03/28 07:27:41 arekm
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/gc/gc.spec?r1=1.43&r2=1.44
More information about the pld-cvs-commit
mailing list