summaryrefslogtreecommitdiff
path: root/libxkbcommon.spec
blob: d84f22ee046a809d3e389d0ede546fab1c840a3e (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
Name:           libxkbcommon
Version:        1.9.1
Release:        1
Summary:        X.Org X11 XKB parsing library
License:        MIT AND X11 AND MIT-CMU
URL:            https://www.xkbcommon.org/
Source0:        https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-%{version}.tar.gz

BuildRequires:  meson >= 0.58.0
BuildRequires:  pkgconfig(bash-completion)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(xcb) >= 1.10
BuildRequires:  pkgconfig(xcb-xkb) >= 1.10
BuildRequires:  pkgconfig(xkeyboard-config)
BuildRequires:  /usr/bin/bison
Requires:       xkeyboard-config

%description
xkbcommon is a library for handling of keyboard descriptions, including
loading them from disk, parsing them and handling their state. It's mainly
meant for client toolkits, window systems, and other system applications

%package        devel
Summary:        X.Org X11 XKB parsing development package
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description    devel
X.Org X11 XKB parsing development package

%package x11
Summary:        X.Org X11 XKB keymap creation library
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description x11
%{name}-x11 is the X.Org library for creating keymaps by querying the X
server.

%package x11-devel
Summary:        X.Org X11 XKB keymap creation library
Requires:       %{name}-x11%{?_isa} = %{version}-%{release}
Requires:       %{name}-devel = %{version}-%{release}

%description x11-devel
X.Org X11 XKB keymap creation library development package

%package utils
Summary:        X.Org X11 XKB parsing utilities
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description utils
%{name}-utils is a set of utilities to analyze and test XKB parsing

%prep
%autosetup -n libxkbcommon-xkbcommon-%{version} -p1

%build
%meson -Denable-docs=false \
       -Denable-x11=true \
       -Denable-wayland=false
%meson_build

%install
%meson_install

%files
%license LICENSE
%{_libdir}/libxkbcommon.so.*
%{_libdir}/libxkbregistry.so.*
 
%files devel
%{_libdir}/libxkbcommon.so
%{_libdir}/libxkbregistry.so
%dir %{_includedir}/xkbcommon/
%{_includedir}/xkbcommon/xkbcommon.h
%{_includedir}/xkbcommon/xkbcommon-compat.h
%{_includedir}/xkbcommon/xkbcommon-compose.h
%{_includedir}/xkbcommon/xkbcommon-keysyms.h
%{_includedir}/xkbcommon/xkbcommon-names.h
%{_includedir}/xkbcommon/xkbregistry.h
%{_libdir}/pkgconfig/xkbcommon.pc
%{_libdir}/pkgconfig/xkbregistry.pc

%files x11
%{_libdir}/libxkbcommon-x11.so.*

%files x11-devel
%{_libdir}/libxkbcommon-x11.so
%{_includedir}/xkbcommon/xkbcommon-x11.h
%{_libdir}/pkgconfig/xkbcommon-x11.pc

%files utils
%{_bindir}/xkbcli
%{_libexecdir}/xkbcommon/xkbcli-compile-compose
%{_libexecdir}/xkbcommon/xkbcli-compile-keymap
%{_libexecdir}/xkbcommon/xkbcli-dump-keymap-x11
%{_libexecdir}/xkbcommon/xkbcli-how-to-type
%{_libexecdir}/xkbcommon/xkbcli-interactive-evdev
%{_libexecdir}/xkbcommon/xkbcli-interactive-x11
%{_libexecdir}/xkbcommon/xkbcli-list
%{_mandir}/man1/xkbcli*
%{bash_completions_dir}/xkbcli

%changelog
* Sat May 03 2025 Funda Wang <fundawang@yeah.net> - 1.9.1-1
- update to 1.9.1

* Thu Mar 13 2025 Funda Wang <fundawang@yeah.net> - 1.8.1-1
- update to 1.8.1

* Sun Feb 09 2025 Funda Wang <fundawang@yeah.net> - 1.8.0-1
- update to 1.8.0

* Sun Aug 18 2024 Funda Wang <fundawang@yeah.net> - 1.7.0-1
- update to 1.7.0

* Thu Dec 28 2023 Paul Thomas <paulthomas100199@gmail.com> - 1.6.0-1
- Type: enhancement
- CVE: NA
- SUG: NA
- DESC: update to version 1.6.0

* Sat Feb 04 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.0-1
- CVE:NA
- SUG:NA
- DESC:update to 1.5.0

* Wed Aug 03 2022 wangkerong <wangkerong@h-partners.com> - 1.3.1-4
- CVE:NA
- SUG:NA
- DESC:revert remove rpath,this is redundant code

* Sat Jun 11 2022 wangkerong <wangkerong@h-partners.com> - 1.3.1-3
- CVE:NA
- SUG:NA
- DESC:remove rpath

* Tue Apr 19 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.3.1-2
- enable test

* Wed Nov 24 2021 hanhui <hanhui15@huawei.com> - 1.3.1-1
- DESC: update to 1.3.1

* Thu Jan 28 2021 hanhui <hanhui15@huawei.com> - 1.0.3-1
- Type: enhancement
- ID:   NA
- SUG:  NA
- DESC: update to 1.0.3

* Mon Jul 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.10.0-1
- update package version  from 0.8.4  to 0.10.0

* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.8.4-3
- Type: enhancement
- ID: NA
- SUG: NA
- DESC:delete redundant files

* Mon Sep 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.4-2
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: rebuilt spec, add x11,x11-devel package.

* Tue Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.4-1
- Package init