Compare commits
No commits in common. "c8" and "imports/c9-beta/ibus-table-chinese-1.8.3-10.el9" have entirely different histories.
c8
...
imports/c9
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/ibus-table-chinese-1.8.2-Source.tar.gz
|
SOURCES/ibus-table-chinese-1.8.3.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
c89e9e0ae766ab3353f6f0e1281b3959955ceefb SOURCES/ibus-table-chinese-1.8.2-Source.tar.gz
|
34e254febe9609c8a65a08afe11b9d1b997972b2 SOURCES/ibus-table-chinese-1.8.3.tar.gz
|
||||||
|
199
SOURCES/no-cmake-fedora.patch
Normal file
199
SOURCES/no-cmake-fedora.patch
Normal file
@ -0,0 +1,199 @@
|
|||||||
|
From 11f6bb926b5039c99869c3056449560524029e8d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mike FABIAN <mfabian@redhat.com>
|
||||||
|
Date: Mon, 2 Nov 2020 19:50:01 +0100
|
||||||
|
Subject: [PATCH] Simplify CMakeLists.txt to avoid requiring cmake-fedora
|
||||||
|
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 143 +++---------------------------------------
|
||||||
|
tables/CMakeLists.txt | 2 +-
|
||||||
|
2 files changed, 9 insertions(+), 136 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index bc10507..9113fba 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,104 +1,26 @@
|
||||||
|
cmake_minimum_required(VERSION 2.6.2)
|
||||||
|
|
||||||
|
-# Included scripts do automatic cmake_policy PUSH and POP.
|
||||||
|
-# OLD: CMake policy in included script will affect the invoker.
|
||||||
|
-CMAKE_POLICY(SET CMP0011 OLD)
|
||||||
|
-
|
||||||
|
# Default CMAKE_INSTALL_PREFIX should be set before PROJECT()
|
||||||
|
SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "Install dir prefix")
|
||||||
|
|
||||||
|
-# Whether to build on fedora
|
||||||
|
-SET(CMAKE_FEDORA_ENABLE_FEDORA_BUILD "1" CACHE STRING "Enable fedora build")
|
||||||
|
-
|
||||||
|
-# Message level INFO1 (5)
|
||||||
|
-SET(MANAGE_MESSAGE_LEVEL 5 CACHE STRING "Message (Verbose) Level")
|
||||||
|
-
|
||||||
|
####################################################################
|
||||||
|
# Project specific information
|
||||||
|
#
|
||||||
|
PROJECT(ibus-table-chinese NONE)
|
||||||
|
SET(PRJ_SUMMARY "Chinese input tables for IBus")
|
||||||
|
|
||||||
|
-SET(SUMMARY_TRANSLATIONS
|
||||||
|
- "zh_CN" "中文码表输入法"
|
||||||
|
- "zh_TW" "中文碼表輸入法"
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
SET(PRJ_DESCRIPTION
|
||||||
|
"ibus-table-chinese is provides the infrastructure for Chinese input methods.
|
||||||
|
Input tables themselves are in subpackages."
|
||||||
|
)
|
||||||
|
|
||||||
|
-SET(DESCRIPTION_TRANSLATIONS
|
||||||
|
- "zh_TW" "ibus-table-chinese 提供了中文碼表輸入法的基礎架構。
|
||||||
|
- 輸入法本身則在子套件裡。"
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
-SET(AUTHORS "Yuwei Yu, Caius 'kaio' Chance, Ding-Yi Chen")
|
||||||
|
-SET(MAINTAINER "Ding-Yi Chen <dchen@redhat.com>")
|
||||||
|
-SET(VENDOR "Red Hat, Inc")
|
||||||
|
-SET(LICENSE "GPLv3+")
|
||||||
|
-SET(PRJ_GROUP "System Environment/Libraries")
|
||||||
|
-SET(BUILD_ARCH "noarch")
|
||||||
|
-SET(RPM_SPEC_URL "http://code.google.com/p/ibus/")
|
||||||
|
-SET(RPM_SPEC_SOURCES "https://fedorahosted.org/releases/c/m/%{name}/%{name}-%{version}-Source.tar.gz")
|
||||||
|
-
|
||||||
|
-####################################################################
|
||||||
|
-# Includes
|
||||||
|
-#
|
||||||
|
-LIST(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/Modules)
|
||||||
|
-
|
||||||
|
-# Create a link if Modules/ does not exists
|
||||||
|
-IF(EXISTS ${CMAKE_SOURCE_DIR}/cmake-fedora/Modules)
|
||||||
|
- IF(NOT EXISTS ${CMAKE_SOURCE_DIR}/Modules)
|
||||||
|
- EXECUTE_PROCESS(COMMAND ln -s ${CMAKE_SOURCE_DIR}/cmake-fedora/Modules .)
|
||||||
|
- ENDIF(NOT EXISTS ${CMAKE_SOURCE_DIR}/Modules)
|
||||||
|
-ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/cmake-fedora/Modules)
|
||||||
|
-
|
||||||
|
-# Use standard FHS if Fedora build is not enabled
|
||||||
|
-IF(NOT CMAKE_FEDORA_ENABLE_FEDORA_BUILD)
|
||||||
|
- IF(CMAKE_SYSTEM_PROCESSOR MATCHES "64")
|
||||||
|
- SET(LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib64" CACHE PATH "Library dir")
|
||||||
|
- ELSE(CMAKE_SYSTEM_PROCESSOR MATCHES "64")
|
||||||
|
- SET(LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Library dir")
|
||||||
|
- ENDIF(CMAKE_SYSTEM_PROCESSOR MATCHES "64")
|
||||||
|
- SET(LIBEXEC_DIR "${LIB_DIR}" CACHE PATH "LIBEXEC dir")
|
||||||
|
-ENDIF(NOT CMAKE_FEDORA_ENABLE_FEDORA_BUILD)
|
||||||
|
-
|
||||||
|
-INCLUDE(ManageEnvironmentCommon RESULT_VARIABLE MANAGE_ENVIRONMENT_PATH)
|
||||||
|
-IF(MANAGE_ENVIRONMENT_PATH STREQUAL "NOTFOUND")
|
||||||
|
-MESSAGE(FATAL_ERROR "ManageEnvironmentCommon is not found in CMAKE_MODULE_PATH,
|
||||||
|
- please do the either:
|
||||||
|
- 1) git submodule init; git submodule update
|
||||||
|
- 2) or install cmake-fedora
|
||||||
|
- 3) or wget -P SOURCES https://fedorahosted.org/releases/c/m/cmake-fedora/cmake-fedora-modules-only-latest.tar.gz
|
||||||
|
- tar zxvf SOURCES/cmake-fedora-modules-only-latest.tar.gz")
|
||||||
|
-ENDIF(MANAGE_ENVIRONMENT_PATH STREQUAL "NOTFOUND")
|
||||||
|
-
|
||||||
|
-INCLUDE(ManageEnvironment)
|
||||||
|
-INCLUDE(ManageVersion)
|
||||||
|
-RELEASE_NOTES_READ_FILE()
|
||||||
|
-INCLUDE(ManageArchive)
|
||||||
|
-INCLUDE(ManageFile)
|
||||||
|
-INCLUDE(ManageSourceVersionControl)
|
||||||
|
-INCLUDE(ManageTarget)
|
||||||
|
-INCLUDE(ManageTranslation)
|
||||||
|
-INCLUDE(ManageUninstall)
|
||||||
|
-ENABLE_TESTING()
|
||||||
|
-
|
||||||
|
-####################################################################
|
||||||
|
-# Dependencies
|
||||||
|
-#
|
||||||
|
-
|
||||||
|
-INCLUDE(ManageDependency)
|
||||||
|
-## Requires
|
||||||
|
-MANAGE_DEPENDENCY(REQUIRES IBUS-TABLE VER "1.2.0" REQUIRED)
|
||||||
|
-
|
||||||
|
-## Build Requires
|
||||||
|
-MANAGE_DEPENDENCY(BUILD_REQUIRES CMAKE VER "2.6.2" REQUIRED)
|
||||||
|
-MANAGE_DEPENDENCY(BUILD_REQUIRES IBUS-TABLE VER "1.5.0" REQUIRED)
|
||||||
|
-PRJ_INFO_CMAKE_APPEND(${PRJ_INFO_CMAKE} REQUIRES)
|
||||||
|
-PRJ_INFO_CMAKE_APPEND(${PRJ_INFO_CMAKE} BUILD_REQUIRES)
|
||||||
|
+IF(CMAKE_SYSTEM_PROCESSOR MATCHES "64")
|
||||||
|
+ SET(LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib64" CACHE PATH "Library dir")
|
||||||
|
+ELSE(CMAKE_SYSTEM_PROCESSOR MATCHES "64")
|
||||||
|
+ SET(LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Library dir")
|
||||||
|
+ENDIF(CMAKE_SYSTEM_PROCESSOR MATCHES "64")
|
||||||
|
+SET(LIBEXEC_DIR "${LIB_DIR}" CACHE PATH "LIBEXEC dir")
|
||||||
|
+SET(DATA_DIR "/usr/share")
|
||||||
|
|
||||||
|
####################################################################
|
||||||
|
# Building
|
||||||
|
@@ -108,55 +30,6 @@ ADD_SUBDIRECTORY(tables)
|
||||||
|
####################################################################
|
||||||
|
# Installing
|
||||||
|
#
|
||||||
|
-
|
||||||
|
-MANAGE_SOURCE_VERSION_CONTROL_GIT()
|
||||||
|
-
|
||||||
|
+SET(PRJ_DOC_DIR "${DATA_DIR}/doc/ibus-table-chinese")
|
||||||
|
INSTALL(FILES AUTHORS README ChangeLog COPYING DESTINATION ${PRJ_DOC_DIR})
|
||||||
|
|
||||||
|
-####################################################################
|
||||||
|
-# Packing
|
||||||
|
-#
|
||||||
|
-
|
||||||
|
-## Pack Source
|
||||||
|
-SET(SOURCE_ARCHIVE_DIR ${CMAKE_BINARY_DIR}/SOURCES CACHE PATH "Source Archive Dir")
|
||||||
|
-PACK_SOURCE_ARCHIVE("${SOURCE_ARCHIVE_DIR}"
|
||||||
|
- GITIGNORE ${CMAKE_SOURCE_DIR}/.gitignore
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
-## Pack RPM
|
||||||
|
-IF(CMAKE_FEDORA_ENABLE_FEDORA_BUILD)
|
||||||
|
- SET(RPM_BUILD_SOURCES ${SOURCE_ARCHIVE_DIR})
|
||||||
|
- INCLUDE(ManageRPM)
|
||||||
|
- PACK_RPM(SPEC_IN "SPECS/project.spec.in")
|
||||||
|
-ENDIF(CMAKE_FEDORA_ENABLE_FEDORA_BUILD)
|
||||||
|
-
|
||||||
|
-####################################################################
|
||||||
|
-# Hosting and Release
|
||||||
|
-#
|
||||||
|
-# Set to "True" to build against updates-candidate if possible.
|
||||||
|
-
|
||||||
|
-#INCLUDE(ManageUpload)
|
||||||
|
-#ADD_CUSTOM_TARGET(upload
|
||||||
|
-# COMMENT "Uploading all files"
|
||||||
|
-# )
|
||||||
|
-
|
||||||
|
-#MANAGE_UPLOAD_CMD(scp src UPLOAD_FILES ${SOURCE_ARCHIVE_FILE})
|
||||||
|
-#ADD_DEPENDENCIES(upload upload_src)
|
||||||
|
-
|
||||||
|
-INCLUDE(ManageRelease)
|
||||||
|
-IF(CMAKE_FEDORA_ENABLE_FEDORA_BUILD)
|
||||||
|
- INCLUDE(ManageReleaseFedora)
|
||||||
|
- RELEASE_FEDORA(fedora el6)
|
||||||
|
- # "Off" Warning is displayed if mock is not installed.
|
||||||
|
- MANAGE_RELEASE(tag_push release_fedora)
|
||||||
|
-ELSE(CMAKE_FEDORA_ENABLE_FEDORA_BUILD)
|
||||||
|
- MANAGE_RELEASE(tag_push)
|
||||||
|
-ENDIF(CMAKE_FEDORA_ENABLE_FEDORA_BUILD)
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-####################################################################
|
||||||
|
-# Test Suites.
|
||||||
|
-#
|
||||||
|
-#ADD_TEST("Test" test_cmd1)
|
||||||
|
-
|
||||||
|
-
|
||||||
|
diff --git a/tables/CMakeLists.txt b/tables/CMakeLists.txt
|
||||||
|
index 9f04605..6a5c8c1 100644
|
||||||
|
--- a/tables/CMakeLists.txt
|
||||||
|
+++ b/tables/CMakeLists.txt
|
||||||
|
@@ -98,7 +98,7 @@ MACRO(CONVERT_DB targetName)
|
||||||
|
LIST(APPEND _dependIcon "${CMAKE_SOURCE_DIR}/icons/${_tabName}.jpg")
|
||||||
|
ENDIF(EXISTS "${CMAKE_SOURCE_DIR}/icons/${_tabName}.png")
|
||||||
|
ENDFOREACH(_tabFile ${ARGN})
|
||||||
|
- M_MSG(${M_INFO1} "[${targetName}] db files=${_dependDb}")
|
||||||
|
+ MESSAGE("[${targetName}] db files=${_dependDb}")
|
||||||
|
|
||||||
|
ADD_CUSTOM_TARGET(convert_${targetName}
|
||||||
|
COMMENT "Building ${targetName} table(s)..."
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
@ -1,25 +1,24 @@
|
|||||||
%global message_level 6
|
%global message_level 6
|
||||||
%global ibus_tables_dir %{_datadir}/ibus-table/tables
|
%global ibus_tables_dir %{_datadir}/ibus-table/tables
|
||||||
%global ibus_icons_dir %{_datadir}/ibus-table/icons
|
%global ibus_icons_dir %{_datadir}/ibus-table/icons
|
||||||
%global createdb ibus-table-createdb
|
|
||||||
Name: ibus-table-chinese
|
Name: ibus-table-chinese
|
||||||
Version: 1.8.2
|
Version: 1.8.3
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: Chinese input tables for IBus
|
Summary: Chinese input tables for IBus
|
||||||
Summary(zh_CN): 中文码表输入法
|
Summary(zh_CN): 中文码表输入法
|
||||||
Summary(zh_TW): 中文碼表輸入法
|
Summary(zh_TW): 中文碼表輸入法
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: System Environment/Libraries
|
URL: https://github.com/definite/ibus-table-chinese
|
||||||
URL: http://code.google.com/p/ibus/
|
Source0: https://github.com/definite/ibus-table-chinese/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source0: https://fedorahosted.org/releases/c/m/%{name}/%{name}-%{version}-Source.tar.gz
|
Patch0: no-cmake-fedora.patch
|
||||||
|
|
||||||
BuildRequires: cmake >= 2.6.2
|
BuildRequires: cmake >= 2.6.2
|
||||||
BuildRequires: ibus-table-devel >= 1.2.0
|
BuildRequires: ibus-table-devel >= 1.10.0
|
||||||
Requires: ibus-table >= 1.2.0
|
BuildRequires: make
|
||||||
|
Requires: ibus-table >= 1.10.0
|
||||||
Obsoletes: ibus-table-yinma < 1.3
|
Obsoletes: ibus-table-yinma < 1.3
|
||||||
Obsoletes: ibus-table-xingma < 1.3
|
Obsoletes: ibus-table-xingma < 1.3
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -30,13 +29,10 @@ Input tables themselves are in subpackages.
|
|||||||
ibus-table-chinese 提供了中文碼表輸入法的基礎架構。
|
ibus-table-chinese 提供了中文碼表輸入法的基礎架構。
|
||||||
輸入法本身則在子套件裡。
|
輸入法本身則在子套件裡。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package array
|
%package array
|
||||||
Summary: Array input methods
|
Summary: Array input methods
|
||||||
Summary(zh_CN): 行列输入法
|
Summary(zh_CN): 行列输入法
|
||||||
Summary(zh_TW): 行列輸入法
|
Summary(zh_TW): 行列輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: Freely redistributable without restriction
|
License: Freely redistributable without restriction
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-array30 = %{version}-%{release}
|
Provides: ibus-table-array30 = %{version}-%{release}
|
||||||
@ -63,7 +59,6 @@ array30-big: 27489 characters + Unicode ExtB.
|
|||||||
Summary: Cangjie based input methods
|
Summary: Cangjie based input methods
|
||||||
Summary(zh_TW): 倉頡輸入法
|
Summary(zh_TW): 倉頡輸入法
|
||||||
Summary(zh_CN): 仓颉输入法
|
Summary(zh_CN): 仓颉输入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: Freely redistributable without restriction
|
License: Freely redistributable without restriction
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-cangjie = %{version}-%{release}
|
Provides: ibus-table-cangjie = %{version}-%{release}
|
||||||
@ -80,7 +75,6 @@ Cangjie3, Canjie5, and Cangjie big tables.
|
|||||||
%package cantonese
|
%package cantonese
|
||||||
Summary: Cantonese input methods
|
Summary: Cantonese input methods
|
||||||
Summary(zh_TW): 粵語輸入法
|
Summary(zh_TW): 粵語輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv2 and GPLv3+ and Freely redistributable without restriction
|
License: GPLv2 and GPLv3+ and Freely redistributable without restriction
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-cantonese = %{version}-%{release}
|
Provides: ibus-table-cantonese = %{version}-%{release}
|
||||||
@ -100,7 +94,6 @@ and jyutping.
|
|||||||
Summary: Easy input method
|
Summary: Easy input method
|
||||||
Summary(zh_CN): 轻松输入法
|
Summary(zh_CN): 轻松输入法
|
||||||
Summary(zh_TW): 輕鬆輸入法
|
Summary(zh_TW): 輕鬆輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-easy = %{version}-%{release}
|
Provides: ibus-table-easy = %{version}-%{release}
|
||||||
@ -119,7 +112,6 @@ Easy phrase-wise input method.
|
|||||||
Summary: Erbi input method
|
Summary: Erbi input method
|
||||||
Summary(zh_CN): 二笔输入法
|
Summary(zh_CN): 二笔输入法
|
||||||
Summary(zh_TW): 二筆輸入法
|
Summary(zh_TW): 二筆輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-erbi = %{version}-%{release}
|
Provides: ibus-table-erbi = %{version}-%{release}
|
||||||
@ -140,12 +132,10 @@ and Erbi Qin-Song (erbi-qs)
|
|||||||
小林子二筆 (erbi)
|
小林子二筆 (erbi)
|
||||||
以及青松二筆 (erbi-qs)
|
以及青松二筆 (erbi-qs)
|
||||||
|
|
||||||
|
|
||||||
%package quick
|
%package quick
|
||||||
Summary: Quick-to-learn input methods
|
Summary: Quick-to-learn input methods
|
||||||
Summary(zh_CN): 速成输入法
|
Summary(zh_CN): 速成输入法
|
||||||
Summary(zh_TW): 速成輸入法
|
Summary(zh_TW): 速成輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: Freely redistributable without restriction
|
License: Freely redistributable without restriction
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-quick = %{version}-%{release}
|
Provides: ibus-table-quick = %{version}-%{release}
|
||||||
@ -171,7 +161,6 @@ and Smart Cangjie 6.
|
|||||||
Summary: Smart Cangjie
|
Summary: Smart Cangjie
|
||||||
Summary(zh_CN): 快速仓颉输入法
|
Summary(zh_CN): 快速仓颉输入法
|
||||||
Summary(zh_TW): 快速倉頡輸入法
|
Summary(zh_TW): 快速倉頡輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-cangjie = %{version}-%{release}
|
Provides: ibus-table-cangjie = %{version}-%{release}
|
||||||
@ -209,7 +198,6 @@ This package includes the Smart Cangjie 6.
|
|||||||
Summary: Stroke 5 input method
|
Summary: Stroke 5 input method
|
||||||
Summary(zh_CN): 笔顺五码输入法
|
Summary(zh_CN): 笔顺五码输入法
|
||||||
Summary(zh_TW): 筆順五碼輸入法
|
Summary(zh_TW): 筆順五碼輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-stroke5 = %{version}-%{release}
|
Provides: ibus-table-stroke5 = %{version}-%{release}
|
||||||
@ -217,7 +205,8 @@ Obsoletes: ibus-table-stroke5 < 1.3
|
|||||||
Obsoletes: ibus-table-yinma < 1.3
|
Obsoletes: ibus-table-yinma < 1.3
|
||||||
|
|
||||||
%description stroke5
|
%description stroke5
|
||||||
Erbi input method.
|
Stroke5 input method.
|
||||||
|
|
||||||
%description -l zh_CN stroke5
|
%description -l zh_CN stroke5
|
||||||
笔顺五码。
|
笔顺五码。
|
||||||
|
|
||||||
@ -228,7 +217,6 @@ Erbi input method.
|
|||||||
Summary: Wu pronunciation input method
|
Summary: Wu pronunciation input method
|
||||||
Summary(zh_CN): 上海吳语注音输入法
|
Summary(zh_CN): 上海吳语注音输入法
|
||||||
Summary(zh_TW): 上海吳語注音輸入法
|
Summary(zh_TW): 上海吳語注音輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-wu = %{version}-%{release}
|
Provides: ibus-table-wu = %{version}-%{release}
|
||||||
@ -252,7 +240,6 @@ Summary: Haifeng Wubi input method
|
|||||||
Summary(zh_CN): 海峰五笔输入法
|
Summary(zh_CN): 海峰五笔输入法
|
||||||
Summary(zh_TW): 海峰五筆輸入法
|
Summary(zh_TW): 海峰五筆輸入法
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-wubi = %{version}-%{release}
|
Provides: ibus-table-wubi = %{version}-%{release}
|
||||||
Obsoletes: ibus-table-wubi < 1.3
|
Obsoletes: ibus-table-wubi < 1.3
|
||||||
@ -267,12 +254,10 @@ Haifeng Wubi 86.
|
|||||||
%description -l zh_TW wubi-haifeng
|
%description -l zh_TW wubi-haifeng
|
||||||
海峰五筆輸入法。包含:海峰五筆86。
|
海峰五筆輸入法。包含:海峰五筆86。
|
||||||
|
|
||||||
|
|
||||||
%package wubi-jidian
|
%package wubi-jidian
|
||||||
Summary: Jidian Wubi 86 input method, JiShuang 6.0
|
Summary: Jidian Wubi 86 input method, JiShuang 6.0
|
||||||
Summary(zh_CN): 极点五笔86输入法 极爽词库 6.0
|
Summary(zh_CN): 极点五笔86输入法 极爽词库 6.0
|
||||||
Summary(zh_TW): 極點五筆86輸入法 極爽詞庫 6.0
|
Summary(zh_TW): 極點五筆86輸入法 極爽詞庫 6.0
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: Freely redistributable without restriction
|
License: Freely redistributable without restriction
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-wubi = %{version}-%{release}
|
Provides: ibus-table-wubi = %{version}-%{release}
|
||||||
@ -292,7 +277,6 @@ Wubi 86.
|
|||||||
Summary: YongMa input method
|
Summary: YongMa input method
|
||||||
Summary(zh_CN): 永码输入法
|
Summary(zh_CN): 永码输入法
|
||||||
Summary(zh_TW): 永碼輸入法
|
Summary(zh_TW): 永碼輸入法
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: ibus-table-yong = %{version}-%{release}
|
Provides: ibus-table-yong = %{version}-%{release}
|
||||||
@ -307,17 +291,24 @@ YongMa input method.
|
|||||||
%description -l zh_TW yong
|
%description -l zh_TW yong
|
||||||
永碼輸入法。
|
永碼輸入法。
|
||||||
|
|
||||||
|
%package cantonyale
|
||||||
|
Summary: Cantonese input method based on yale romanization
|
||||||
|
License: GPLv2
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description cantonyale
|
||||||
|
Cantonese input method based on yale romanization
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}-Source
|
%setup -q -n %{name}-%{version}
|
||||||
|
%patch0 -p1 -b .no-cmake-fedora
|
||||||
%{__sed} -i 's/\r//' tables/wubi-haifeng/COPYING
|
%{__sed} -i 's/\r//' tables/wubi-haifeng/COPYING
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# $RPM_OPT_FLAGS should be loaded from cmake macro.
|
# $RPM_OPT_FLAGS should be loaded from cmake macro.
|
||||||
%cmake -DMANAGE_MESSAGE_LEVEL=%{message_level} -DCMAKE_FEDORA_ENABLE_FEDORA_BUILD=1 .
|
%cmake -B .
|
||||||
%__make VERBOSE=1 %{?_smp_mflags}
|
%__make VERBOSE=1 %{?_smp_mflags}
|
||||||
|
|
||||||
%clean
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
@ -419,128 +410,176 @@ cat > $RPM_BUILD_ROOT%{_datadir}/appdata/wubi-jidian86.appdata.xml <<EOF
|
|||||||
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||||
</component>
|
</component>
|
||||||
EOF
|
EOF
|
||||||
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/cantonyale.appdata.xml <<EOF
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="inputmethod">
|
||||||
|
<id>cantonyale.db</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<name>cantonyale</name>
|
||||||
|
<summary>Cantonese input method based on yale romanization</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
The cantonyale input method is designed to enter Chinese text using yale romanization.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Input methods are typing systems allowing users to input complex languages.
|
||||||
|
They are necessary because these contain too many characters to simply be laid
|
||||||
|
out on a traditional keyboard.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">http://code.google.com/p/ibus/</url>
|
||||||
|
<url type="bugtracker">https://code.google.com/p/ibus/issues/list</url>
|
||||||
|
<url type="help">https://code.google.com/p/ibus/wiki/FAQ</url>
|
||||||
|
<languages>
|
||||||
|
<lang percentage="100">zh_CN</lang>
|
||||||
|
<lang percentage="100">zh_HK</lang>
|
||||||
|
<lang percentage="100">zh_SG</lang>
|
||||||
|
<lang percentage="100">zh_TW</lang>
|
||||||
|
</languages>
|
||||||
|
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||||
|
</component>
|
||||||
|
EOF
|
||||||
|
|
||||||
# We install document using doc
|
# We install document using doc
|
||||||
rm -fr %{buildroot}%{_docdir}/*
|
rm -fr %{buildroot}%{_docdir}/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%post array
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/array30.db
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/array30-big.db
|
|
||||||
|
|
||||||
%post cangjie
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/cangjie3.db
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/cangjie5.db
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/cangjie-big.db
|
|
||||||
|
|
||||||
%post cantonese
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/cantonese.db
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/cantonhk.db
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/jyutping.db
|
|
||||||
|
|
||||||
%post easy
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/easy-big.db
|
|
||||||
|
|
||||||
%post erbi
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/erbi.db
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/erbi-qs.db
|
|
||||||
|
|
||||||
%post quick
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/quick3.db
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/quick5.db
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/quick-classic.db
|
|
||||||
|
|
||||||
%post scj
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/scj6.db
|
|
||||||
|
|
||||||
%post stroke5
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/stroke5.db
|
|
||||||
|
|
||||||
%post wu
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/wu.db
|
|
||||||
|
|
||||||
%post wubi-haifeng
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/wubi-haifeng86.db
|
|
||||||
|
|
||||||
%post wubi-jidian
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/wubi-jidian86.db
|
|
||||||
|
|
||||||
%post yong
|
|
||||||
%{createdb} -i -n %{ibus_tables_dir}/yong.db
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc
|
%doc AUTHORS README ChangeLog COPYING
|
||||||
|
|
||||||
%files array
|
%files array
|
||||||
%{ibus_icons_dir}/array30.*
|
%{ibus_icons_dir}/array30.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/array30.db
|
%{ibus_tables_dir}/array30.db
|
||||||
%{ibus_icons_dir}/array30-big.*
|
%{ibus_icons_dir}/array30-big.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/array30-big.db
|
%{ibus_tables_dir}/array30-big.db
|
||||||
|
|
||||||
%files cangjie
|
%files cangjie
|
||||||
%{ibus_icons_dir}/cangjie3.*
|
%{ibus_icons_dir}/cangjie3.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/cangjie3.db
|
%{ibus_tables_dir}/cangjie3.db
|
||||||
%{ibus_icons_dir}/cangjie5.*
|
%{ibus_icons_dir}/cangjie5.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/cangjie5.db
|
%{ibus_tables_dir}/cangjie5.db
|
||||||
%{ibus_icons_dir}/cangjie-big.*
|
%{ibus_icons_dir}/cangjie-big.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/cangjie-big.db
|
%{ibus_tables_dir}/cangjie-big.db
|
||||||
|
|
||||||
%files cantonese
|
%files cantonese
|
||||||
%{ibus_icons_dir}/cantonese.*
|
%{ibus_icons_dir}/cantonese.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/cantonese.db
|
%{ibus_tables_dir}/cantonese.db
|
||||||
%{ibus_icons_dir}/cantonhk.*
|
%{ibus_icons_dir}/cantonhk.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/cantonhk.db
|
%{ibus_tables_dir}/cantonhk.db
|
||||||
%{ibus_icons_dir}/jyutping.*
|
%{ibus_icons_dir}/jyutping.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/jyutping.db
|
%{ibus_tables_dir}/jyutping.db
|
||||||
|
|
||||||
%files easy
|
%files easy
|
||||||
%{ibus_icons_dir}/easy-big.*
|
%{ibus_icons_dir}/easy-big.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/easy-big.db
|
%{ibus_tables_dir}/easy-big.db
|
||||||
|
|
||||||
%files erbi
|
%files erbi
|
||||||
%{ibus_icons_dir}/erbi.*
|
%{ibus_icons_dir}/erbi.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/erbi.db
|
%{ibus_tables_dir}/erbi.db
|
||||||
%{ibus_icons_dir}/erbi-qs.*
|
%{ibus_icons_dir}/erbi-qs.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/erbi-qs.db
|
%{ibus_tables_dir}/erbi-qs.db
|
||||||
|
|
||||||
%files quick
|
%files quick
|
||||||
%{ibus_icons_dir}/quick3.*
|
%{ibus_icons_dir}/quick3.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/quick3.db
|
%{ibus_tables_dir}/quick3.db
|
||||||
%{ibus_icons_dir}/quick5.*
|
%{ibus_icons_dir}/quick5.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/quick5.db
|
%{ibus_tables_dir}/quick5.db
|
||||||
%{ibus_icons_dir}/quick-classic.*
|
%{ibus_icons_dir}/quick-classic.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/quick-classic.db
|
%{ibus_tables_dir}/quick-classic.db
|
||||||
|
|
||||||
%files scj
|
%files scj
|
||||||
%{ibus_icons_dir}/scj6.*
|
%{ibus_icons_dir}/scj6.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/scj6.db
|
%{ibus_tables_dir}/scj6.db
|
||||||
|
|
||||||
%files stroke5
|
%files stroke5
|
||||||
%{_datadir}/appdata/stroke5.appdata.xml
|
%{_datadir}/appdata/stroke5.appdata.xml
|
||||||
%{ibus_icons_dir}/stroke5.*
|
%{ibus_icons_dir}/stroke5.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/stroke5.db
|
%{ibus_tables_dir}/stroke5.db
|
||||||
|
|
||||||
%files wu
|
%files wu
|
||||||
%{ibus_icons_dir}/wu.*
|
%{ibus_icons_dir}/wu.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/wu.db
|
%{ibus_tables_dir}/wu.db
|
||||||
|
|
||||||
%files wubi-haifeng
|
%files wubi-haifeng
|
||||||
%{_datadir}/appdata/wubi-haifeng86.appdata.xml
|
%{_datadir}/appdata/wubi-haifeng86.appdata.xml
|
||||||
%doc tables/wubi-haifeng/COPYING tables/wubi-haifeng/README
|
%doc tables/wubi-haifeng/COPYING tables/wubi-haifeng/README
|
||||||
%{ibus_icons_dir}/wubi-haifeng86.*
|
%{ibus_icons_dir}/wubi-haifeng86.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/wubi-haifeng86.db
|
%{ibus_tables_dir}/wubi-haifeng86.db
|
||||||
|
|
||||||
%files wubi-jidian
|
%files wubi-jidian
|
||||||
%{_datadir}/appdata/wubi-jidian86.appdata.xml
|
%{_datadir}/appdata/wubi-jidian86.appdata.xml
|
||||||
%{ibus_icons_dir}/wubi-jidian86.*
|
%{ibus_icons_dir}/wubi-jidian86.*
|
||||||
%verify(not size md5 mtime) %{ibus_tables_dir}/wubi-jidian86.db
|
%{ibus_tables_dir}/wubi-jidian86.db
|
||||||
|
|
||||||
%files yong
|
%files yong
|
||||||
%{ibus_icons_dir}/yong.*
|
%{ibus_icons_dir}/yong.*
|
||||||
%{ibus_tables_dir}/yong.db
|
%{ibus_tables_dir}/yong.db
|
||||||
|
|
||||||
|
%files cantonyale
|
||||||
|
%{_datadir}/appdata/cantonyale.appdata.xml
|
||||||
|
%{ibus_icons_dir}/cantonyale.*
|
||||||
|
%{ibus_tables_dir}/cantonyale.db
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 03 2022 Mike FABIAN <mfabian@redhat.com> - 1.8.3-10
|
||||||
|
- Don’t index the databases in the post install
|
||||||
|
- Resolves: rhbz#2047954
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.3-9
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.3-8
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 03 2020 Mike FABIAN <mfabian@redhat.com> - 1.8.3-6
|
||||||
|
- Remove BuildRequirement of cmake-fedora
|
||||||
|
|
||||||
|
* Thu Jul 30 2020 Mike FABIAN <mfabian@redhat.com> - 1.8.3-5
|
||||||
|
- Fix build on rawhide
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 16 2020 Mike FABIAN <mfabian@redhat.com> - 1.8.3-2
|
||||||
|
- bump release number to force a rebuild with newer ibus-table >= 1.10.0
|
||||||
|
|
||||||
|
* Thu Jul 09 2020 Mike FABIAN <mfabian@redhat.com> - 1.8.3-1
|
||||||
|
- Update to 1.8.3
|
||||||
|
- Turned cangjie 3 and 5's DYNAMIC_ADJUST to FALSE
|
||||||
|
Resolves: https://github.com/definite/ibus-table-chinese/pull/14
|
||||||
|
- Add SUGGESTION_MODE = TRUE to the wubi tables
|
||||||
|
Resolves: https://github.com/definite/ibus-table-chinese/pull/15
|
||||||
|
- Support pinyin mode also for stroke5 table
|
||||||
|
Resolves: https://github.com/definite/ibus-table-chinese/pull/12
|
||||||
|
- Use nicer values for symbol and status prompt
|
||||||
|
Resolves: https://github.com/definite/ibus-table-chinese/pull/8
|
||||||
|
- update jyutping table; add cantonyale table
|
||||||
|
Resolves: https://github.com/definite/ibus-table-chinese/pull/11
|
||||||
|
- Update jyutping and cantonese tables
|
||||||
|
Resolves: https://github.com/definite/ibus-table-chinese/pull/9
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Sep 02 2019 Mike FABIAN <mfabian@redhat.com> - 1.8.2-14
|
||||||
|
- Fix description of Stroke5 input method
|
||||||
|
- Resolves: rhbz#1418565
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Peng Wu <pwu@redhat.com> - 1.8.2-10
|
||||||
|
- Fixes URL
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-9
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user