1 %bcond_with introspection
7 Summary: An Accessibility ToolKit
8 Url: http://www.gtk.org/
9 Group: System/Libraries
10 Source: http://download.gnome.org/sources/atk/2.6/%{name}-%{version}.tar.xz
11 Source98: baselibs.conf
13 BuildRequires: gcc-c++
14 BuildRequires: glib2-devel >= 2.31.2
15 %if %{with introspection}
16 BuildRequires: gobject-introspection-devel
21 The ATK library provides a set of accessibility interfaces. By
22 supporting the ATK interfaces, an application or toolkit can be used
23 with screen readers, magnifiers, and alternate input devices.
26 Summary: An Accessibility ToolKit
27 Group: System/Libraries
28 Provides: %{name} = %{version}
29 Obsoletes: %{name} < %{version}
31 %description -n libatk
32 The ATK library provides a set of accessibility interfaces. By
33 supporting the ATK interfaces, an application or toolkit can be used
34 with screen readers, magnifiers, and alternate input devices.
36 %package -n typelib-Atk
37 Summary: An Accessibility ToolKit -- Introspection bindings
38 Group: System/Libraries
40 %description -n typelib-Atk
41 The ATK library provides a set of accessibility interfaces. By
42 supporting the ATK interfaces, an application or toolkit can be used
43 with screen readers, magnifiers, and alternate input devices.
45 This package provides the GObject Introspection bindings for ATK.
48 Summary: Include Files and Libraries mandatory for Development
49 Group: Development/Libraries/GNOME
50 Requires: libatk = %{version}
51 %if %{with introspection}
52 Requires: typelib-Atk = %{version}
56 This package contains all necessary include files and libraries needed
57 to develop applications that require these.
72 %post -n libatk -p /sbin/ldconfig
74 %postun -n libatk -p /sbin/ldconfig
77 %defattr(-, root, root)
82 %if %{with introspection}
84 %defattr(-, root, root)
85 %{_libdir}/girepository-1.0/Atk-1.0.typelib
89 %defattr(-, root, root)
90 %{_includedir}/atk-1.0
92 %{_libdir}/pkgconfig/*.pc
93 %if %{with introspection}
94 %{_datadir}/gir-1.0/*.gir