Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
M17N
fcitx5-kkc
fcitx5-kkc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fcitx5-kkc.spec of Package fcitx5-kkc
# # spec file for package fcitx5-kkc # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %global flavor @BUILD_FLAVOR@%{nil} %global sname fcitx5-kkc %if "%{flavor}" == "" %global pname %sname %else %global pname %{sname}-%{flavor} %endif Name: %{pname} Version: 5.1.3 Release: 0 Summary: Libkkc input method support for Fcitx5 License: GPL-3.0-or-later Group: System/I18n/Japanese URL: https://github.com/fcitx/fcitx5-kkc Source: https://download.fcitx-im.org/fcitx5/%{sname}/%{sname}-%{version}.tar.zst BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: fcitx5-devel BuildRequires: fcitx5-qt-devel BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libkkc-devel BuildRequires: pkgconfig BuildRequires: zstd %if "%{flavor}" == "" BuildRequires: libqt5-qtbase-devel Requires: fcitx5 Requires: kkc-data Provides: fcitx-kkc = %{version} Obsoletes: fcitx-kkc <= 0.1.4 Conflicts: %{sname}-qt6 %endif %if "%{flavor}" == "qt6" BuildRequires: qt6-base-devel Supplements: (fcitx5 and kkc-data) Conflicts: %{sname} %endif %if 0%{?suse_version} <= 1520 BuildRequires: appstream-glib-devel %endif %description This package provides libkkc input method support for Fcitx5. %prep %setup -q -n %{sname}-%{version} %build %if "%{flavor}" == "" %cmake -DUSE_QT6=OFF %endif %if "%{flavor}" == "qt6" %cmake %endif %make_build %install %cmake_install %find_lang %{sname} %files -f %{sname}.lang %doc README.md %license LICENSES %dir %{_datadir}/fcitx5/inputmethod %dir %{_datadir}/fcitx5/kkc %{_libdir}/fcitx5/kkc.so %if "%{flavor}" == "" %{_libdir}/fcitx5/qt5/libfcitx5-kkc-config.so %endif %if "%{flavor}" == "qt6" %{_fcitx5_qt6dir}/libfcitx5-kkc-config.so %endif %{_datadir}/fcitx5/addon/kkc.conf %{_datadir}/fcitx5/inputmethod/kkc.conf %{_datadir}/fcitx5/kkc/dictionary_list %{_datadir}/fcitx5/kkc/rule %{_datadir}/icons/hicolor/*/apps/fcitx-kkc.png %{_datadir}/icons/hicolor/*/apps/org.fcitx.Fcitx5.fcitx-kkc.png %{_datadir}/metainfo/org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml %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