commit 7bc2d68cbde242c26ff3972ab3ff13e84e4bc58d Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:31:46 2019 -0400 Package init diff --git a/at-spi2-core-2.32.1.tar.xz b/at-spi2-core-2.32.1.tar.xz new file mode 100644 index 0000000..34d7574 Binary files /dev/null and b/at-spi2-core-2.32.1.tar.xz differ diff --git a/at-spi2-core.spec b/at-spi2-core.spec new file mode 100644 index 0000000..812a00b --- /dev/null +++ b/at-spi2-core.spec @@ -0,0 +1,90 @@ +Name: at-spi2-core +Version: 2.32.1 +Release: 1 +Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project. + +License: LGPLv2+ +URL: https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/ +Source0: https://github.com/GNOME/at-spi2-core/releases/tag/%{name}-%{version}.tar.xz + +BuildRequires: meson gtk-doc libXi-devel glib2-devel libXtst-devel gettext +BuildRequires: dbus-devel gobject-introspection-devel systemd +Requires: dbus + +Patch9000: bugfix-fix-dbind-doc-build-with-meson.patch + +%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/ + +%package devel +Summary: The header files and API documentation for %{name} +Requires: at-spi2-core = %{version}-%{release} + +%description devel +The API documentation and header files of litabspi are included by %{name}-devel. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%meson -Ddbus_deamon=%{_bindir}/debus-daemon -Ddbus-broker=%{_bindir}/dbus-broker -Ddefault_bus=dbus-broker -Ddocs=true +%meson_build + +%install +%meson_install + +%ldconfig_scriptlets + +%files +%doc AUTHORS +%license COPYING +%{_datadir}/locale +%{_datadir}/defaults/at-spi2/accessibility.conf +%{_datadir}/dbus-1/services/org.a11y.Bus.service +%{_datadir}/dbus-1/accessibility-services/org.a11y.atspi.Registry.service +%{_libexecdir}/at-spi-bus-launcher +%{_libexecdir}/at-spi2-registryd +%{_libdir}/libatspi.so.* +%{_libdir}/girepository-1.0/*.typelib +%{_userunitdir}/at-spi-dbus-bus.service +%{_sysconfdir}/xdg/autostart/* + +%files devel +%{_libdir}/pkgconfig/atspi-2.pc +%{_libdir}/libatspi.so +%{_datadir}/gir-1.0/*.gir +%{_includedir}/at-spi-2.0/atspi/*.h + +%files help +%doc README +%{_datadir}/gtk-doc/html/libatspi + +%changelog +* Tue Sep 3 2019 openEuler Buildteam - 2.32.1-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:upgrade to 2.32.1 + +* Thu Aug 22 2019 zhuguodong - 2.30.0-2.h2 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:remove patch prefix + +* Sun Dec 16 2018 liuxueping - 2.30.0-2.h1 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix dbind doc build with meson + +* Fri Sep 7 2018 openEuler Buildteam - 2.30.1-1 +- Package Init + diff --git a/bugfix-fix-dbind-doc-build-with-meson.patch b/bugfix-fix-dbind-doc-build-with-meson.patch new file mode 100644 index 0000000..8a5c0f1 --- /dev/null +++ b/bugfix-fix-dbind-doc-build-with-meson.patch @@ -0,0 +1,12 @@ +diff -uNrp a/dbind/meson.build b/dbind/meson.build +--- a/dbind/meson.build 2018-09-03 20:50:10.000000000 +0000 ++++ b/dbind/meson.build 2018-12-16 14:28:53.093806236 +0000 +@@ -5,7 +5,7 @@ dbind_sources = [ + + dbind_dep = declare_dependency(sources: dbind_sources, + include_directories: root_inc, +- compile_args: [ '-DG_LOG_DOMAIN="dbind"' ], ++ compile_args: [ '-DG_LOG_DOMAIN=\'"dbind"\'' ], + dependencies: [ libdbus_dep, glib_dep ]) + + test('dbind-test',