1 Star 0 Fork 18

shirely/guile

forked from src-openEuler/guile 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
guile.spec 3.60 KB
一键复制 编辑 原始数据 按行查看 历史
18302918689 提交于 2020-07-30 14:41 . add require
Name: guile
Version: 3.0.4
Release: 1
Epoch: 5
Summary: GNU's Ubiquitous Intelligent Language for Extension
License: LGPLv3+
URL: https://www.gnu.org/software/guile/
Source: https://ftp.gnu.org/gnu/guile/%{name}-%{version}.tar.xz
Patch1: guile-multilib.patch
Patch2: guile-threadstest.patch
Patch3: guile-2.0.14-gc_pkgconfig_private.patch
BuildRequires: gcc libtool gmp-devel readline-devel gc-devel libffi-devel
BuildRequires: gettext-devel libunistring-devel libtool-ltdl-devel git gdb guile
BuildRequires: custom_build_tool
Requires: coreutils
%description
This is Guile, a portable, embeddable Scheme implementation written in
C. Guile provides a machine independent execution platform that can be
linked in as a library when building extensible programs.
%package devel
Summary: Development files and Header files for %{name}
Requires: guile = %{epoch}:%{version}-%{release} gmp-devel gc-devel pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%build
%configure --disable-error-on-warning
sed -i 's|" $sys_lib_dlsearch_path "|" $sys_lib_dlsearch_path %{_libdir} "|' libtool
%make_build
%install
%make_install
install -d %{buildroot}%{_datadir}/guile/site/3.0
%delete_la_and_a
rm -f %{buildroot}%{_infodir}/dir
bzip2 NEWS
for i in %{buildroot}%{_infodir}/goops.info; do
iconv -f iso8859-1 -t utf-8 < $i > $i.utf8 && mv -f ${i}{.utf8,}
done
touch %{buildroot}%{_datadir}/guile/site/3.0/slibcat
ln -s guile %{buildroot}%{_bindir}/guile2
ln -s guile-tools %{buildroot}%{_bindir}/guile2-tools
cp %{_libdir}/libguile-2.0.so* %{buildroot}%{_libdir}/
cp %{_libdir}/libguilereadline-*.so %{buildroot}%{_libdir}/
find %{buildroot}%{_datadir} -name '*.scm' -exec touch -r "%{_specdir}/guile.spec" '{}' \;
find %{buildroot}%{_libdir} -name '*.go' -exec touch -r "%{_specdir}/guile.spec" '{}' \;
%check
make check
%ldconfig_scriptlets
%triggerin -- slib >= 3b4-1
export SCHEME_LIBRARY_PATH=%{_datadir}/slib/
%{_bindir}/guile --fresh-auto-compile --no-auto-compile -c \
"(use-modules (ice-9 slib)) (require 'new-catalog)" &> /dev/null || \
rm -f %{_datadir}/guile/site/%{mver}/slibcat
:
%triggerun -- slib >= 3b4-1
if [ "$2" = 0 ]; then
rm -f %{_datadir}/guile/site/%{mver}/slibcat
fi
%files
%doc AUTHORS
%license COPYING COPYING.LESSER LICENSE
%{_datadir}/guile/3.0/*
%dir %{_datadir}/guile/site/3.0
%{_bindir}/guild
%{_bindir}/guile
%{_bindir}/guile*
%{_bindir}/guile-tools
%{_libdir}/guile/3.0/ccache/*
%{_libdir}/guile/3.0/extensions/*
%{_libdir}/libguile-3.0.so.*
%{_libdir}/libguile-2.0.so.*
%{_libdir}/libguilereadline-*
%{_infodir}/guile.info*.gz
%{_infodir}/r5rs.info.gz
%ghost %{_datadir}/guile/site/3.0/slibcat
%exclude %{_libdir}/libguile*gdb.scm
%files devel
%{_bindir}/guile-config
%{_bindir}/guile-snarf
%{_includedir}/guile/3.0/libguile/*.h
%{_includedir}/guile/3.0/*.h
%{_libdir}/pkgconfig/guile-3.0.pc
%{_libdir}/libguile-*.0.so
%{_datadir}/aclocal/guile.m4
%files help
%doc HACKING NEWS.bz2 README THANKS
%{_mandir}/man1/guile.1.gz
%changelog
* Fri Jul 24 2020 hanhui <hanhui15@huawei.com> - 3.0.4
- update to guile-3.0.4
* Fri Mar 20 2020 songnannan <songnannan2@huawei.com> - 2.0.14-15
- add gdb in buildrequires
* Sat Sep 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.14-14
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove the libguile-2.0.so.22.8.1-gdb.scm from package
* Wed Sep 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.14-13
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shirely16/guile.git
git@gitee.com:shirely16/guile.git
shirely16
guile
guile
master

搜索帮助