diff options
author | Slava Barinov <v.barinov@samsung.com> | 2020-04-09 18:39:40 +0300 |
---|---|---|
committer | Slava Barinov <v.barinov@samsung.com> | 2020-04-10 10:21:28 +0300 |
commit | d44df235f5dd0f628ea70cf0d915797da7a30bab (patch) | |
tree | 3c88c72e9b4b179537843694965a3e9d4a44f8b2 | |
parent | 1b0f56377f2e1469e9308bc9d55d06b9c9e6a354 (diff) | |
download | libgc-accepted/tizen_6.5_base.tar.gz libgc-accepted/tizen_6.5_base.tar.bz2 libgc-accepted/tizen_6.5_base.zip |
packaging: Add devel-static packagetizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasesubmit/tizen_base/20200416.121222submit/tizen_7.0_base_hotfix/20221115.161601submit/tizen_7.0_base/20221028.201101submit/tizen_6.5_base/20211027.200801submit/tizen_6.5_base/20211027.183101submit/tizen_6.5_base/20211026.180901submit/tizen_6.0_base_hotfix/20201102.162701submit/tizen_6.0_base_hotfix/20201030.192501submit/tizen_6.0_base/20201029.184801accepted/tizen/base/20230714.003347accepted/tizen/base/20200419.223854accepted/tizen/8.0/base/20231005.044843accepted/tizen/7.0/base/tool/hotfix/20221115.085000accepted/tizen/7.0/base/tool/20221028.120514accepted/tizen/7.0/base/hotfix/20230714.003756accepted/tizen/7.0/base/20230714.002942accepted/tizen/6.5/base/tool/20211027.120204accepted/tizen/6.5/base/20230714.002533accepted/tizen/6.0/base/tool/hotfix/20201102.090237accepted/tizen/6.0/base/tool/hotfix/20201030.124945accepted/tizen/6.0/base/tool/20201029.112138accepted/tizen/6.0/base/20230713.142909accepted/tizen/6.0/base/20201029.110834tizen_basetizen_8.0_basetizen_7.0_base_hotfixtizen_7.0_basetizen_6.5_basetizen_6.0_base_hotfixtizen_6.0_baseaccepted/tizen_base_toolaccepted/tizen_baseaccepted/tizen_8.0_baseaccepted/tizen_7.0_base_tool_hotfixaccepted/tizen_7.0_base_toolaccepted/tizen_7.0_base_hotfixaccepted/tizen_7.0_baseaccepted/tizen_6.5_base_toolaccepted/tizen_6.5_baseaccepted/tizen_6.0_base_tool_hotfixaccepted/tizen_6.0_base_toolaccepted/tizen_6.0_base
Change-Id: I6d096b33dc9746345d73277af734730de441e1f9
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r-- | packaging/libgc.spec | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/packaging/libgc.spec b/packaging/libgc.spec index f4cdcb21..23aa2e61 100644 --- a/packaging/libgc.spec +++ b/packaging/libgc.spec @@ -1,3 +1,4 @@ +%define keepstatic 1 Name: libgc Version: 8.0.4 Release: 0 @@ -16,7 +17,6 @@ deallocating memory that is no longer useful. The collector automatically recycles memory when it determines that it can no longer be otherwise accessed. - %package devel Summary: A garbage collector for C and C++ Group: Development/Libraries/C and C++ @@ -32,6 +32,21 @@ deallocating memory that is no longer useful. The collector automatically recycles memory when it determines that it can no longer be otherwise accessed. +%package devel-static +Summary: A garbage collector for C and C++ +Group: Development/Libraries/C and C++ +Provides: gc:/usr/include/gc/gc.h +Requires: glibc-devel-static +Requires: %{name}-devel = %version + +%description devel-static +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. + %prep %setup -q -n %{name}-%{version} cp %{SOURCE1001} . @@ -40,13 +55,14 @@ cp %{SOURCE1001} . # refresh auto*/libtool to purge rpaths rm -f libtool libtool.m4 -%reconfigure --disable-static \ +%reconfigure --enable-static \ --with-pic \ --with-gnu-ld \ --enable-cplusplus \ --enable-large-config \ --enable-threads=posix \ - --enable-parallel-mark + --enable-parallel-mark \ + --disable-rpath %{__make} %{?_smp_mflags} @@ -75,7 +91,7 @@ make check %_libdir/libcord.so.1* %_libdir/libgc*.so.1* -%files -n libgc-devel +%files devel %defattr(-, root, root) %manifest %{name}.manifest %_libdir/libcord.so @@ -84,3 +100,11 @@ make check %_includedir/gc.h %_includedir/gc_cpp.h %_includedir/gc/ + +%files devel-static +%defattr(-, root, root) +%manifest %{name}.manifest +%_libdir/libcord.a +%_libdir/libgc.a +%_libdir/libgccpp.a +%_libdir/libgctba.a |