@ -2,22 +2,19 @@
@@ -2,22 +2,19 @@
%define gobject_introspection_version 0.9.6
Name: atk
Version: 2.22.0
Release: 3%{?dist}
Version: 2.28.1
Release: 1%{?dist}
Summary: Interfaces for accessibility support
License: LGPLv2+
URL: http://developer.gnome.org/platform-overview/stable/atk
Source0: http://download.gnome.org/sources/atk/2.22/atk-%{version}.tar.xz
Source0: http://download.gnome.org/sources/atk/2.28/atk-%{version}.tar.xz
Patch01: atk-use-after-free.patch
Patch02: atk-invalid-unref.patch
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gettext
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
# Bootstrap requirements
BuildRequires: gnome-common gtk-doc
%description
The ATK library provides a set of interfaces for adding accessibility
@ -36,12 +33,10 @@ needed for development of applications or toolkits which use ATK.
@@ -36,12 +33,10 @@ needed for development of applications or toolkits which use ATK.
%prep
%setup -q
%patch01 -p1 -b .use-after-free
%patch02 -p1 -b .invalid-unref
%build
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS)
%configure
make %{?_smp_mflags}
%install
@ -55,7 +50,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -55,7 +50,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%postun -p /sbin/ldconfig
%files -f atk10.lang
%license COPYING
%doc README AUTHORS NEWS
@ -70,6 +64,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -70,6 +64,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_datadir}/gir-1.0
%changelog
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 2.28.1-1
- Update to 2.28.1
- Resolves: #1567158
* Wed May 31 2017 Milan Crha <mcrha@redhat.com> - 2.22.0-3
- Add patch to fix invalid unref at atk_gobject_accessible_object_gone_cb()
- Resolves: #1457206