forked from pool/kiten
Accepting request 133432 from KDE:Distro:Factory
- split off fonts-KanjiStrokeOrders to run fonts postinstall scripts - fix filelist - update to 4.9.1 * see http://kde.org/announcements/4.9.1/ for details OBS-URL: https://build.opensuse.org/request/show/133432 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kiten?expand=0&rev=19
This commit is contained in:
parent
e4cfaf4fa1
commit
eea00ae4eb
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bfbc8cf108e03c688957f69c4df93b6130e4e97ab2cb9201147cbd32d55b3cc5
|
||||
size 12039840
|
3
kiten-4.9.1.tar.xz
Normal file
3
kiten-4.9.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f9ef8431751ee11b0a113ffd6501c88f55758ecb51d25187ea376fdcaa9efb8
|
||||
size 11741936
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 10 08:28:35 UTC 2012 - dmueller@suse.com
|
||||
|
||||
- split off fonts-KanjiStrokeOrders to run fonts postinstall scripts
|
||||
- fix filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 5 12:04:40 UTC 2012 - dmueller@suse.com
|
||||
|
||||
- update to 4.9.1
|
||||
* see http://kde.org/announcements/4.9.1/ for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 16:56:22 UTC 2012 - dmueller@suse.com
|
||||
|
||||
|
45
kiten.spec
45
kiten.spec
@ -36,7 +36,7 @@ BuildRequires: xz
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-facile
|
||||
%endif
|
||||
Version: 4.8.5
|
||||
Version: 4.9.1
|
||||
Release: 0
|
||||
Summary: Japanese Reference/Study Tool
|
||||
License: GPL-2.0+
|
||||
@ -44,8 +44,8 @@ Group: Amusements/Teaching/Language
|
||||
Url: http://edu.kde.org
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
BuildRequires: fdupes
|
||||
Requires: libkeduvocdocument4
|
||||
Suggests: libkeduvocdocument4
|
||||
Requires: fonts-KanjiStrokeOrders
|
||||
Requires: libkeduvocdocument4 >= %version
|
||||
Provides: kde4-kiten = 4.3.0
|
||||
Obsoletes: kde4-kiten < 4.3.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -56,6 +56,7 @@ Kiten is a tool to learn Japanese.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for kiten
|
||||
License: GPL-2.0+
|
||||
Group: Development/Libraries/KDE
|
||||
Requires: kiten = %{version}
|
||||
|
||||
@ -64,6 +65,24 @@ Kiten is a tool to learn Japanese.
|
||||
|
||||
This package contains files for developing applications using kiten.
|
||||
|
||||
%package -n fonts-KanjiStrokeOrders
|
||||
Summary: Font for learning Japanese Kanji
|
||||
License: BSD-3-Clause
|
||||
Group: System/X11/Fonts
|
||||
Provides: kdeedu4:%{_kde4_datadir}/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n fonts-KanjiStrokeOrders
|
||||
This font provides an easy way to view stroke order diagrams for over 6350
|
||||
kanji, 183 kana symbols, the Latin characters and quite a few other symbols.
|
||||
I have also used it as a dumping ground for my own character creation doodles.
|
||||
|
||||
My hope is that this font will assist people who are learning kanji. I
|
||||
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.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
@ -78,14 +97,21 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
cd build
|
||||
%make_install
|
||||
%suse_update_desktop_file %{name} Education Languages
|
||||
%suse_update_desktop_file %{name}kanjibrowser Education Languages
|
||||
%suse_update_desktop_file %{name}radselect Education Languages
|
||||
|
||||
%kde_post_install
|
||||
%if 0%{?suse_version} > 1020
|
||||
%fdupes -s %{buildroot}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -n fonts-KanjiStrokeOrders
|
||||
%run_suseconfig_fonts
|
||||
|
||||
%postun -n fonts-KanjiStrokeOrders
|
||||
%run_suseconfig_fonts
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
@ -94,6 +120,8 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%defattr(-,root,root)
|
||||
%dir %_kde4_appsdir/kitenkanjibrowser
|
||||
%dir %{_prefix}/share/fonts/kanjistrokeorders
|
||||
%{_kde4_applicationsdir}/kitenkanjibrowser.desktop
|
||||
%{_kde4_applicationsdir}/kitenradselect.desktop
|
||||
%_kde4_bindir/kiten
|
||||
%_kde4_bindir/kitengen
|
||||
%_kde4_bindir/kitenkanjibrowser
|
||||
@ -106,11 +134,16 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%_kde4_appsdir/kiten/
|
||||
%_kde4_appsdir/kitenradselect/
|
||||
%_kde4_sharedir/config.kcfg/kiten.kcfg
|
||||
%{_prefix}/share/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_kde4_libdir/libkiten.so
|
||||
%{_includedir}/libkiten/
|
||||
|
||||
%files -n fonts-KanjiStrokeOrders
|
||||
%defattr(-,root,root)
|
||||
%doc data/font/copyright.txt data/font/readme_*.txt
|
||||
%dir %{_kde4_datadir}/fonts/kanjistrokeorders/
|
||||
%{_kde4_datadir}/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user