pyatspi/pyatspi.spec

82 lines
2.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:14:20 -04:00
%global debug_package %{nil}
Name: pyatspi
2024-02-04 08:19:02 +00:00
Version: 2.46.1
Release: 1
2019-09-30 11:14:20 -04:00
Summary: Python client bindings for D-Bus AT-SPI
License: LGPLv2 and GPLv2
2022-04-20 17:04:16 +08:00
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
2022-11-03 11:55:16 +00:00
Source0: http://download.gnome.org/sources/pyatspi/2.46/%{name}-%{version}.tar.xz
2019-09-30 11:14:20 -04:00
2022-04-20 17:04:16 +08:00
BuildArch: noarch
BuildRequires: at-spi2-atk-devel atk-devel dbus-devel dbus-glib-devel glib2-devel
BuildRequires: gtk3-devel libxml2-devel gtk2-devel
2020-10-29 17:04:37 +08:00
BuildRequires: pygobject3-devel python3-dbus python3-devel
2022-04-20 17:04:16 +08:00
BuildRequires: make
2019-09-30 11:14:20 -04:00
2022-04-20 17:04:16 +08:00
%description
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
2019-09-30 11:14:20 -04:00
2022-04-20 17:04:16 +08:00
This package includes a python3 client library for at-spi.
2019-09-30 11:14:20 -04:00
2022-04-20 17:04:16 +08:00
%package -n python3-pyatspi
Summary: Python3 bindings for at-spi
Requires: at-spi2-core python3-gobject
2019-09-30 11:14:20 -04:00
2022-04-20 17:04:16 +08:00
%description -n python3-pyatspi
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
2019-09-30 11:14:20 -04:00
2022-04-20 17:04:16 +08:00
This package includes a python3 client library for at-spi.
2019-09-30 11:14:20 -04:00
%prep
%autosetup -p1
%build
%configure --with-python=python3 --enable-tests
2022-04-20 17:04:16 +08:00
make
2019-09-30 11:14:20 -04:00
%install
%make_install
2022-04-20 17:04:16 +08:00
sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' examples/magFocusTracker.py
2019-09-30 11:14:20 -04:00
%check
2022-04-20 17:04:16 +08:00
%files -n python3-pyatspi
2019-09-30 11:14:20 -04:00
%license COPYING COPYING.GPL
2024-02-04 08:19:02 +00:00
%doc AUTHORS README.md
2022-04-20 17:04:16 +08:00
%doc examples/magFocusTracker.py
%{python3_sitelib}/pyatspi/
2019-09-30 11:14:20 -04:00
%changelog
2024-02-04 08:19:02 +00:00
* Sun Feb 04 2024 zhangpan <zhangpan103@h-partners.com> - 2.46.1-1
- Update to 2.46.1
2022-11-03 11:55:16 +00:00
* Thu Nov 03 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2.46.0-1
- Update to 2.46.0
2022-04-20 17:04:16 +08:00
* Wed Apr 20 2022 dillon chen <dillon.chen@gmail.com> - 2.38.2-1
- Update to 2.38.2
* Mon May 31 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.38.1-1
- Upgrade to 2.38.1
- Update Version, Release, Source0, BuildRequires, stage 'build'
2020-10-29 17:04:37 +08:00
* Wed Oct 21 2020 jinzhimin<jinzhimin2@huawei.com> - 2.33.92-3
- remove python2-pyatspi subpackage
* Wed Sep 9 2020 chengguipeng<chengguipeng1@huawei.com> - 1.1.2-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source0 url
2019-09-30 11:14:20 -04:00
* Thu Sep 05 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-1
- Package init