commit 88fe73792a996d41883bddec3ceab720a4a00f50 Author: fun_yang Date: Fri Nov 29 15:38:36 2019 +0800 package init diff --git a/xcb-proto-1.13.tar.bz2 b/xcb-proto-1.13.tar.bz2 new file mode 100644 index 0000000..4e97423 Binary files /dev/null and b/xcb-proto-1.13.tar.bz2 differ diff --git a/xcb-proto.spec b/xcb-proto.spec new file mode 100644 index 0000000..d228942 --- /dev/null +++ b/xcb-proto.spec @@ -0,0 +1,40 @@ +%define debug_package %{nil} +Name: xcb-proto +Version: 1.13 +Release: 6 +Summary: XCB protocol descriptions +License: MIT +URL: https://xcb.freedesktop.org/ +Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 +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 TODO doc/xml-xcb.txt +%{_datadir}/pkgconfig/xcb-proto.pc +%dir %{_datadir}/xcb/ +%{_datadir}/xcb/*.xsd +%{_datadir}/xcb/*.xml +%{python3_sitelib}/xcbgen + +%changelog +* Thu Nov 28 2019 yangjian - 1.13-6 +- Package init