]>
Commit | Line | Data |
---|---|---|
d0cc215a MB |
1 | Summary: Protocol definitions and daemon for D-Bus at-spi |
2 | Name: at-spi2-core | |
8f219240 | 3 | Version: 2.2.1 |
d0cc215a MB |
4 | Release: 1 |
5 | License: LGPL v2 | |
6 | Group: Libraries | |
a1ca39e9 | 7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.2/%{name}-%{version}.tar.xz |
8f219240 | 8 | # Source0-md5: 183916373d6906ff6b220bd44d15ff97 |
d0cc215a MB |
9 | URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus |
10 | BuildRequires: autoconf >= 2.59 | |
11 | BuildRequires: automake >= 1:1.9 | |
12 | BuildRequires: dbus-devel >= 1.0 | |
d0cc215a | 13 | BuildRequires: gettext-devel |
a1ca39e9 | 14 | BuildRequires: glib2-devel >= 1:2.28.0 |
d0cc215a MB |
15 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
16 | BuildRequires: gtk-doc >= 1.2 | |
17 | BuildRequires: intltool >= 0.40.0 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: pkgconfig | |
a1ca39e9 | 20 | BuildRequires: tar >= 1:1.22 |
d0cc215a MB |
21 | BuildRequires: xorg-lib-libX11-devel |
22 | BuildRequires: xorg-lib-libXevie-devel | |
23 | BuildRequires: xorg-lib-libXext-devel | |
24 | BuildRequires: xorg-lib-libXi-devel | |
25 | BuildRequires: xorg-lib-libXtst-devel | |
a1ca39e9 | 26 | BuildRequires: xz |
d0cc215a MB |
27 | Requires: dbus |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | at-spi allows assistive technologies to access GTK-based applications. | |
32 | Essentially it exposes the internals of applications for automation, | |
33 | so tools such as screen readers, magnifiers, or even scripting | |
34 | interfaces can query and interact with GUI controls. | |
35 | ||
36 | This version of at-spi is a major break from previous versions. It has | |
37 | been completely rewritten to use D-Bus rather than ORBIT / CORBA for | |
38 | its transport protocol. | |
39 | ||
40 | %package devel | |
41 | Summary: Header files for at-spi2 library | |
42 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki at-spi2 | |
43 | Group: Development/Libraries | |
228607c3 | 44 | Requires: %{name} = %{version}-%{release} |
a1ca39e9 | 45 | Requires: glib2-devel >= 1:2.28.0 |
d0cc215a MB |
46 | |
47 | %description devel | |
48 | Header files for at-spi2 library. | |
49 | ||
50 | %description devel -l pl.UTF-8 | |
51 | Pliki nagłówkowe biblioteki at-spi2. | |
52 | ||
53 | %package apidocs | |
54 | Summary: at-spi2 library API documentation | |
55 | Summary(pl.UTF-8): Dokumentacja API biblioteki at-spi2 | |
56 | Group: Documentation | |
57 | Requires: gtk-doc-common | |
58 | ||
59 | %description apidocs | |
60 | at-spi2 library API documentation. | |
61 | ||
62 | %description apidocs -l pl.UTF-8 | |
63 | Dokumentacja API biblioteki at-spi2. | |
64 | ||
65 | %prep | |
66 | %setup -q | |
67 | ||
68 | %build | |
69 | %{__intltoolize} | |
70 | %{__libtoolize} | |
71 | %{__aclocal} -I m4 | |
72 | %{__autoconf} | |
73 | %{__autoheader} | |
74 | %{__automake} | |
75 | %configure \ | |
76 | --enable-gtk-doc \ | |
77 | --with-html-dir=%{_gtkdocdir} | |
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
87 | ||
88 | %find_lang %{name} | |
89 | ||
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
96 | %files -f %{name}.lang | |
97 | %defattr(644,root,root,755) | |
98 | %doc AUTHORS ChangeLog NEWS README | |
d653cc64 | 99 | %attr(755,root,root) %{_libexecdir}/at-spi-bus-launcher |
d0cc215a MB |
100 | %attr(755,root,root) %{_libexecdir}/at-spi2-registryd |
101 | %attr(755,root,root) %{_libdir}/libatspi.so.*.*.* | |
102 | %attr(755,root,root) %ghost %{_libdir}/libatspi.so.0 | |
103 | %{_libdir}/girepository-1.0/Atspi-2.0.typelib | |
104 | %{_datadir}/dbus-1/services/org.a11y.atspi.Registry.service | |
d653cc64 | 105 | %{_datadir}/dbus-1/services/org.a11y.Bus.service |
d0cc215a MB |
106 | %dir %{_sysconfdir}/at-spi2 |
107 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/at-spi2/accessibility.conf | |
108 | %{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop | |
109 | ||
110 | %files devel | |
111 | %defattr(644,root,root,755) | |
112 | %attr(755,root,root) %{_libdir}/libatspi.so | |
113 | %{_includedir}/at-spi-2.0 | |
114 | %{_datadir}/gir-1.0/Atspi-2.0.gir | |
d653cc64 | 115 | %{_pkgconfigdir}/atspi-2.pc |
d0cc215a MB |
116 | |
117 | %files apidocs | |
118 | %defattr(644,root,root,755) | |
119 | %{_gtkdocdir}/libatspi |