Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4b7c17798c
!11 tcllib升级至1.20
Merge pull request !11 from 吴磊磊/openEuler-22.03-LTS-Next
2022-01-13 07:29:48 +00:00
wu-leilei
a5f1ea95d9 package update 2022-01-12 16:30:59 +08:00
openeuler-ci-bot
8606e290dd !8 Fix invalid command name log
From: @ultra_planet
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2020-10-15 17:01:52 +08:00
lingsheng
74a17cde22 Fix invalid command name log 2020-10-15 16:39:12 +08:00
openeuler-ci-bot
eeb6eaf122 !3 【轻量级 PR】:修正yaml错误
Merge pull request !3 from Shinwell_Hu/N/A
2020-06-27 18:16:00 +08:00
Shinwell_Hu
c75aaea5eb 修正yaml错误 2020-06-24 16:20:08 +08:00
openeuler-ci-bot
8cc0725b01 !2 add tcllib.yaml
Merge pull request !2 from 成子晗/master
2020-05-11 09:51:35 +08:00
chengzihan2
280e5d120d add tcllib.yaml 2020-05-07 16:50:48 +08:00
openeuler-ci-bot
795f161eca !1 add Packages
Merge pull request !1 from gu-gu-gu/Add
2020-01-10 17:49:18 +08:00
wanjk19
def69d7d56 Add package 2020-01-10 17:45:57 +08:00
4 changed files with 100 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From d1c34d298499d49bfababeceecbe75702a338bca Mon Sep 17 00:00:00 2001
From: lingsheng <lingsheng@huawei.com>
Date: Thu, 15 Oct 2020 16:29:16 +0800
Subject: [PATCH] Fix invalid command name log
---
apps/nns | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/nns b/apps/nns
index ccf58aa..fabcb09 100755
--- a/apps/nns
+++ b/apps/nns
@@ -257,7 +257,7 @@ proc ::nns::Do.search.print {contents} {
log::info "Searching at name service at [My]"
if {![llength $contents]} {
- log info "Nothing found..."
+ log::info "Nothing found..."
return
}
--
2.23.0

BIN
tcllib-1.20.tar.xz Normal file

Binary file not shown.

71
tcllib.spec Normal file
View File

@ -0,0 +1,71 @@
%global tcl_version %(echo 'puts $tcl_version' | tclsh)
%global tcl_sitelib %{_datadir}/tcl%{tcl_version}
Summary: The standard Tcl library
Name: tcllib
Version: 1.20
Release: 0
License: BSD
URL: http://tcllib.sourceforge.net/
Source: https://downloads.sourceforge.net/tcllib/%{name}-%{version}.tar.xz
BuildArch: noarch
Requires: tcl(abi) = 8.6
BuildRequires: tcl >= 8.3.1
Patch0001: 0001-Fix-invalid-command-name-log.patch
%description
Tcllib, the Tcl Standard Library is a collection of Tcl packages
that provide utility functions useful to a large collection of Tcl
programmers.
%package help
Requires: tcl(abi) = 8.6
Summary: help documentation for tcllib
%description help
This package contains the help documentation for tcllib.
%prep
%autosetup -p1
chmod -x modules/doctools/mpformats/fr.msg
iconv --from=ISO-8859-1 --to=UTF-8 modules/struct/pool.html > modules/struct/pool.html.new
mv -f modules/struct/pool.html.new modules/struct/pool.html
%build
%install
%{_bindir}/tclsh installer.tcl -no-gui -no-wait -no-html -no-examples \
-pkg-path %{buildroot}/%{tcl_sitelib}/%name-%version -app-path %{buildroot}%{_bindir} \
-nroff-path %{buildroot}%_mandir/mann
find %{buildroot}/%{_datadir} -name \*.tcl | xargs chmod 0644
%files
%doc support/releases/PACKAGES ChangeLog
%doc modules/exif/*.html modules/ftp/docs/*.html modules/mime/*.html modules/stooop/*.html
%doc modules/textutil/*.html modules/struct/*.html
%license license.terms
%{tcl_sitelib}/%{name}-%{version}
%{_bindir}/dtplite
%{_bindir}/pt
%{_bindir}/nns*
%{_bindir}/page
%{_bindir}/tcldocstrip
%files help
%doc support/releases/history/README-1.9.txt
%{_mandir}/mann/*
%changelog
* Wed Jan 12 2022 wulei <wulei80@huawei.com> - 1.20-0
- Package update
* Thu Oct 15 2020 lingsheng <lingsheng@huawei.com> - 1.19-3
- Fix invalid command name log
* Wed Jan 08 2019 wanjiankang <wanjiankang@huawei.com> - 1.19-2
- Package Init.

4
tcllib.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: tcltk/tcllib
tag_prefix: tcllib_
seperator: _