1 Star 0 Fork 7

houlifei/ibus-hangul

forked from src-openEuler/ibus-hangul 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ibus-hangul.spec 1.80 KB
一键复制 编辑 原始数据 按行查看 历史
yanzh_h 提交于 2020-01-20 10:10 . add bugfix
Name: ibus-hangul
Summary: a Korean input method engine for IBus
Version: 1.5.1
Release: 4
License: GPLv2+
URL: https://github.com/libhangul/%{name}
Source0: https://github.com/libhangul/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gettext-devel automake intltool libtool gnome-common python3 pkgconfig
BuildRequires: libhangul-devel >= 0.1.0 ibus-devel >= 1.3.99 desktop-file-utils
Requires: ibus >= 1.3.99 libhangul >= 0.1.0 python3-gobject python3
%description
The Hangul engine for IBus platform. It provides Korean input method from
libhangul.
%package_help
%prep
%autosetup -p1
%build
./autogen.sh
%configure \
--disable-static \
--with-python=python3
%make_build
%install
make DESTDIR=%{buildroot} install INSTALL="install -p"
install -d %{buildroot}%{_datadir}/appdata
sed -i 's!^Exec=ibus-setup-hangul!Exec=%{_libexecdir}/ibus-setup-hangul!' %{buildroot}%{_datadir}/applications/ibus-setup-hangul.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/ibus-setup-hangul.desktop
%find_lang %{name}
%files -f %{name}.lang
%{_libexecdir}/ibus-setup-hangul
%{_libexecdir}/ibus-engine-hangul
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/applications/ibus-setup-hangul.desktop
%{_datadir}/ibus/component/*
%{_datadir}/%{name}
%exclude %{_bindir}/ibus-setup-hangul
%files help
%doc README COPYING AUTHORS
%post
if [ -x %{_bindir}/ibus ];then
%{_bindir}/ibus write-cache --system &>/dev/null || :
fi
%postun
if [ -x %{_bindir}/ibus ];then
%{_bindir}/ibus write-cache --system &>/dev/null || :
fi
%changelog
* Fri Jan 17 2020 wangzhishun1<wangzhishun1@huawei.com> - 1.5.1-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: add build requires
* Tue Nov 19 2019 caomeng<caomeng5@huawei.com> - 1.5.1-3
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/houlifei_uniontech/ibus-hangul.git
git@gitee.com:houlifei_uniontech/ibus-hangul.git
houlifei_uniontech
ibus-hangul
ibus-hangul
master

搜索帮助