Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f8c81335d7
!10 Update to 2.46.1
From: @zppzhangpan 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2024-02-05 07:24:47 +00:00
zhangpan
05376c3c71 Update to 2.46.1 2024-02-04 08:19:02 +00:00
openeuler-ci-bot
4e8babcf0a
!8 update to 2.46.0
From: @zhouwenpei 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-11-08 02:17:03 +00:00
zhouwenpei
c252e44f7c update to 2.46.0 2022-11-03 11:55:16 +00:00
openeuler-ci-bot
2e2bcfa5b8
!7 upgrade to 2.38.2
From: @dillon_chen 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-04-20 09:29:36 +00:00
dillon_chen
d5d110772a upgrade 2.38.2 2022-04-20 17:04:16 +08:00
openeuler-ci-bot
ecb81f9d11 !6 Upgrade to 2.38.1
From: @weijin-deng
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2021-06-04 18:55:10 +08:00
weijin-deng
afb88fa0df Upgrade to 2.38.1
Update Version, Release, Source0, BuildRequires, stage 'build'
2021-06-04 18:16:25 +08:00
openeuler-ci-bot
7af3a4bd11 !5 remove python2-pyatspi subpackage
From: @jinzhimin369
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2020-10-29 20:49:16 +08:00
jinzhimin369
ff933dc893 remove python2-pyatspi subpackage 2020-10-29 17:04:37 +08:00
3 changed files with 44 additions and 55 deletions

Binary file not shown.

BIN
pyatspi-2.46.1.tar.xz Normal file

Binary file not shown.

View File

@ -1,87 +1,76 @@
%global debug_package %{nil}
Name: pyatspi
Version: 2.33.92
Release: 2
Version: 2.46.1
Release: 1
Summary: Python client bindings for D-Bus AT-SPI
License: LGPLv2 and GPLv2
URL: https://wiki.linuxfoundation.org/en/Accessibility/ATK/AT-SPI/AT-SPI_on_D-Bus
Source0: https://download.gnome.org/sources/pyatspi/2.33/%{name}-%{version}.tar.xz
BuildRequires: atk-devel dbus-devel dbus-glib-devel glib2-devel gtk2-devel libxml2-devel
BuildRequires: pygobject3-devel python2-dbus python2-devel python2-enum34 python3-dbus python3-devel
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
Source0: http://download.gnome.org/sources/pyatspi/2.46/%{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: at-spi2-atk-devel atk-devel dbus-devel dbus-glib-devel glib2-devel
BuildRequires: gtk3-devel libxml2-devel gtk2-devel
BuildRequires: pygobject3-devel python3-dbus python3-devel
BuildRequires: make
%global _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.\
\
This version of at-spi is a major break from previous versions. It has been completely rewritten\
to use D-Bus rather than ORBIT / CORBA for its transport protocol.
%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.
%description %_description
%package -n python2-pyatspi
Summary: Python2 client bindings for D-Bus AT-SPI
Requires: at-spi2-core python2-gobject
%{?python_provide:%python_provide python2-pyatspi}
Provides: pyatspi = %{version}-%{release}
Obsoletes: pyatspi < %{version}-%{release}
%description -n python2-pyatspi
%_description
This package includes a python2 client library for the AT-SPI.
This package includes a python3 client library for at-spi.
%package -n python3-pyatspi
Summary: Python3 client bindings for D-Bus AT-SPI
Summary: Python3 bindings for at-spi
Requires: at-spi2-core python3-gobject
%description -n python3-pyatspi
%_description
This package includes a python3 client library for the AT-SPI.
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.
This package includes a python3 client library for at-spi.
%prep
%autosetup -p1
cp -a . %{py3dir}
%build
%configure --with-python=python2 --enable-tests
make
pushd %{py3dir}
%configure --with-python=python3 --enable-tests
make
popd
%install
%make_install
pushd %{py3dir}
%make_install
popd
cp -a examples python3-examples
sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' python3-examples/magFocusTracker.py
sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' examples/magFocusTracker.py
%check
%files -n python2-pyatspi
%license COPYING COPYING.GPL
%doc AUTHORS README
%doc examples/
%{python2_sitelib}/
%files -n python3-pyatspi
%license COPYING COPYING.GPL
%doc AUTHORS README
%doc python3-examples/*
%{python3_sitelib}/
%doc AUTHORS README.md
%doc examples/magFocusTracker.py
%{python3_sitelib}/pyatspi/
%changelog
* Sun Feb 04 2024 zhangpan <zhangpan103@h-partners.com> - 2.46.1-1
- Update to 2.46.1
* Thu Nov 03 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2.46.0-1
- Update to 2.46.0
* 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'
* 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