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