1 Star 0 Fork 17

jlwwlsqc/gc

forked from src-openEuler/gc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gc.spec 2.17 KB
一键复制 编辑 原始数据 按行查看 历史
Name: gc
Version: 8.0.4
Release: 4
Summary: A garbage collector for C and C++
License: BSD and GPLv1+
Url: http://www.hboehm.info/gc/
Source0: http://www.hboehm.info/gc/gc_source/gc-%{version}.tar.gz
BuildRequires: gcc gcc-c++ libtool libatomic_ops-devel
%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
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{summary}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
# refresh auto*/libtool to purge rpaths
rm -f libtool libtool.m4
autoreconf -i -f
# See https://bugzilla.redhat.com/show_bug.cgi?id=689877
CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
%configure \
--disable-static \
--disable-docs \
--enable-cplusplus \
--enable-large-config \
--enable-threads=posix
%{make_build}
%install
%{make_install}
install -p -D -m644 doc/gc.man %{buildroot}%{_mandir}/man3/gc.3
## Delete unpackaged files
rm -rfv %{buildroot}%{_datadir}/gc/
rm -fv %{buildroot}%{_libdir}/lib*.la
%check
make check
%files
%doc AUTHORS ChangeLog README.md
%{_libdir}/libcord.so.1*
%{_libdir}/libgc.so.1*
%{_libdir}/libgccpp.so.1*
%files devel
%doc doc/README.environment doc/README.linux
%{_includedir}/gc.h
%{_includedir}/gc_cpp.h
%{_includedir}/gc/
%{_libdir}/libcord.so
%{_libdir}/libgc.so
%{_libdir}/libgccpp.so
%{_libdir}/pkgconfig/bdw-gc.pc
%{_mandir}/man3/gc.3*
%changelog
* Thu Jul 22 2021 wangchen<wangchen137@huawei.com> - 8.0.4-4
- Deleta unnecessary gdb from BuildRequires
* Fri Jun 4 2021 panxiaohe<panxiaohe@huawei.com> - 8.0.4-3
- add gcc-c++ to BuildRequires to use c++ command
* Sat Mar 14 2020 shenyangyang<shenyangyang4@huawei.com> - 8.0.4-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add build requires of gdb
* Tue Nov 5 2019 shenyangyang<shenyangyang4@huawei.com> - 8.0.4-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update gc to 8.0.4 to solve build problem of guile
* Wed Sep 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.6.12-2
- Modify license
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.6.12-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jlwwlsqc/gc.git
git@gitee.com:jlwwlsqc/gc.git
jlwwlsqc
gc
gc
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385