]>
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 |
cd422ef0 MB |
4 | Version: 2.2.2 |
5 | Release: 1 | |
5585ec04 JB |
6 | License: LGPL v2+ |
7 | Group: Daemons | |
a1ca39e9 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.2/%{name}-%{version}.tar.xz |
cd422ef0 | 9 | # Source0-md5: 35901c9bdeabcbfc3ed1a5b98c54b726 |
d0cc215a MB |
10 | URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus |
11 | BuildRequires: autoconf >= 2.59 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: dbus-devel >= 1.0 | |
d0cc215a | 14 | BuildRequires: gettext-devel |
a1ca39e9 | 15 | BuildRequires: glib2-devel >= 1:2.28.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 | |
58 | Requires: glib2 >= 1:2.28.0 | |
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 | |
a1ca39e9 | 73 | Requires: glib2-devel >= 1:2.28.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 \ | |
105 | --enable-gtk-doc \ | |
106 | --with-html-dir=%{_gtkdocdir} | |
107 | %{__make} | |
108 | ||
109 | %install | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
112 | %{__make} install \ | |
113 | DESTDIR=$RPM_BUILD_ROOT | |
114 | ||
115 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
116 | ||
117 | %find_lang %{name} | |
118 | ||
119 | %clean | |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
5585ec04 JB |
122 | %post libs -p /sbin/ldconfig |
123 | %postun libs -p /sbin/ldconfig | |
d0cc215a MB |
124 | |
125 | %files -f %{name}.lang | |
126 | %defattr(644,root,root,755) | |
127 | %doc AUTHORS ChangeLog NEWS README | |
d653cc64 | 128 | %attr(755,root,root) %{_libexecdir}/at-spi-bus-launcher |
d0cc215a | 129 | %attr(755,root,root) %{_libexecdir}/at-spi2-registryd |
d0cc215a | 130 | %{_datadir}/dbus-1/services/org.a11y.atspi.Registry.service |
d653cc64 | 131 | %{_datadir}/dbus-1/services/org.a11y.Bus.service |
d0cc215a MB |
132 | %dir %{_sysconfdir}/at-spi2 |
133 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/at-spi2/accessibility.conf | |
134 | %{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop | |
135 | ||
5585ec04 JB |
136 | %files libs |
137 | %defattr(644,root,root,755) | |
138 | %attr(755,root,root) %{_libdir}/libatspi.so.*.*.* | |
139 | %attr(755,root,root) %ghost %{_libdir}/libatspi.so.0 | |
140 | %{_libdir}/girepository-1.0/Atspi-2.0.typelib | |
141 | ||
d0cc215a MB |
142 | %files devel |
143 | %defattr(644,root,root,755) | |
144 | %attr(755,root,root) %{_libdir}/libatspi.so | |
145 | %{_includedir}/at-spi-2.0 | |
146 | %{_datadir}/gir-1.0/Atspi-2.0.gir | |
d653cc64 | 147 | %{_pkgconfigdir}/atspi-2.pc |
d0cc215a MB |
148 | |
149 | %files apidocs | |
150 | %defattr(644,root,root,755) | |
151 | %{_gtkdocdir}/libatspi |