1 Summary: Small footprint implementation of Tcl programming language
6 Group: Development/Languages/Tcl
7 Source0: https://github.com/msteveb/jimtcl/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 9ae9b0b685ee2df708c747ad7fce4d70
9 URL: http://jim.tcl.tk/
10 BuildRequires: asciidoc
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Jim is an opensource small-footprint implementation of the Tcl
16 programming language. It implements a large subset of Tcl and adds new
17 features like references with garbage collection, closures, built-in
18 Object Oriented Programming system, Functional Programming commands,
19 first-class arrays and UTF-8 support. All this with a binary size of
20 about 100-200kB (depending upon selected options).
23 Summary: jimtcl header files and development documentation
24 Group: Development/Languages/Tcl
25 Requires: %{name} = %{version}-%{release}
28 jimtcl header files and development documentation.
35 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
36 LDFLAGS="%{rpmldflags}" \
42 %{__make} all Tcl.html
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_libdir}
49 DESTDIR=$RPM_BUILD_ROOT
51 %if "%{_lib}" != "lib"
52 mv $RPM_BUILD_ROOT{/usr/lib/*,%{_libdir}}
55 (cd $RPM_BUILD_ROOT%{_libdir} ; ln -s libjim.so{.%{version},})
58 rm -rf $RPM_BUILD_ROOT
60 %post -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
64 %defattr(644,root,root,755)
65 %doc AUTHORS BUGS DEVELOPING README* TODO
66 %attr(755,root,root) %{_bindir}/jimsh
68 %attr(755,root,root) %{_libdir}/libjim.so.%{version}
71 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/build-jim-ext
75 %attr(755,root,root) %{_libdir}/libjim.so