51 lines
1.7 KiB
RPMSpec
51 lines
1.7 KiB
RPMSpec
%undefine _changelog_trimtime
|
|
|
|
Name: skkdic
|
|
Version: 20181016
|
|
Release: 2
|
|
Summary: Standard dictionary file for SKK
|
|
License: GPLv2+
|
|
URL: http://openlab.ring.gr.jp/skk/skk/dic/
|
|
Source0: skkdic-20181016T1609.tar.bz2
|
|
Source1: http://openlab.ring.gr.jp/skk/skk/tools/unannotation.awk
|
|
Source2: create-skkdic-source.sh
|
|
Source3: README-skkdic.rh.ja
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package provides `SKK-JISYO', the standard dictionary file for SKK Japanese input systems.
|
|
Currently, this package contains the large size dictionary file `SKK-JISYO.L' as the standard dictionary file.
|
|
For faster access, install the skkdic-cdb package which provides the constant database (cdb) file of this dictionary.
|
|
Other dictionary files, such as zipcode, personal names, small size, are provided by the skkdic-extra package.
|
|
To merge or edit dictionaries, install the skktools package. To use dictionaries more conveniently,
|
|
several SKK dictionary servers are available, such as dbskkd-cdb and skksearch.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
install -p %{SOURCE1} ./
|
|
install -p %{SOURCE3} ./
|
|
|
|
mv zipcode/README.ja zipcode/README-zipcode.ja
|
|
|
|
%build
|
|
%make_build SKK-JISYO.L.unannotated TOOLS_DIR=.
|
|
%make_build SKK-JISYO.wrong TOOLS_DIR=.
|
|
|
|
%install
|
|
install -d $RPM_BUILD_ROOT%{_datadir}/skk
|
|
|
|
install -p -m 644 SKK-JISYO* $RPM_BUILD_ROOT%{_datadir}/skk
|
|
install -p -m 644 zipcode/SKK-JISYO* $RPM_BUILD_ROOT%{_datadir}/skk
|
|
|
|
gzip -9 ChangeLog
|
|
|
|
%files
|
|
%doc ChangeLog.gz README-skkdic.rh.ja READMEs/committers.txt edict_doc.txt zipcode/README-zipcode.ja
|
|
%{_datadir}/skk/
|
|
|
|
%changelog
|
|
* Thu Dec 12 2019 daiqianwen <daiqianwen@huawei.com> - 20181016-2
|
|
- Package init
|