python-xcffib/python-xcffib.spec

76 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

2021-02-20 11:05:45 +08:00
%global srcname xcffib
2023-04-26 11:24:05 +08:00
Name: python-xcffib
2023-12-27 14:41:29 +08:00
Version: 1.5.0
2023-04-26 11:24:05 +08:00
Release: 1
Summary: A drop in replacement for xpyb, an XCB python binding
License: ASL 2.0
URL: https://github.com/tych0/xcffib
2023-12-27 14:41:29 +08:00
Source0: https://files.pythonhosted.org/packages/80/79/69a7239a42ebe3054c32857124caa26e84024fce2fd56616091a047fe7fa/xcffib-1.5.0.tar.gz
2023-04-26 11:24:05 +08:00
BuildArch: noarch
2021-02-20 11:05:45 +08:00
%description
xcffib is intended to be a (mostly) drop-in replacement for xpyb. xpyb
has an inactive upstream, several memory leaks, is python2 only and doesn't
have pypy support. xcffib is a binding which uses cffi, which mitigates
some of the issues described above. xcffib also builds bindings for 27 of
the 29 (xprint and xkb are missing) X extensions in 1.10.
%package -n python3-xcffib
2023-04-26 11:24:05 +08:00
Summary: A drop in replacement for xpyb, an XCB python binding
Provides: python-xcffib = %{version}-%{release}
BuildRequires: libxcb-devel
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pycparser
BuildRequires: python3-cffi
BuildRequires: python3-six
2021-02-20 11:05:45 +08:00
Requires: python3-six
Requires: python3-cffi
Requires: libxcb
%description -n python3-xcffib
xcffib is intended to be a (mostly) drop-in replacement for xpyb. xpyb
has an inactive upstream, several memory leaks, is python2 only and doesn't
have pypy support. xcffib is a binding which uses cffi, which mitigates
some of the issues described above. xcffib also builds bindings for 27 of
the 29 (xprint and xkb are missing) X extensions in 1.10.
%prep
2023-04-26 11:24:05 +08:00
%autosetup -n xcffib-%{version}
2021-02-20 11:05:45 +08:00
%build
%py3_build
%install
%py3_install
%files -n python3-xcffib
%doc LICENSE
%doc README.md
%{python3_sitelib}/xcffib
%{python3_sitelib}/xcffib*.egg-info
%changelog
2023-12-27 14:41:29 +08:00
* Wed Dec 27 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.5.0-1
- Update package to version 1.5.0
2023-07-03 22:12:34 +08:00
* Wed Jul 05 2023 chenzixuan<chenzixuan@kylinos.cn> - 1.4.0-1
- Update package to versoin 1.4.0
2023-04-26 11:24:05 +08:00
* Wed Apr 26 2023 wubijie <wubijie@kylinos.cn> - 1.3.0-1
- Update package to version 1.3.0
2023-02-07 15:34:31 +08:00
* Tue Feb 7 2023 wubijie <wubijie@kylinos.cn> - 1.2.0-1
- Update package to version 1.2.0
2022-12-05 16:17:51 +08:00
* Mon Dec 05 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.12.1-1
- Upgrade package to version 0.12.1
2022-06-13 17:56:25 +08:00
* Fri Jun 10 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.11.1-1
- Upgrade to version 0.11.1
2021-02-20 11:05:45 +08:00
* Sat Feb 20 2021 Ge Wang <wangge20@huawei.com> - 0.9.0-1
- Init package
2023-07-03 22:12:34 +08:00