diff --git a/AT_SPI2_ATK_2_38_0.tar.gz b/AT_SPI2_ATK_2_38_0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b785a653757fb20cbb985251f21916a43826ecf1 Binary files /dev/null and b/AT_SPI2_ATK_2_38_0.tar.gz differ diff --git a/at-spi2-atk.spec b/at-spi2-atk.spec new file mode 100644 index 0000000000000000000000000000000000000000..30002a4c0ab0e68e56687fc332cfb5df83cf8407 --- /dev/null +++ b/at-spi2-atk.spec @@ -0,0 +1,77 @@ +%define anolis_release 1 +%global atk_version 2.33.3 +%global at_spi2_core_version 2.33.2 +%global tar_name %%(echo %{name} | tr 'a-z-' 'A-Z_') +%global tar_version %%(echo %{version} | tr '.' '_') + +Name: at-spi2-atk +Version: 2.38.0 +Release: %{anolis_release}%{?dist} +Summary: A GTK+ module that bridges ATK to D-Bus at-spi + + +License: LGPLv2+ +URL: https://github.com/GNOME/at-spi2-atk +Source0: %{url}/archive/refs/tags/%{tar_name}_%{tar_version}.tar.gz + +BuildRequires: atk-devel >= %{atk_version} +BuildRequires: at-spi2-core-devel >= %{at_spi2_core_version} +BuildRequires: dbus-devel +BuildRequires: dbus-glib-devel +BuildRequires: gcc +BuildRequires: gettext +BuildRequires: glib2-devel +BuildRequires: gtk2-devel +BuildRequires: libxml2-devel +BuildRequires: meson + +Requires: atk%{?_isa} >= %{atk_version} +Requires: at-spi2-core%{?_isa} >= %{at_spi2_core_version} + +%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. + +This package includes a gtk-module that bridges ATK to the new +D-Bus based at-spi. + +%package devel +Summary: A GTK+ module that bridges ATK to D-Bus at-spi +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package includes the header files for the %{name} library. + +%prep +%setup -qn %{name}-%{tar_name}_%{tar_version} + +%build +%meson +%meson_build + +%install +%meson_install + +%files +%doc AUTHORS README +%license COPYING +%dir %{_libdir}/gtk-2.0 +%dir %{_libdir}/gtk-2.0/modules +%{_libdir}/gtk-2.0/modules/libatk-bridge.so +%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop +%{_libdir}/libatk-bridge-2.0.so.* + +%files devel +%{_includedir}/at-spi2-atk/2.0/atk-bridge.h +%{_libdir}/libatk-bridge-2.0.so +%{_libdir}/pkgconfig/atk-bridge-2.0.pc + +%changelog +* Thu Apr 14 2022 yuanhui - 2.38.0-1 +- Init for anolis os 23