Compare commits
No commits in common. "c4aa7a0893b02b3892ad079107019ef1c4630dc3" and "03fadc2f156ac14285263ef637a58c1d8ff51082" have entirely different histories.
c4aa7a0893
...
03fadc2f15
BIN
jimtcl-0.78.tar.gz
Normal file
BIN
jimtcl-0.78.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
67
jimtcl.spec
67
jimtcl.spec
@ -1,19 +1,12 @@
|
|||||||
Name: jimtcl
|
Name: jimtcl
|
||||||
Version: 0.82
|
Version: 0.78
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: A small embeddable Tcl interpreter
|
Summary: A small embeddable Tcl interpreter
|
||||||
License: BSD-2-Clause-Views
|
License: BSD
|
||||||
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 gcc-c++ make
|
BuildRequires: asciidoc
|
||||||
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.
|
||||||
@ -31,63 +24,39 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
rm -rf sqlite3
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CC=%{__cc} LD=ld AR=ar RANLIB=ranlib STRIP=strip
|
export CC=gcc LD=ld AR=ar RANLIB=ranlib STRIP=strip
|
||||||
%ifarch loongarch64
|
%configure --full --shared --disable-option-checking
|
||||||
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 INSTALL_DOCS=nodocs
|
%make_install docdir=%{_docdir}/jimtcl
|
||||||
rm %{buildroot}/%{_libdir}/jim/README.extensions
|
cd $RPM_BUILD_ROOT%{_libdir}; ln -s libjim.so.* libjim.so
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%doc LICENSE AUTHORS README
|
||||||
%doc AUTHORS README README.ensemble README.extensions README.namespaces
|
%{_docdir}/jimtcl/Tcl.html
|
||||||
%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 STYLE
|
%doc DEVELOPING README.metakit README.extensions README.namespaces README.oo README.utf-8 STYLE
|
||||||
%{_includedir}/*
|
%{_includedir}/
|
||||||
%{_bindir}/build-jim-ext
|
%{_bindir}/build-jim-ext
|
||||||
%{_libdir}/libjim.so
|
|
||||||
%{_libdir}/pkgconfig/jimtcl.pc
|
%{_libdir}/pkgconfig/jimtcl.pc
|
||||||
|
%{_libdir}/libjim.so
|
||||||
|
%exclude %{_datadir}/doc/jimtcl/
|
||||||
|
%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