Update to 20210919

This commit is contained in:
starlet-dx 2023-04-19 14:56:08 +08:00
parent 678162bfb2
commit e35f138620
5 changed files with 13 additions and 26 deletions

View File

@ -1,14 +0,0 @@
#!/bin/sh
DATE=$(date '+%Y%m%d')
TIME=$(date '+%H%M')
mkdir -p skkdic-$DATE
cd skkdic-$DATE
wget -N -r -nH -np --cut-dirs=3 \
-R 'index.html*' \
-R '*.gz' -R '*.gz.md5' \
http://openlab.ring.gr.jp/skk/skk/dic/
rm -rf robots.txt
cd .. && tar cvfj skkdic-${DATE}T${TIME}.tar.bz2 skkdic-$DATE

Binary file not shown.

View File

@ -1,15 +1,15 @@
%undefine _changelog_trimtime %undefine _changelog_trimtime
%global githash c6e6a8822b673bfe3e7182f99cdffd1f7735a61e
Name: skkdic Name: skkdic
Version: 20181016 Version: 20210919
Release: 2 Release: 1.gitc6e6a8822b
Summary: Standard dictionary file for SKK Summary: Standard dictionary file for SKK
License: GPLv2+ License: GPLv2+
URL: http://openlab.ring.gr.jp/skk/skk/dic/ URL: http://openlab.ring.gr.jp/skk/skk/dic/
Source0: skkdic-20181016T1609.tar.bz2 Source0: https://github.com/skk-dev/dict/archive/%{githash}/%{name}-%{version}.git%{githash}.tar.gz
Source1: http://openlab.ring.gr.jp/skk/skk/tools/unannotation.awk Source1: https://raw.githubusercontent.com/skk-dev/skktools/0fe2106fbc052445c611e6c5b2a79899d740edcb/unannotation.awk
Source2: create-skkdic-source.sh Source2: README-skkdic.rh.ja
Source3: README-skkdic.rh.ja
BuildArch: noarch BuildArch: noarch
@ -22,12 +22,12 @@ To merge or edit dictionaries, install the skktools package. To use dictionaries
several SKK dictionary servers are available, such as dbskkd-cdb and skksearch. several SKK dictionary servers are available, such as dbskkd-cdb and skksearch.
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n dict-%{githash} -p1
install -p %{SOURCE1} ./ install -p %{SOURCE1} ./
install -p %{SOURCE3} ./ install -p %{SOURCE2} ./
mv zipcode/README.ja zipcode/README-zipcode.ja mv zipcode/README.md zipcode/README-zipcode.md
%build %build
%make_build SKK-JISYO.L.unannotated TOOLS_DIR=. %make_build SKK-JISYO.L.unannotated TOOLS_DIR=.
@ -42,9 +42,12 @@ install -p -m 644 zipcode/SKK-JISYO* $RPM_BUILD_ROOT%{_datadir}/skk
gzip -9 ChangeLog gzip -9 ChangeLog
%files %files
%doc ChangeLog.gz README-skkdic.rh.ja READMEs/committers.txt edict_doc.txt zipcode/README-zipcode.ja %doc ChangeLog.gz README-skkdic.rh.ja committers.md edict_doc.html zipcode/README-zipcode.md
%{_datadir}/skk/ %{_datadir}/skk/
%changelog %changelog
* Wed Apr 19 2023 yaoxin <yao_xin001@hoperun.com> - 20210919-1.gitc6e6a8822b
- Update to 20210919
* Thu Dec 12 2019 daiqianwen <daiqianwen@huawei.com> - 20181016-2 * Thu Dec 12 2019 daiqianwen <daiqianwen@huawei.com> - 20181016-2
- Package init - Package init

View File

@ -3,8 +3,6 @@
# Copyright (C) 2001, 2002 SKK Development Team <skk@ring.gr.jp> # Copyright (C) 2001, 2002 SKK Development Team <skk@ring.gr.jp>
# #
# Maintainer: SKK Development Team <skk@ring.gr.jp> # Maintainer: SKK Development Team <skk@ring.gr.jp>
# Version: $Id: unannotation.awk,v 1.3 2006/01/04 10:35:06 skk-cvs Exp $
# Last Modified: $Date: 2006/01/04 10:35:06 $
# #
# This file is part of Daredevil SKK. # This file is part of Daredevil SKK.
# #