1 | Name: kiten |
---|
2 | Summary: Japanese reference and study aid for KDE |
---|
3 | Summary(ja): KDE 向け日本語参照・学習支援ツール |
---|
4 | Version: 4.12.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2+ |
---|
8 | Group: Applications/Edutainment |
---|
9 | URL: http://edu.kde.org/kiten/ |
---|
10 | |
---|
11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | ## upstream patches |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: desktop-file-utils |
---|
17 | BuildRequires: kdelibs4-devel >= %{version} |
---|
18 | BuildRequires: soprano-devel |
---|
19 | |
---|
20 | Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} |
---|
21 | |
---|
22 | Conflicts: kdeedu4 < 4.6.50 |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | |
---|
27 | %description |
---|
28 | Kiten is a collection of Japanese reference tools and study aids |
---|
29 | for KDE, including a Japanese/English dictionary, Kanji dictionary, |
---|
30 | and Kanji quiz. |
---|
31 | |
---|
32 | This package is part of the KDE education module. |
---|
33 | |
---|
34 | %package libs |
---|
35 | Summary: Runtime libraries for %{name} |
---|
36 | Summary(ja): %{name} のランタイムライブラリ |
---|
37 | Group: System Environment/Libraries |
---|
38 | Conflicts: kdeedu4-libs < 4.6.50 |
---|
39 | |
---|
40 | %description libs |
---|
41 | %{summary}. |
---|
42 | |
---|
43 | %package devel |
---|
44 | Summary: Development files for %{name} |
---|
45 | Summary(ja): %{name} の開発用ファイル |
---|
46 | Group: Development/Libraries |
---|
47 | Requires: %{name}-libs = %{version}-%{release} |
---|
48 | Conflicts: kdeedu4-devel < 4.6.50 |
---|
49 | |
---|
50 | %description devel |
---|
51 | Header files for developing applications using %{name}. |
---|
52 | |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q |
---|
56 | |
---|
57 | %build |
---|
58 | mkdir -p %{_target_platform} |
---|
59 | pushd %{_target_platform} |
---|
60 | %cmake \ |
---|
61 | -DCMAKE_BUILD_TYPE=release \ |
---|
62 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
63 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
64 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
65 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
66 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
67 | .. |
---|
68 | popd |
---|
69 | |
---|
70 | make %{?_smp_mflags} -C %{_target_platform} |
---|
71 | |
---|
72 | %install |
---|
73 | rm -rf $RPM_BUILD_ROOT |
---|
74 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
75 | |
---|
76 | %clean |
---|
77 | rm -rf $RPM_BUILD_ROOT |
---|
78 | |
---|
79 | %check |
---|
80 | for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do |
---|
81 | desktop-file-validate $f |
---|
82 | done |
---|
83 | |
---|
84 | |
---|
85 | %post |
---|
86 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
87 | |
---|
88 | %posttrans |
---|
89 | update-desktop-database -q &> /dev/null ||: |
---|
90 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
91 | |
---|
92 | %postun |
---|
93 | if [ $1 -eq 0 ] ; then |
---|
94 | update-desktop-database -q &> /dev/null ||: |
---|
95 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
96 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
97 | fi |
---|
98 | |
---|
99 | %post libs -p /sbin/ldconfig |
---|
100 | |
---|
101 | %postun libs -p /sbin/ldconfig |
---|
102 | |
---|
103 | |
---|
104 | %files |
---|
105 | %defattr(-,root,root) |
---|
106 | %doc COPYING COPYING.DOC |
---|
107 | %{_bindir}/kiten |
---|
108 | %{_bindir}/kitengen |
---|
109 | %{_bindir}/kitenkanjibrowser |
---|
110 | %{_bindir}/kitenradselect |
---|
111 | %{_datadir}/applications/kde4/kiten.desktop |
---|
112 | %{_datadir}/applications/kde4/kitenkanjibrowser.desktop |
---|
113 | %{_datadir}/applications/kde4/kitenradselect.desktop |
---|
114 | %{_datadir}/config.kcfg/kiten.kcfg |
---|
115 | %{_datadir}/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf |
---|
116 | %{_datadir}/icons/hicolor/*/*/* |
---|
117 | %{_datadir}/kde4/apps/kiten |
---|
118 | %{_datadir}/kde4/apps/kitenradselect |
---|
119 | %{_datadir}/kde4/apps/kitenkanjibrowser |
---|
120 | %doc %{_docdir}/HTML/en/kiten/ |
---|
121 | |
---|
122 | %files libs |
---|
123 | %defattr(-,root,root) |
---|
124 | %{_libdir}/libkiten.so.* |
---|
125 | |
---|
126 | %files devel |
---|
127 | %defattr(-,root,root) |
---|
128 | %{_includedir}/kde4/libkiten |
---|
129 | %{_libdir}/libkiten.so |
---|
130 | |
---|
131 | %changelog |
---|
132 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
151 | - new upstream release |
---|
152 | |
---|
153 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
157 | - new upstream release |
---|
158 | |
---|
159 | * Sat Sep 3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1 |
---|
160 | - split from kdeedu |
---|
161 | |
---|