2019-09-30 10:59:32 -04:00
|
|
|
Name: libxkbcommon
|
2021-11-24 11:38:39 +08:00
|
|
|
Version: 1.3.1
|
2022-04-19 11:03:08 +08:00
|
|
|
Release: 2
|
2019-09-30 10:59:32 -04:00
|
|
|
Summary: X.Org X11 XKB parsing library
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://www.x.org
|
|
|
|
|
Source0: https://xkbcommon.org/download/%{name}-%{version}.tar.xz
|
|
|
|
|
|
2020-08-03 14:45:45 +08:00
|
|
|
BuildRequires: git meson
|
|
|
|
|
BuildRequires: xorg-x11-util-macros byacc flex bison
|
|
|
|
|
BuildRequires: xorg-x11-proto-devel libX11-devel
|
|
|
|
|
BuildRequires: xkeyboard-config-devel
|
2021-01-28 11:37:54 +08:00
|
|
|
BuildRequires: pkgconfig(xcb-xkb) >= 1.10
|
|
|
|
|
BuildRequires: libxml2-devel
|
2019-09-30 10:59:32 -04:00
|
|
|
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}
|
|
|
|
|
|
|
|
|
|
%description x11-devel
|
|
|
|
|
X.Org X11 XKB keymap creation library development package
|
|
|
|
|
|
2021-01-28 11:37:54 +08:00
|
|
|
%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
|
2019-09-30 10:59:32 -04:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
2020-08-03 14:45:45 +08:00
|
|
|
%meson -Denable-docs=false \
|
|
|
|
|
-Denable-x11=true \
|
|
|
|
|
-Denable-wayland=false
|
|
|
|
|
%meson_build
|
2019-09-30 10:59:32 -04:00
|
|
|
%install
|
2020-08-03 14:45:45 +08:00
|
|
|
%meson_install
|
2019-09-30 10:59:32 -04:00
|
|
|
|
|
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
2022-04-19 11:03:08 +08:00
|
|
|
%check
|
|
|
|
|
%meson_test
|
|
|
|
|
|
2019-09-30 10:59:32 -04:00
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
2020-08-03 14:45:45 +08:00
|
|
|
%{_libdir}/libxkbcommon.so.0.0.0
|
|
|
|
|
%{_libdir}/libxkbcommon.so.0
|
2021-01-28 11:37:54 +08:00
|
|
|
%{_libdir}/libxkbregistry.so.0.0.0
|
|
|
|
|
%{_libdir}/libxkbregistry.so.0
|
2020-08-03 14:45:45 +08:00
|
|
|
|
2019-09-30 10:59:32 -04:00
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/libxkbcommon.so
|
2021-01-28 11:37:54 +08:00
|
|
|
%{_libdir}/libxkbregistry.so
|
2020-08-03 14:45:45 +08:00
|
|
|
%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
|
2021-01-28 11:37:54 +08:00
|
|
|
%{_includedir}/xkbcommon/xkbregistry.h
|
2019-09-30 10:59:32 -04:00
|
|
|
%{_libdir}/pkgconfig/xkbcommon.pc
|
2021-01-28 11:37:54 +08:00
|
|
|
%{_libdir}/pkgconfig/xkbregistry.pc
|
2020-08-03 14:45:45 +08:00
|
|
|
|
2019-09-30 10:59:32 -04:00
|
|
|
%ldconfig_scriptlets x11
|
2020-08-03 14:45:45 +08:00
|
|
|
|
2019-09-30 10:59:32 -04:00
|
|
|
%files x11
|
|
|
|
|
%{_libdir}/libxkbcommon-x11.so.0.0.0
|
|
|
|
|
%{_libdir}/libxkbcommon-x11.so.0
|
2020-08-03 14:45:45 +08:00
|
|
|
|
2019-09-30 10:59:32 -04:00
|
|
|
%files x11-devel
|
|
|
|
|
%{_libdir}/libxkbcommon-x11.so
|
|
|
|
|
%{_includedir}/xkbcommon/xkbcommon-x11.h
|
|
|
|
|
%{_libdir}/pkgconfig/xkbcommon-x11.pc
|
|
|
|
|
|
2021-01-28 11:37:54 +08:00
|
|
|
%files utils
|
|
|
|
|
%{_bindir}/xkbcli
|
|
|
|
|
%{_libexecdir}/xkbcommon/xkbcli-compile-keymap
|
|
|
|
|
%{_libexecdir}/xkbcommon/xkbcli-how-to-type
|
|
|
|
|
%{_libexecdir}/xkbcommon/xkbcli-interactive-evdev
|
|
|
|
|
%{_libexecdir}/xkbcommon/xkbcli-interactive-x11
|
|
|
|
|
%{_libexecdir}/xkbcommon/xkbcli-list
|
|
|
|
|
%{_mandir}/man1/xkbcli-compile-keymap.1.gz
|
|
|
|
|
%{_mandir}/man1/xkbcli-how-to-type.1.gz
|
|
|
|
|
%{_mandir}/man1/xkbcli-interactive-evdev.1.gz
|
|
|
|
|
%{_mandir}/man1/xkbcli-interactive-x11.1.gz
|
|
|
|
|
%{_mandir}/man1/xkbcli-list.1.gz
|
|
|
|
|
%{_mandir}/man1/xkbcli.1.gz
|
|
|
|
|
|
2019-09-30 10:59:32 -04:00
|
|
|
%changelog
|
2022-04-19 11:03:08 +08:00
|
|
|
* Tue Apr 19 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.3.1-2
|
|
|
|
|
- enable test
|
|
|
|
|
|
2021-11-24 11:38:39 +08:00
|
|
|
* Wed Nov 24 2021 hanhui <hanhui15@huawei.com> - 1.3.1-1
|
|
|
|
|
- DESC: update to 1.3.1
|
|
|
|
|
|
2021-01-28 11:37:54 +08:00
|
|
|
* Thu Jan 28 2021 hanhui <hanhui15@huawei.com> - 1.0.3-1
|
|
|
|
|
- Type: enhancement
|
|
|
|
|
- ID: NA
|
|
|
|
|
- SUG: NA
|
|
|
|
|
- DESC: update to 1.0.3
|
|
|
|
|
|
2020-08-03 14:45:45 +08:00
|
|
|
* Mon Jul 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.10.0-1
|
|
|
|
|
- update package version from 0.8.4 to 0.10.0
|
|
|
|
|
|
2020-01-08 09:51:02 +08:00
|
|
|
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.8.4-3
|
|
|
|
|
- Type: enhancement
|
|
|
|
|
- ID: NA
|
|
|
|
|
- SUG: NA
|
|
|
|
|
- DESC:delete redundant files
|
|
|
|
|
|
2019-09-30 10:59:32 -04:00
|
|
|
* 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
|