Compare commits
10 Commits
03fadc2f15
...
c4aa7a0893
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4aa7a0893 | ||
|
|
20b9cbdfc8 | ||
|
|
e919afb0f6 | ||
|
|
7bb561f44d | ||
|
|
73bb012751 | ||
|
|
eabebc6d28 | ||
|
|
d21fa15141 | ||
|
|
91375cf35d | ||
|
|
2f5d0f7d60 | ||
|
|
0d03902280 |
Binary file not shown.
BIN
jimtcl-0.82.tar.gz
Normal file
BIN
jimtcl-0.82.tar.gz
Normal file
Binary file not shown.
67
jimtcl.spec
67
jimtcl.spec
@ -1,12 +1,19 @@
|
|||||||
Name: jimtcl
|
Name: jimtcl
|
||||||
Version: 0.78
|
Version: 0.82
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: A small embeddable Tcl interpreter
|
Summary: A small embeddable Tcl interpreter
|
||||||
License: BSD
|
License: BSD-2-Clause-Views
|
||||||
URL: http://jim.tcl.tk
|
URL: http://jim.tcl.tk
|
||||||
Source0: https://github.com/msteveb/jimtcl/archive/%{version}/jimtcl-%{version}.tar.gz
|
Source0: https://github.com/msteveb/jimtcl/archive/%{version}/jimtcl-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc gcc-c++ make
|
||||||
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
BuildRequires: pkgconfig(hiredis)
|
||||||
|
BuildRequires: pkgconfig(readline)
|
||||||
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
BuildRequires: pkgconfig(sqlite3)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
BuildRequires: hostname
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Jim is an opensource small-footprint implementation of the Tcl programming language.
|
Jim is an opensource small-footprint implementation of the Tcl programming language.
|
||||||
@ -24,39 +31,63 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
rm -rf sqlite3
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CC=gcc LD=ld AR=ar RANLIB=ranlib STRIP=strip
|
export CC=%{__cc} LD=ld AR=ar RANLIB=ranlib STRIP=strip
|
||||||
%configure --full --shared --disable-option-checking
|
%ifarch loongarch64
|
||||||
|
rm -rf autosetup/autosetup-config.sub
|
||||||
|
rm -rf autosetup/autosetup-config.guess
|
||||||
|
/usr/bin/cp -fv /usr/lib/rpm/openEuler/config.guess autosetup/autosetup-config.guess
|
||||||
|
/usr/bin/cp -fv /usr/lib/rpm/openEuler/config.sub autosetup/autosetup-config.sub
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%configure --shared --disable-option-checking --allextmod --docdir=%{_datadir}/doc/%{name}
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
rm tests/ssl.test
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install docdir=%{_docdir}/jimtcl
|
%make_install INSTALL_DOCS=nodocs
|
||||||
cd $RPM_BUILD_ROOT%{_libdir}; ln -s libjim.so.* libjim.so
|
rm %{buildroot}/%{_libdir}/jim/README.extensions
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE AUTHORS README
|
%license LICENSE
|
||||||
%{_docdir}/jimtcl/Tcl.html
|
%doc AUTHORS README README.ensemble README.extensions README.namespaces
|
||||||
|
%doc README.oo README.redis README.sqlite README.utf-8
|
||||||
|
%doc %{_datadir}/doc/%{name}/Tcl.html
|
||||||
|
%{_bindir}/jimdb
|
||||||
%{_bindir}/jimsh
|
%{_bindir}/jimsh
|
||||||
|
%dir %{_libdir}/jim
|
||||||
|
%{_libdir}/jim/*.tcl
|
||||||
|
%{_libdir}/jim/*.so
|
||||||
%{_libdir}/libjim.so.*
|
%{_libdir}/libjim.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc DEVELOPING README.metakit README.extensions README.namespaces README.oo README.utf-8 STYLE
|
%doc DEVELOPING STYLE
|
||||||
%{_includedir}/
|
%{_includedir}/*
|
||||||
%{_bindir}/build-jim-ext
|
%{_bindir}/build-jim-ext
|
||||||
%{_libdir}/pkgconfig/jimtcl.pc
|
|
||||||
%{_libdir}/libjim.so
|
%{_libdir}/libjim.so
|
||||||
%exclude %{_datadir}/doc/jimtcl/
|
%{_libdir}/pkgconfig/jimtcl.pc
|
||||||
%exclude %{_libdir}/jim/{tcltest.tcl,README.extensions}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 18 2024 wangqiang <wangqiang1@kylinos.cn> - 0.82-2
|
||||||
|
- Fix CC compiler support
|
||||||
|
|
||||||
|
* Wed May 17 2023 liyanan <thistleslyn@163.com> - 0.82-1
|
||||||
|
- update to 0.82
|
||||||
|
|
||||||
|
* Tue Dec 13 2022 Wenlong Zhang<zhangwenlong@loongson.cn> - 0.78-5
|
||||||
|
- update autosetup-config.guess and autosetup-config.sub to support loongarch
|
||||||
|
|
||||||
|
* 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
|
* Tue Nov 05 2019 Lijin Yang <yanglijin@huawei.com> - 0.78-2
|
||||||
- inital package
|
- inital package
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user