at-spi2-core/at-spi2-core.spec

256 lines
7.5 KiB
RPMSpec
Raw Normal View History

2024-04-19 07:55:07 +00:00
#needsrootforbuild
2019-09-30 10:31:46 -04:00
Name: at-spi2-core
2024-02-04 06:52:44 +00:00
Version: 2.51.0
Release: 4
2019-09-30 10:31:46 -04:00
Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project.
License: LGPLv2+
2022-04-13 12:52:51 +08:00
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
2024-02-04 06:52:44 +00:00
Source0: http://download.gnome.org/sources/at-spi2-core/2.51/%{name}-%{version}.tar.xz
2022-04-13 12:52:51 +08:00
Source1: xwayland-session-scriptlet
2019-09-30 10:31:46 -04:00
BuildRequires: meson gtk-doc libXi-devel glib2-devel libXtst-devel gettext
2019-12-13 15:05:06 +08:00
BuildRequires: dbus-devel gobject-introspection-devel systemd libxslt
2023-12-29 10:47:09 +08:00
BuildRequires: pkgconfig(libsystemd) dbus-x11
BuildRequires: python3-sphinx
BuildRequires: cmake gi-docgen
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xtst)
2019-09-30 10:31:46 -04:00
Requires: dbus
2023-12-29 10:47:09 +08:00
# https://bugzilla.redhat.com/show_bug.cgi?id=2137281
Requires: /usr/bin/xprop
2019-09-30 10:31:46 -04:00
%description
At-Spi2 is a protocol over DBus, toolkit widgets use it to provide
their content to screen readers such as Orca.
The core that defines the protocol and starts the dbus accessibility
bus is at-spi2-core , the formal definition of RPCs is available as
xml files in at-spi2-core/xml/
2023-12-29 10:47:09 +08:00
%package devel
Summary: Development files and headers for at-spi2-core
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The at-spi2-core-devel package includes the header files and
API documentation for libatspi.
%package -n atk
Summary: Interfaces for accessibility support
# Dependency required for translations.
Requires: at-spi2-core%{?_isa} = %{version}-%{release}
%description -n atk
The ATK library provides a set of interfaces for adding accessibility
support to applications and graphical user interface toolkits. By
supporting the ATK interfaces, an application or toolkit can be used
with tools such as screen readers, magnifiers, and alternative input
devices.
%package -n atk-devel
Summary: Development files for the ATK accessibility toolkit
2024-03-13 10:46:43 +00:00
Requires: atk%{?_isa} = %{version}-%{release}
2023-12-29 10:47:09 +08:00
%description -n atk-devel
This package includes libraries, header files, and developer documentation
needed for development of applications or toolkits which use ATK.
%package -n at-spi2-atk
Summary: A GTK+ module that bridges ATK to D-Bus at-spi
Requires: atk%{?_isa} = %{version}-%{release}
Requires: at-spi2-core%{?_isa} = %{version}-%{release}
%description -n at-spi2-atk
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 -n at-spi2-atk-devel
Summary: A GTK+ module that bridges ATK to D-Bus at-spi
Requires: at-spi2-atk%{?_isa} = %{version}-%{release}
%description -n at-spi2-atk-devel
The at-spi2-atk-devel package includes the header files for the at-spi2-atk
library.
2019-09-30 10:31:46 -04:00
%package help
Summary: Help package for %{name}
Obsoletes: at-spi2-atk-help < %{version}-%{release}
%description help
This package contains some help files for %{name}
2019-09-30 10:31:46 -04:00
%prep
2022-04-13 12:52:51 +08:00
%autosetup -p1
2019-09-30 10:31:46 -04:00
%build
2022-06-20 15:05:35 +08:00
%meson -Ddbus_daemon=%{_bindir}/dbus-daemon -Ddbus_broker=%{_bindir}/dbus-broker-launch -Ddefault_bus=dbus-broker -Ddocs=true
2019-09-30 10:31:46 -04:00
%meson_build
%install
%meson_install
2022-04-13 12:52:51 +08:00
install -d %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d
install -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d/00-at-spi
2019-09-30 10:31:46 -04:00
%ldconfig_scriptlets
2022-04-13 12:52:51 +08:00
%{find_lang} %{name}
%check
2024-04-19 07:55:07 +00:00
if [ ! -e /usr/libexec/at-spi-bus-launcher ];then
ninja -C %{_host} install
dbus-launch ninja -C %{_host} test
ninja -C %{_host} uninstall
else
dbus-launch ninja -C %{_host} test
fi
2022-04-13 12:52:51 +08:00
%files -f %{name}.lang
2019-09-30 10:31:46 -04:00
%license COPYING
%doc NEWS
2023-12-29 10:47:09 +08:00
%{_libexecdir}/at-spi2-registryd
%dir %{_datadir}/defaults
%dir %{_datadir}/defaults/at-spi2
2019-09-30 10:31:46 -04:00
%{_datadir}/defaults/at-spi2/accessibility.conf
2023-12-29 10:47:09 +08:00
%{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop
# the 'logical' owner of this dir is gnome-settings-daemon, but g-s-d
# indirectly depends on this package, so depending on it to provide
# this directory would create a circular dependency. so we just co-own
# it instead
2021-12-01 10:28:13 +08:00
%dir %{_sysconfdir}/xdg/Xwayland-session.d
%{_sysconfdir}/xdg/Xwayland-session.d/00-at-spi
2019-09-30 10:31:46 -04:00
%{_libdir}/libatspi.so.*
2023-12-29 10:47:09 +08:00
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Atspi-2.0.typelib
%{_libexecdir}/at-spi-bus-launcher
%{_datadir}/dbus-1/accessibility-services/org.a11y.atspi.Registry.service
%{_datadir}/dbus-1/services/org.a11y.Bus.service
2019-09-30 10:31:46 -04:00
%{_userunitdir}/at-spi-dbus-bus.service
2023-12-29 10:47:09 +08:00
2019-09-30 10:31:46 -04:00
%files devel
%{_libdir}/libatspi.so
2023-12-29 10:47:09 +08:00
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Atspi-2.0.gir
%{_includedir}/at-spi-2.0
%{_libdir}/pkgconfig/atspi-2.pc
%files -n atk
%license COPYING
%{_libdir}/libatk-1.0.so.*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Atk-1.0.typelib
%files -n atk-devel
%{_libdir}/libatk-1.0.so
%{_includedir}/atk-1.0
%{_libdir}/pkgconfig/atk.pc
%{_docdir}/atk
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Atk-1.0.gir
%files -n at-spi2-atk
%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 -n at-spi2-atk-devel
%{_includedir}/at-spi2-atk/2.0/atk-bridge.h
%{_libdir}/libatk-bridge-2.0.so
%{_libdir}/pkgconfig/atk-bridge-2.0.pc
2019-09-30 10:31:46 -04:00
%files help
2022-04-13 12:52:51 +08:00
%doc README.md
2023-12-29 10:47:09 +08:00
%{_docdir}/libatspi
2019-09-30 10:31:46 -04:00
%changelog
* Tue Aug 27 2024 yanglu <yanglu72@h-partners.com> - 2.51.0-4
- Delete obsolete at-spi2-atk-help after the upgrade
2024-04-19 07:55:07 +00:00
* Fri Apr 19 2024 yanglu <yanglu72@h-partners.com> - 2.51.0-3
- fix test error
2024-03-13 10:46:43 +00:00
* Wed Mar 13 2024 zhangpan <zhangpan103@h-partners.com> - 2.51.0-2
- fix gtk2 build fail
2024-02-04 06:52:44 +00:00
* Sun Feb 4 2024 zhangpan <zhangpan103@h-partners.com> - 2.51.0-1
- update to 2.51.0
2023-12-29 10:47:09 +08:00
* Fri Dec 29 2023 wangqia <wangqia@uniontech.com> - 2.50.0-1
- Update to 2.50.0
* Fri Sep 15 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.44.1-3
- enable make check
2022-06-20 15:05:35 +08:00
* Mon Jun 20 2022 wangkerong <wangkerong@h-partners.com> - 2.44.1-2
- fix build fail on meson-0.6
2022-06-08 10:17:18 +08:00
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 2.44.1-1
- Upgrade to 2.44.1
2022-04-13 12:52:51 +08:00
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 2.44.0-1
- Update to 2.44.0
2021-12-01 10:28:13 +08:00
* Wed Dec 01 2021 wangkerong <wangkerong@huawei.com> - 2.42.0-1
- update to 2.42.0
2021-01-28 18:46:01 +08:00
* Thu Jan 21 2021 yanglu <yanglu60@huawei.com> - 2.39.1-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 2.39.1
* Wed Sep 9 2020 chengguipeng<chengguipeng1@huawei.com> - 2.36.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source0 url
* Tue Jul 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.36.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 2.36.0
2020-01-08 09:26:42 +08:00
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.34.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 2.34.0
2019-09-30 10:31:46 -04:00
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.32.1-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 2.32.1
* Thu Aug 22 2019 zhuguodong <zhuguodong7@huawei.com> - 2.30.0-2.h2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:remove patch prefix
* Sun Dec 16 2018 liuxueping<liuxueping1@huawei.com> - 2.30.0-2.h1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix dbind doc build with meson
* Fri Sep 7 2018 openEuler Buildteam <buildteam@openeuler.org> - 2.30.1-1
- Package Init