forked from pool/kiten
Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kiten?expand=0&rev=49
This commit is contained in:
parent
8b5bae250e
commit
55acdda3ac
14
kiten.spec
14
kiten.spec
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_without lang
|
||||
|
||||
Name: kiten
|
||||
Version: 17.03.90
|
||||
@ -82,6 +83,10 @@ also hope it will help teachers of Japanese in the preparation of
|
||||
classroom material. Beware that Japanese stroke order can differ from the
|
||||
stroke order used in other languages that use Chinese characters.
|
||||
|
||||
%if %{with lang}
|
||||
%lang_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@ -94,6 +99,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%find_lang %{name} --with-man --all-name
|
||||
%kf5_find_htmldocs
|
||||
%endif
|
||||
|
||||
%reconfigure_fonts_scriptlets -n fonts-KanjiStrokeOrders
|
||||
|
||||
@ -130,4 +139,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%dir %{_kf5_sharedir}/fonts/kanjistrokeorders/
|
||||
%{_kf5_sharedir}/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%doc COPYING*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user