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