]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_with xevie # XEViE support (deprecated?) | |
4 | ||
5 | Summary: Protocol definitions and daemon for D-Bus at-spi | |
6 | Summary(pl-UTF-8): Definicje protokołu oraz demon at-spi dla usługi D-Bus | |
7 | Name: at-spi2-core | |
8 | Version: 2.26.0 | |
9 | Release: 1 | |
10 | License: LGPL v2+ | |
11 | Group: Daemons | |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.26/%{name}-%{version}.tar.xz | |
13 | # Source0-md5: ef3de25da46da8f650915205eb7e1a33 | |
14 | URL: https://www.linuxfoundation.org/en/AT-SPI_on_D-Bus | |
15 | BuildRequires: autoconf >= 2.59 | |
16 | BuildRequires: automake >= 1:1.13 | |
17 | BuildRequires: dbus-devel >= 1.0 | |
18 | BuildRequires: gettext-tools >= 0.19.8 | |
19 | BuildRequires: glib2-devel >= 1:2.36.0 | |
20 | BuildRequires: gobject-introspection-devel >= 1.32.0 | |
21 | BuildRequires: gtk-doc >= 1.25 | |
22 | BuildRequires: libtool >= 2:2.0 | |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: tar >= 1:1.22 | |
25 | BuildRequires: xorg-lib-libX11-devel | |
26 | %{?with_xevie:BuildRequires: xorg-lib-libXevie-devel} | |
27 | %{?with_xevie:BuildRequires: xorg-lib-libXext-devel} | |
28 | BuildRequires: xorg-lib-libXi-devel | |
29 | BuildRequires: xorg-lib-libXtst-devel | |
30 | BuildRequires: xz | |
31 | Requires: %{name}-libs = %{version}-%{release} | |
32 | Requires: dbus >= 1.0 | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | at-spi allows assistive technologies to access GTK-based applications. | |
37 | Essentially it exposes the internals of applications for automation, | |
38 | so tools such as screen readers, magnifiers, or even scripting | |
39 | interfaces can query and interact with GUI controls. | |
40 | ||
41 | This version of at-spi is a major break from previous versions. It has | |
42 | been completely rewritten to use D-Bus rather than ORBIT / CORBA for | |
43 | its transport protocol. | |
44 | ||
45 | %description -l pl.UTF-8 | |
46 | at-spi pozwala na dostęp technik wspomagających do aplikacji partych | |
47 | na bibliotece GTK+. W szczególności udostępnia wnętrzności aplikacji | |
48 | na potrzeby automatyzacji, dzięki czemu narzędzia takie jak czytniki | |
49 | ekranowe, lupy czy nawet interfejsy skryptowe mogą odpytywać i | |
50 | współpracować interaktywnie z kontrolkami GUI. | |
51 | ||
52 | Ta wersja at-spi to duża zmiana w stosunku do poprzednich wersji. | |
53 | Została całkowicie przepisana z użyciem protokołu transportowego D-Bus | |
54 | zamiast wcześniejszego ORBIT/CORBA. | |
55 | ||
56 | %package libs | |
57 | Summary: at-spi2 core library | |
58 | Summary(pl.UTF-8): Główna biblioteka at-spi2 | |
59 | Group: Libraries | |
60 | Requires: dbus-libs >= 1.0 | |
61 | Requires: glib2 >= 1:2.36.0 | |
62 | Conflicts: at-spi2-core < 2.2.1-2 | |
63 | ||
64 | %description libs | |
65 | at-spi2 core library. | |
66 | ||
67 | %description libs -l pl.UTF-8 | |
68 | Główna biblioteka at-spi2. | |
69 | ||
70 | %package devel | |
71 | Summary: Header files for at-spi2 library | |
72 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki at-spi2 | |
73 | Group: Development/Libraries | |
74 | Requires: %{name}-libs = %{version}-%{release} | |
75 | Requires: dbus-devel >= 1.0 | |
76 | Requires: glib2-devel >= 1:2.36.0 | |
77 | Requires: xorg-lib-libX11-devel | |
78 | ||
79 | %description devel | |
80 | Header files for at-spi2 library. | |
81 | ||
82 | %description devel -l pl.UTF-8 | |
83 | Pliki nagłówkowe biblioteki at-spi2. | |
84 | ||
85 | %package apidocs | |
86 | Summary: at-spi2 library API documentation | |
87 | Summary(pl.UTF-8): Dokumentacja API biblioteki at-spi2 | |
88 | Group: Documentation | |
89 | Requires: gtk-doc-common | |
90 | %if "%{_rpmversion}" >= "5" | |
91 | BuildArch: noarch | |
92 | %endif | |
93 | ||
94 | %description apidocs | |
95 | at-spi2 library API documentation. | |
96 | ||
97 | %description apidocs -l pl.UTF-8 | |
98 | Dokumentacja API biblioteki at-spi2. | |
99 | ||
100 | %prep | |
101 | %setup -q | |
102 | ||
103 | %build | |
104 | %{__libtoolize} | |
105 | %{__aclocal} -I m4 | |
106 | %{__autoconf} | |
107 | %{__autoheader} | |
108 | %{__automake} | |
109 | %configure \ | |
110 | --disable-silent-rules \ | |
111 | --enable-gtk-doc \ | |
112 | %{?with_xevie:--enable-xevie} \ | |
113 | --with-html-dir=%{_gtkdocdir} | |
114 | %{__make} | |
115 | ||
116 | %install | |
117 | rm -rf $RPM_BUILD_ROOT | |
118 | ||
119 | %{__make} install \ | |
120 | DESTDIR=$RPM_BUILD_ROOT | |
121 | ||
122 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
123 | ||
124 | %find_lang %{name} | |
125 | ||
126 | %clean | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
129 | %post libs -p /sbin/ldconfig | |
130 | %postun libs -p /sbin/ldconfig | |
131 | ||
132 | %files -f %{name}.lang | |
133 | %defattr(644,root,root,755) | |
134 | %doc AUTHORS NEWS README | |
135 | %attr(755,root,root) %{_libexecdir}/at-spi-bus-launcher | |
136 | %attr(755,root,root) %{_libexecdir}/at-spi2-registryd | |
137 | %dir %{_datadir}/dbus-1/accessibility-services | |
138 | %{_datadir}/dbus-1/accessibility-services/org.a11y.atspi.Registry.service | |
139 | %{_datadir}/dbus-1/services/org.a11y.Bus.service | |
140 | %dir %{_datadir}/defaults/at-spi2 | |
141 | %{_datadir}/defaults/at-spi2/accessibility.conf | |
142 | %{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop | |
143 | %{systemduserunitdir}/at-spi-dbus-bus.service | |
144 | ||
145 | %files libs | |
146 | %defattr(644,root,root,755) | |
147 | %attr(755,root,root) %{_libdir}/libatspi.so.*.*.* | |
148 | %attr(755,root,root) %ghost %{_libdir}/libatspi.so.0 | |
149 | %{_libdir}/girepository-1.0/Atspi-2.0.typelib | |
150 | ||
151 | %files devel | |
152 | %defattr(644,root,root,755) | |
153 | %attr(755,root,root) %{_libdir}/libatspi.so | |
154 | %{_includedir}/at-spi-2.0 | |
155 | %{_datadir}/gir-1.0/Atspi-2.0.gir | |
156 | %{_pkgconfigdir}/atspi-2.pc | |
157 | ||
158 | %files apidocs | |
159 | %defattr(644,root,root,755) | |
160 | %{_gtkdocdir}/libatspi |