xcb-proto/xcb-proto.spec
zhang-liang-pengkun a01e508fb7 xproto.xml: Update doc text for GrabKey
Signed-off-by: zhang-liang-pengkun <zhangliangpengkun@xfusion.com>
2024-01-05 17:08:36 +08:00

71 lines
2.2 KiB
RPMSpec

%define debug_package %{nil}
Name: xcb-proto
Version: 1.14
Release: 8
Summary: XCB protocol descriptions
License: MIT
URL: https://gitlab.freedesktop.org/xorg/proto/xcbproto/
Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.gz
Patch01: 0001-Parse-a-field-s-enum-correctly.patch
Patch02: 0002-xcbgen-Use-math.gcd-for-Python-3.5.patch
Patch03: 0003-xcbgen-xml.etree.cElementTree-has-been-dropped-in-Py.patch
Patch04: 0004-xfixes-Add-ClientDisconnectMode.patch
Patch05: 0005-xcbgen-Use-xml.etree.ElementTree-for-Python-3.3.patch
Patch06: 0006-xproto.xml-Update-doc-text-for-GrabKey.patch
BuildArch: noarch
BuildRequires: python3-devel
Requires: pkgconfig
%description
The X protocol C-language Binding (XCB) is a replacement for
Xlib featuring a small footprint, latency hiding, direct access
to the protocol, improved threading support, and extensibility.
%prep
%autosetup -n %{name}-%{version} -p1
%build
export PYTHON="python3"
%configure --libdir=%{_datadir}
%make_build
%install
%make_install
%files
%doc COPYING NEWS README.md TODO doc/xml-xcb.txt
%{_datadir}/pkgconfig/xcb-proto.pc
%dir %{_datadir}/xcb/
%{_datadir}/xcb/*.xsd
%{_datadir}/xcb/*.xml
%{python3_sitelib}/xcbgen
%changelog
* Fri Jan 05 2024 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.14-8
- xproto.xml: Update doc text for GrabKey
* Tue Dec 26 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.14-7
- xcbgen: Use xml.etree.ElementTree for Python >= 3.3.
* Tue Dec 05 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.14-6
- xfixes: Add ClientDisconnectMode
* Wed Nov 01 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.14-5
- xcbgen: xml.etree.cElementTree has been dropped in Python 3.9.
* Fri Oct 20 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.14-4
- xcbgen: Use math.gcd() for Python >= 3.5.
* Thu Oct 12 2023 zhangliangpengkun <zhangliangpengkun@xfusion.com> - 1.14-3
- Parse a field's "enum=" correctly
* Fri Jan 6 2023 yangbo <yangbo1@xfusion.com> - 1.14-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Modify spec URL
* Fri Aug 28 2020 zhanzhimin <zhanzhimin@huawei.com> - 1.14-1
- update package to 1.14