]>
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 |
c6f4a6c9 | 8 | Version: 2.22.0 |
53eddf50 | 9 | Release: 1 |
5585ec04 JB |
10 | License: LGPL v2+ |
11 | Group: Daemons | |
c6f4a6c9 MB |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.22/%{name}-%{version}.tar.xz |
13 | # Source0-md5: 3da5fe62a653e49dad1c47f9a46fee56 | |
3e2749b1 | 14 | URL: https://www.linuxfoundation.org/en/AT-SPI_on_D-Bus |
d0cc215a MB |
15 | BuildRequires: autoconf >= 2.59 |
16 | BuildRequires: automake >= 1:1.9 | |
17 | BuildRequires: dbus-devel >= 1.0 | |
e15bf1b1 | 18 | BuildRequires: gettext-tools |
8613ab3f | 19 | BuildRequires: glib2-devel >= 1:2.36.0 |
d0cc215a | 20 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
5585ec04 | 21 | BuildRequires: gtk-doc >= 1.9 |
d0cc215a | 22 | BuildRequires: intltool >= 0.40.0 |
5585ec04 | 23 | BuildRequires: libtool >= 2:2.0 |
d0cc215a | 24 | BuildRequires: pkgconfig |
a1ca39e9 | 25 | BuildRequires: tar >= 1:1.22 |
d0cc215a | 26 | BuildRequires: xorg-lib-libX11-devel |
c91086d6 JB |
27 | %{?with_xevie:BuildRequires: xorg-lib-libXevie-devel} |
28 | %{?with_xevie:BuildRequires: xorg-lib-libXext-devel} | |
d0cc215a MB |
29 | BuildRequires: xorg-lib-libXi-devel |
30 | BuildRequires: xorg-lib-libXtst-devel | |
a1ca39e9 | 31 | BuildRequires: xz |
5585ec04 JB |
32 | Requires: %{name}-libs = %{version}-%{release} |
33 | Requires: dbus >= 1.0 | |
d0cc215a MB |
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 | ||
5585ec04 JB |
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 | |
8613ab3f | 62 | Requires: glib2 >= 1:2.36.0 |
5585ec04 JB |
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 | ||
d0cc215a MB |
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 | |
5585ec04 JB |
75 | Requires: %{name}-libs = %{version}-%{release} |
76 | Requires: dbus-devel >= 1.0 | |
8613ab3f | 77 | Requires: glib2-devel >= 1:2.36.0 |
5585ec04 | 78 | Requires: xorg-lib-libX11-devel |
d0cc215a MB |
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 | |
b50f32c0 ER |
91 | %if "%{_rpmversion}" >= "5" |
92 | BuildArch: noarch | |
93 | %endif | |
d0cc215a MB |
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 \ | |
dbb208b1 | 112 | --disable-silent-rules \ |
d0cc215a | 113 | --enable-gtk-doc \ |
c91086d6 | 114 | %{?with_xevie:--enable-xevie} \ |
d0cc215a MB |
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 | ||
5585ec04 JB |
131 | %post libs -p /sbin/ldconfig |
132 | %postun libs -p /sbin/ldconfig | |
d0cc215a MB |
133 | |
134 | %files -f %{name}.lang | |
135 | %defattr(644,root,root,755) | |
4397efc1 | 136 | %doc AUTHORS NEWS README |
d653cc64 | 137 | %attr(755,root,root) %{_libexecdir}/at-spi-bus-launcher |
d0cc215a | 138 | %attr(755,root,root) %{_libexecdir}/at-spi2-registryd |
8821f7ce MB |
139 | %dir %{_datadir}/dbus-1/accessibility-services |
140 | %{_datadir}/dbus-1/accessibility-services/org.a11y.atspi.Registry.service | |
d653cc64 | 141 | %{_datadir}/dbus-1/services/org.a11y.Bus.service |
53eddf50 MB |
142 | %dir %{_datadir}/defaults/at-spi2 |
143 | %{_datadir}/defaults/at-spi2/accessibility.conf | |
d0cc215a | 144 | %{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop |
53eddf50 | 145 | %{systemduserunitdir}/at-spi-dbus-bus.service |
d0cc215a | 146 | |
5585ec04 JB |
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 | ||
d0cc215a MB |
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 | |
d653cc64 | 158 | %{_pkgconfigdir}/atspi-2.pc |
d0cc215a MB |
159 | |
160 | %files apidocs | |
161 | %defattr(644,root,root,755) | |
162 | %{_gtkdocdir}/libatspi |