Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
kiten
kiten.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kiten.spec of Package kiten
# # spec file for package kiten # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %bcond_without lang Name: kiten Version: 17.12.3 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Japanese Reference/Study Tool # Data files are under CC-BY-SA-3.0 (edict) and CC-BY-SA-4.0 ("kanjidic"/SKIP numbers therein) License: GPL-2.0+ and CC-BY-SA-3.0 and CC-BY-SA-4.0 Group: Amusements/Teaching/Language Url: http://edu.kde.org Source0: %{name}-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: karchive-devel BuildRequires: kcompletion-devel BuildRequires: kconfig-devel BuildRequires: kconfigwidgets-devel BuildRequires: kcoreaddons-devel BuildRequires: kcrash-devel BuildRequires: kdoctools-devel BuildRequires: kf5-filesystem BuildRequires: khtml-devel BuildRequires: ki18n-devel BuildRequires: kxmlgui-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Widgets) Requires: fonts-KanjiStrokeOrders Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} %if %{with lang} Recommends: %{name}-lang %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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} %description devel 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 BuildRequires: fontpackages-devel Provides: kdeedu4:%{_kde4_datadir}/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf BuildArch: noarch %reconfigure_fonts_prereq %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. %if %{with lang} %lang_package %endif %prep %setup -q %build %ifarch ppc ppc64 export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %endif %cmake_kf5 -d build %make_jobs %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 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING* AUTHORS README %dir %{_kf5_appstreamdir} %doc %lang(en) %{_kf5_htmldir}/en/kiten/ %{_kf5_applicationsdir}/org.kde.kiten.desktop %{_kf5_applicationsdir}/org.kde.kitenkanjibrowser.desktop %{_kf5_applicationsdir}/org.kde.kitenradselect.desktop %{_kf5_appstreamdir}/org.kde.kiten.appdata.xml %{_kf5_bindir}/kiten %{_kf5_bindir}/kitengen %{_kf5_bindir}/kitenkanjibrowser %{_kf5_bindir}/kitenradselect %{_kf5_configkcfgdir}/ %{_kf5_iconsdir}/hicolor/*/*/kiten.* %{_kf5_libdir}/libkiten.so.* %{_kf5_sharedir}/kiten/ %{_kf5_sharedir}/kxmlgui5/ %files devel %defattr(-,root,root) %{_kf5_libdir}/libkiten.so %{_kf5_prefix}/include/libkiten/ %files -n fonts-KanjiStrokeOrders %defattr(-,root,root) %doc data/font/copyright.txt data/font/readme_*.txt %dir %{_kf5_sharedir}/fonts/kanjistrokeorders/ %{_kf5_sharedir}/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf %if %{with lang} %files lang -f %{name}.lang %doc COPYING* %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor