blob: 0af19ed5bbba3e179735547cefb9cc8ba1ffbbcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
Name: xcb-imdkit
Version: 1.0.9
Release: 2
Summary: Input method development support for xcb
# source files in src/xlibi18n use the "old style" MIT license known as NTP.
License: LGPLv2 and MIT
URL: https://github.com/fcitx/xcb-imdkit
Source0: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.zst
BuildRequires: gnupg2
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: gcc-c++
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-keysyms)
BuildRequires: pkgconfig(xcb-util)
%description
xcb-imdkit is an implementation of xim protocol in xcb,
comparing with the implementation of IMDkit with Xlib,
and xim inside Xlib, it has less memory foot print,
better performance, and safer on malformed client.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Devel files for xcb-imdkit
%prep
%autosetup
%build
%{cmake_kf5}
%cmake_build
%install
%cmake_install
%check
%ctest ARGS="--output-on-failure --timeout 300" ||:
%files
%license LICENSES/LGPL-2.1-only.txt
%doc README.md
%{_libdir}/lib%{name}.so.1*
%files devel
%{_includedir}/xcb-imdkit/
%{_libdir}/cmake/XCBImdkit/
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/xcb-imdkit.pc
%changelog
* Mon Nov 11 2024 Funda Wang <fundawang@yeah.net> - 1.0.9-2
- adopt to new cmake macro
* Wed Aug 14 2024 liu-hengjian <411918005@qq.com> - 1.0.9-1
- Init package version to 1.0.9
|