1 |
%define major 0 |
2 |
%define gmajor 2.0 |
3 |
%define libname %mklibname atspi %{major} |
4 |
%define girname %mklibname atspi-gir %{gmajor} |
5 |
%define libnamedev %mklibname -d atspi |
6 |
|
7 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
8 |
|
9 |
Name: at-spi2-core |
10 |
Version: 2.22.1 |
11 |
Release: %mkrel 1 |
12 |
Summary: Protocol definitions and daemon for D-Bus at-spi |
13 |
Group: System/Libraries |
14 |
License: LGPLv2+ |
15 |
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus |
16 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
17 |
Source1: 90qt-a11y |
18 |
BuildRequires: pkgconfig(dbus-1) >= 1.0 |
19 |
BuildRequires: pkgconfig(gio-2.0) >= 2.28 |
20 |
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0 |
21 |
BuildRequires: pkgconfig(gobject-2.0) >= 2.0.0 |
22 |
BuildRequires: pkgconfig(x11) |
23 |
BuildRequires: pkgconfig(xtst) |
24 |
BuildRequires: pkgconfig(xevie) |
25 |
BuildRequires: pkgconfig(systemd) |
26 |
BuildRequires: intltool >= 0.40.0 |
27 |
BuildRequires: gobject-introspection-devel >= 0.9.6 |
28 |
Requires: dbus |
29 |
|
30 |
%description |
31 |
at-spi allows assistive technologies to access GTK-based |
32 |
applications. Essentially it exposes the internals of applications for |
33 |
automation, so tools such as screen readers, magnifiers, or even |
34 |
scripting interfaces can query and interact with GUI controls. |
35 |
|
36 |
This version of at-spi is a major break from previous versions. |
37 |
It has been completely rewritten to use D-Bus rather than |
38 |
ORBIT / CORBA for its transport protocol. |
39 |
|
40 |
%package -n %{libname} |
41 |
Summary: Libraries for %{name} |
42 |
Group: System/Libraries |
43 |
Requires: %name = %version |
44 |
|
45 |
%description -n %{libname} |
46 |
This package contains libraries used by %{name}. |
47 |
|
48 |
%package -n %{libnamedev} |
49 |
Summary: Libraries and include files with %{name} |
50 |
Group: Development/GNOME and GTK+ |
51 |
Requires: %name = %{version} |
52 |
Requires: %{libname} = %{version} |
53 |
Requires: %{girname} = %{version} |
54 |
Provides: %{name}-devel = %{version}-%{release} |
55 |
|
56 |
%description -n %{libnamedev} |
57 |
This package provides the necessary development libraries and include |
58 |
files to allow you to develop with %{name}. |
59 |
|
60 |
%package -n %{girname} |
61 |
Summary: GObject Introspection interface description for %{name} |
62 |
Group: System/Libraries |
63 |
Requires: %{libname} = %{version}-%{release} |
64 |
|
65 |
%description -n %{girname} |
66 |
GObject Introspection interface description for %{name}. |
67 |
|
68 |
%package -n %{name}-qt |
69 |
Summary: To enable qt accessibility |
70 |
Group: Accessibility |
71 |
Requires: %{name} = %{version}-%{release} |
72 |
Requires: qt4-accessibility-plugin |
73 |
|
74 |
%description -n %{name}-qt |
75 |
This package enables qt accessibility when gsettings has accessibility enabled. |
76 |
|
77 |
%prep |
78 |
%setup -q |
79 |
|
80 |
%build |
81 |
%configure2_5x --disable-static |
82 |
%make |
83 |
|
84 |
%install |
85 |
%makeinstall_std |
86 |
|
87 |
%find_lang %{name} |
88 |
|
89 |
find %{buildroot} -name "*.la" -delete |
90 |
|
91 |
mkdir -p %{buildroot}/etc/X11/xinit.d |
92 |
cp %{SOURCE1} %{buildroot}/etc/X11/xinit.d/ |
93 |
|
94 |
%files -f %{name}.lang |
95 |
%doc COPYING AUTHORS README |
96 |
%{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop |
97 |
%{_libexecdir}/at-spi2-registryd |
98 |
%{_libexecdir}/at-spi-bus-launcher |
99 |
%{_datadir}/dbus-1/services/org.*.service |
100 |
%{_datadir}/dbus-1/accessibility-services/org.*.service |
101 |
%{_datadir}/defaults/at-spi2/accessibility.conf |
102 |
%{_userunitdir}/at-spi-dbus-bus.service |
103 |
|
104 |
%files -n %{libname} |
105 |
%{_libdir}/*.so.%{major}{,.*} |
106 |
|
107 |
%files -n %{girname} |
108 |
%{_libdir}/girepository-1.0/Atspi-%{gmajor}.typelib |
109 |
|
110 |
%files -n %{libnamedev} |
111 |
%doc %{_datadir}/gtk-doc/html/libatspi |
112 |
%{_libdir}/*.so |
113 |
%{_libdir}/pkgconfig/*.pc |
114 |
%{_includedir}/* |
115 |
%{_datadir}/gir-1.0/Atspi-%{gmajor}.gir |
116 |
|
117 |
%files -n %{name}-qt |
118 |
%{_sysconfdir}/X11/xinit.d/90qt-a11y |