!3 Modify Source Url of package anthy
From: @wang--ge Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
faa49aa81a
33
anthy.spec
33
anthy.spec
@ -1,12 +1,11 @@
|
|||||||
Name: anthy
|
Name: anthy
|
||||||
Version: 9100h
|
Version: 9100h
|
||||||
Release: 39
|
Release: 40
|
||||||
Summary: Anthy is a system for Japanese input method.
|
Summary: Anthy is a system for Japanese input method.
|
||||||
License: LGPLv2+ and GPLv2 and Public Domain
|
License: LGPLv2+ and GPLv2 and Public Domain
|
||||||
URL: http://sourceforge.jp/projects/anthy/
|
URL: http://sourceforge.jp/projects/anthy/
|
||||||
Source0: http://osdn.dl.sourceforge.jp/anthy/37536/anthy-%{version}.tar.gz
|
Source0: http://osdn.dl.sourceforge.jp/anthy/37536/anthy-%{version}.tar.gz
|
||||||
Source1: %{name}-init.el
|
Source1: https://github.com/gooselinux/anthy/raw/master/%{name}-init.el
|
||||||
Source2: dict.args.in
|
|
||||||
|
|
||||||
BuildRequires: emacs gcc
|
BuildRequires: emacs gcc
|
||||||
Requires: emacs-filesystem >= %{_emacs_version}
|
Requires: emacs-filesystem >= %{_emacs_version}
|
||||||
@ -62,7 +61,30 @@ if ! test -f $RPM_BUILD_DIR/%{name}-%{version}/mkworddic/dict.args.in-orig; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
install -Dd -m 0755 %{buildroot}/%{name}-%{version}/mkworddic
|
install -Dd -m 0755 %{buildroot}/%{name}-%{version}/mkworddic
|
||||||
install %{SOURCE2} %{buildroot}/%{name}-%{version}/mkworddic/
|
touch %{buildroot}/%{name}-%{version}/mkworddic/dict.args.in
|
||||||
|
cat > %{buildroot}/%{name}-%{version}/mkworddic/dict.args.in << eof
|
||||||
|
# Generated by rpm script
|
||||||
|
set_input_encoding utf8
|
||||||
|
read @top_srcdir@/alt-cannadic/gcanna.ctd.utf8
|
||||||
|
read @top_srcdir@/alt-cannadic/gcannaf.ctd.utf8
|
||||||
|
read @top_srcdir@/alt-cannadic/gtankan.ctd.utf8
|
||||||
|
read @top_srcdir@/alt-cannadic/extra/g-jiritu-34.t.norm
|
||||||
|
read @top_srcdir@/alt-cannadic/extra/gc-fullname-34.t.norm
|
||||||
|
read @top_srcdir@/alt-cannadic/extra/gt-tankanji_kanji-34.t.norm
|
||||||
|
read @top_srcdir@/alt-cannadic/extra/gt-tankanji_hikanji-34.t.norm
|
||||||
|
read @top_srcdir@/alt-cannadic/extra/gf-fuzoku-34.t.norm
|
||||||
|
read @top_srcdir@/mkworddic/adjust.t.utf8
|
||||||
|
read @top_srcdir@/mkworddic/compound.t.utf8
|
||||||
|
read @top_srcdir@/mkworddic/extra.t.utf8
|
||||||
|
read @top_srcdir@/alt-cannadic/g_fname.t
|
||||||
|
#
|
||||||
|
build_reverse_dict
|
||||||
|
set_dict_encoding utf8
|
||||||
|
read_uc @top_srcdir@/mkworddic/udict.utf8
|
||||||
|
write anthy.wdic
|
||||||
|
done
|
||||||
|
|
||||||
|
eof
|
||||||
touch -r $RPM_BUILD_DIR/%{name}-%{version}/mkworddic/dict.args.in{-orig,}
|
touch -r $RPM_BUILD_DIR/%{name}-%{version}/mkworddic/dict.args.in{-orig,}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -109,5 +131,8 @@ cp -a %{_builddir}/%{name}-%{version}/doc %{buildroot}/
|
|||||||
%doc ChangeLog DIARY NEWS README
|
%doc ChangeLog DIARY NEWS README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 16 2020 Ge Wang<wangge20@huawei.com> - 9100h-40
|
||||||
|
- Modify Source url
|
||||||
|
|
||||||
* Fri Feb 14 2020 gulining<gulining1@huawei.com> - 9100h-39
|
* Fri Feb 14 2020 gulining<gulining1@huawei.com> - 9100h-39
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
21
dict.args.in
21
dict.args.in
@ -1,21 +0,0 @@
|
|||||||
# Generated by rpm script
|
|
||||||
set_input_encoding utf8
|
|
||||||
read @top_srcdir@/alt-cannadic/gcanna.ctd.utf8
|
|
||||||
read @top_srcdir@/alt-cannadic/gcannaf.ctd.utf8
|
|
||||||
read @top_srcdir@/alt-cannadic/gtankan.ctd.utf8
|
|
||||||
read @top_srcdir@/alt-cannadic/extra/g-jiritu-34.t.norm
|
|
||||||
read @top_srcdir@/alt-cannadic/extra/gc-fullname-34.t.norm
|
|
||||||
read @top_srcdir@/alt-cannadic/extra/gt-tankanji_kanji-34.t.norm
|
|
||||||
read @top_srcdir@/alt-cannadic/extra/gt-tankanji_hikanji-34.t.norm
|
|
||||||
read @top_srcdir@/alt-cannadic/extra/gf-fuzoku-34.t.norm
|
|
||||||
read @top_srcdir@/mkworddic/adjust.t.utf8
|
|
||||||
read @top_srcdir@/mkworddic/compound.t.utf8
|
|
||||||
read @top_srcdir@/mkworddic/extra.t.utf8
|
|
||||||
read @top_srcdir@/alt-cannadic/g_fname.t
|
|
||||||
#
|
|
||||||
build_reverse_dict
|
|
||||||
set_dict_encoding utf8
|
|
||||||
read_uc @top_srcdir@/mkworddic/udict.utf8
|
|
||||||
write anthy.wdic
|
|
||||||
done
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user