]>
Commit | Line | Data |
---|---|---|
c91086d6 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with xevie # XEViE support (deprecated?) | |
4 | ||
d0cc215a | 5 | Summary: Protocol definitions and daemon for D-Bus at-spi |
5585ec04 | 6 | Summary(pl-UTF-8): Definicje protokołu oraz demon at-spi dla usługi D-Bus |
d0cc215a | 7 | Name: at-spi2-core |
5379edfa | 8 | Version: 2.26.2 |
53eddf50 | 9 | Release: 1 |
5585ec04 JB |
10 | License: LGPL v2+ |
11 | Group: Daemons | |
46c3d207 | 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.26/%{name}-%{version}.tar.xz |
5379edfa | 13 | # Source0-md5: 4a042e4c801fdb793788b749eab21485 |
3e2749b1 | 14 | URL: https://www.linuxfoundation.org/en/AT-SPI_on_D-Bus |
d0cc215a | 15 | BuildRequires: autoconf >= 2.59 |
46c3d207 | 16 | BuildRequires: automake >= 1:1.13 |
d0cc215a | 17 | BuildRequires: dbus-devel >= 1.0 |
46c3d207 | 18 | BuildRequires: gettext-tools >= 0.19.8 |
8613ab3f | 19 | BuildRequires: glib2-devel >= 1:2.36.0 |
46c3d207 MB |
20 | BuildRequires: gobject-introspection-devel >= 1.32.0 |
21 | BuildRequires: gtk-doc >= 1.25 | |
5585ec04 | 22 | BuildRequires: libtool >= 2:2.0 |
d0cc215a | 23 | BuildRequires: pkgconfig |
a1ca39e9 | 24 | BuildRequires: tar >= 1:1.22 |
d0cc215a | 25 | BuildRequires: xorg-lib-libX11-devel |
c91086d6 JB |
26 | %{?with_xevie:BuildRequires: xorg-lib-libXevie-devel} |
27 | %{?with_xevie:BuildRequires: xorg-lib-libXext-devel} | |
d0cc215a MB |
28 | BuildRequires: xorg-lib-libXi-devel |
29 | BuildRequires: xorg-lib-libXtst-devel | |
a1ca39e9 | 30 | BuildRequires: xz |
5585ec04 JB |
31 | Requires: %{name}-libs = %{version}-%{release} |
32 | Requires: dbus >= 1.0 | |
d0cc215a MB |
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 | ||
5585ec04 JB |
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 | |
8613ab3f | 61 | Requires: glib2 >= 1:2.36.0 |
5585ec04 JB |
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 | ||
d0cc215a MB |
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 | |
5585ec04 JB |
74 | Requires: %{name}-libs = %{version}-%{release} |
75 | Requires: dbus-devel >= 1.0 | |
8613ab3f | 76 | Requires: glib2-devel >= 1:2.36.0 |
5585ec04 | 77 | Requires: xorg-lib-libX11-devel |
d0cc215a MB |
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 | |
b50f32c0 ER |
90 | %if "%{_rpmversion}" >= "5" |
91 | BuildArch: noarch | |
92 | %endif | |
d0cc215a MB |
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 | |
d0cc215a MB |
104 | %{__libtoolize} |
105 | %{__aclocal} -I m4 | |
106 | %{__autoconf} | |
107 | %{__autoheader} | |
108 | %{__automake} | |
109 | %configure \ | |
dbb208b1 | 110 | --disable-silent-rules \ |
d0cc215a | 111 | --enable-gtk-doc \ |
c91086d6 | 112 | %{?with_xevie:--enable-xevie} \ |
d0cc215a MB |
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 | ||
5585ec04 JB |
129 | %post libs -p /sbin/ldconfig |
130 | %postun libs -p /sbin/ldconfig | |
d0cc215a MB |
131 | |
132 | %files -f %{name}.lang | |
133 | %defattr(644,root,root,755) | |
4397efc1 | 134 | %doc AUTHORS NEWS README |
d653cc64 | 135 | %attr(755,root,root) %{_libexecdir}/at-spi-bus-launcher |
d0cc215a | 136 | %attr(755,root,root) %{_libexecdir}/at-spi2-registryd |
8821f7ce MB |
137 | %dir %{_datadir}/dbus-1/accessibility-services |
138 | %{_datadir}/dbus-1/accessibility-services/org.a11y.atspi.Registry.service | |
d653cc64 | 139 | %{_datadir}/dbus-1/services/org.a11y.Bus.service |
53eddf50 MB |
140 | %dir %{_datadir}/defaults/at-spi2 |
141 | %{_datadir}/defaults/at-spi2/accessibility.conf | |
d0cc215a | 142 | %{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop |
53eddf50 | 143 | %{systemduserunitdir}/at-spi-dbus-bus.service |
d0cc215a | 144 | |
5585ec04 JB |
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 | ||
d0cc215a MB |
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 | |
d653cc64 | 156 | %{_pkgconfigdir}/atspi-2.pc |
d0cc215a MB |
157 | |
158 | %files apidocs | |
159 | %defattr(644,root,root,755) | |
160 | %{_gtkdocdir}/libatspi |