Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
kcm5-fcitx
kcm5-fcitx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kcm5-fcitx.spec of Package kcm5-fcitx
# # spec file for package kcm5-fcitx # # Copyright (c) 2015 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/ # %define pkgname kf5-kcm-fcitx Name: kcm5-fcitx Version: 0.5.2 Release: 0 Summary: KF5 control module for Fcitx License: GPL-2.0+ Group: System/I18n/Chinese Url: http://github.com/fcitx/kcm-fcitx Source: http://download.fcitx-im.org/kcm-fcitx/kcm-fcitx-%{version}.tar.xz Source1: input-keyboard.svg #PATCH-FIX-OPENSUSE rename po to kcm5_fcitx to avoid conflict w/ kcm_fcitx Patch: %{name}-po.patch # PATCH-FIX-UPSTREAM 0001-kcm-revert-to-QTreeView-implementation-KCategorizedV.patch boo#951609 Patch1: 0001-kcm-revert-to-QTreeView-implementation-KCategorizedV.patch BuildRequires: fcitx-devel BuildRequires: fcitx-qt5-devel BuildRequires: libqt5-qtbase-devel BuildRequires: rsvg-view %if 0%{?suse_version} <= 1140 BuildRequires: libunique-devel %else BuildRequires: libunique1-devel %endif BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: intltool BuildRequires: kcmutils-devel BuildRequires: kcoreaddons-devel BuildRequires: ki18n-devel BuildRequires: kio-devel BuildRequires: kitemviews-devel BuildRequires: knewstuff-devel BuildRequires: kwidgetsaddons-devel BuildRequires: libtool BuildRequires: xz Requires: fcitx-kcm-icons BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KF5 control module for Fcitx. You can config fcitx through "Configue Desktop" - "Locale" - Fcitx now. %package -n %{pkgname} Summary: KF5 control module for Fcitx Group: System/I18n/Chinese Requires: fcitx-qt5 Requires: plasma5-workspace Provides: locale(plasma5-workspace:ko;zh_CN;zh_SG) Supplements: packageand(fcitx:plasma5-workspace) # for better user experience Provides: fcitx-config-kde5 = %{version} Provides: fcitx-config-kf5 = %{version} Obsoletes: fcitx-config-kde5 < %{version} %fcitx_requires %description -n %{pkgname} KF5 control module for Fcitx. You can config fcitx through "Configure Desktop" - "Locale" - Fcitx now. %package -n %{pkgname}-icons Summary: Keyboard icons for %{pkgname} Group: System/I18n/Chinese Requires: %{pkgname} = %{version} Provides: fcitx-config-kde5-icons = %{version} Obsoletes: fcitx-config-kde5-icons < %{version} Provides: fcitx-kcm-icons = %{version} Conflicts: otherproviders(fcitx-kcm-icons) Supplements: packageand(%{pkgname}:plasma5-workspace-branding-openSUSE) BuildArch: noarch %description -n %{pkgname}-icons This package provides systemsettings5 icons for fcitx in plasma5-workspace. %prep %setup -q -n kcm-fcitx-%{version} %patch -p1 %patch1 -p1 %build %cmake_kf5 -d build make %install pushd build %kf5_makeinstall popd ICONSIZE="16 22 32 48 64 128 256" for i in $ICONSIZE; do mkdir -pv %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/devices/ rsvg-convert -h $i -w $i %{SOURCE1} -o %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/devices/input-keyboard.png done %find_lang kcm5_fcitx %kf5_post_install %post -n %{pkgname} -p /sbin/ldconfig %postun -n %{pkgname} -p /sbin/ldconfig %files -n %{pkgname} -f kcm5_fcitx.lang %defattr(-,root,root,-) %config %{_sysconfdir}/xdg/fcitx-skin.knsrc %{_libdir}/qt5/plugins/kcm_fcitx.so %{_datadir}/kservices5/kcm_fcitx.desktop %files -n %{pkgname}-icons %defattr(-,root,root,-) %{_datadir}/icons/hicolor/*/devices/input-keyboard.png %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