kiten-vl.spec 4.3 KB

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