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