1 Star 0 Fork 16

吴磊磊/jimtcl

forked from src-openEuler/jimtcl 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jimtcl.spec 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
吴磊磊 提交于 2022-05-11 15:29 . License compliance rectification
Name: jimtcl
Version: 0.78
Release: 4
Summary: A small embeddable Tcl interpreter
License: BSD-2-Clause-Views
URL: http://jim.tcl.tk
Source0: https://github.com/msteveb/jimtcl/archive/%{version}/jimtcl-%{version}.tar.gz
BuildRequires: asciidoc gcc
%description
Jim is an opensource small-footprint implementation of the Tcl programming language.
It implements a large subset of Tcl and adds new features like references with garbage
collection, closures, built-in Object Oriented Programming system, Functional Programming
commands, first-class arrays and UTF-8 support. All this with a binary size of about
100-200kB (depending upon selected options).
%package devel
Summary: Development files for jimtcl
Requires: jimtcl = %{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use jimtcl.
%prep
%autosetup -p1
%build
export CC=gcc LD=ld AR=ar RANLIB=ranlib STRIP=strip
%configure --full --shared --disable-option-checking
%make_build
%check
make test
%install
%make_install docdir=%{_docdir}/jimtcl
cd $RPM_BUILD_ROOT%{_libdir}; ln -s libjim.so.* libjim.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc LICENSE AUTHORS README
%{_docdir}/jimtcl/Tcl.html
%{_bindir}/jimsh
%{_libdir}/libjim.so.*
%files devel
%doc DEVELOPING README.metakit README.extensions README.namespaces README.oo README.utf-8 STYLE
%{_includedir}/
%{_bindir}/build-jim-ext
%{_libdir}/pkgconfig/jimtcl.pc
%{_libdir}/libjim.so
%exclude %{_datadir}/doc/jimtcl/
%exclude %{_libdir}/jim/{tcltest.tcl,README.extensions}
%changelog
* Wed May 11 2022 wulei <wulei80@h-partners.com> - 0.78-4
- License compliance rectification
* Thu Jun 03 2021 wulei <wulei80@huawei.com> - 0.78-3
- fixes failed: Could not find a C compiler
* Tue Nov 05 2019 Lijin Yang <yanglijin@huawei.com> - 0.78-2
- inital package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wu-leilei/jimtcl.git
git@gitee.com:wu-leilei/jimtcl.git
wu-leilei
jimtcl
jimtcl
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385