]>
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 |
8c784cdb | 8 | Version: 2.28.0 |
53eddf50 | 9 | Release: 1 |
5585ec04 JB |
10 | License: LGPL v2+ |
11 | Group: Daemons | |
8c784cdb MB |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.28/%{name}-%{version}.tar.xz |
13 | # Source0-md5: 9c42f79636ed1c0e908b7483d789b32e | |
3e2749b1 | 14 | URL: https://www.linuxfoundation.org/en/AT-SPI_on_D-Bus |
d0cc215a | 15 | BuildRequires: dbus-devel >= 1.0 |
46c3d207 | 16 | BuildRequires: gettext-tools >= 0.19.8 |
8613ab3f | 17 | BuildRequires: glib2-devel >= 1:2.36.0 |
46c3d207 MB |
18 | BuildRequires: gobject-introspection-devel >= 1.32.0 |
19 | BuildRequires: gtk-doc >= 1.25 | |
8c784cdb | 20 | BuildRequires: meson >= 0.40.1 |
d0cc215a | 21 | BuildRequires: pkgconfig |
a1ca39e9 | 22 | BuildRequires: tar >= 1:1.22 |
d0cc215a | 23 | BuildRequires: xorg-lib-libX11-devel |
c91086d6 JB |
24 | %{?with_xevie:BuildRequires: xorg-lib-libXevie-devel} |
25 | %{?with_xevie:BuildRequires: xorg-lib-libXext-devel} | |
d0cc215a MB |
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 | |
8613ab3f | 59 | Requires: glib2 >= 1:2.36.0 |
5585ec04 JB |
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 | |
8613ab3f | 74 | Requires: glib2-devel >= 1:2.36.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 | |
b50f32c0 ER |
88 | %if "%{_rpmversion}" >= "5" |
89 | BuildArch: noarch | |
90 | %endif | |
d0cc215a MB |
91 | |
92 | %description apidocs | |
93 | at-spi2 library API documentation. | |
94 | ||
95 | %description apidocs -l pl.UTF-8 | |
96 | Dokumentacja API biblioteki at-spi2. | |
97 | ||
98 | %prep | |
99 | %setup -q | |
100 | ||
101 | %build | |
8c784cdb MB |
102 | %meson build \ |
103 | -Denable_docs=true \ | |
104 | -Denable-x11=yes | |
105 | %meson_build -C build | |
d0cc215a MB |
106 | |
107 | %install | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
8c784cdb | 110 | %meson_install -C build |
d0cc215a MB |
111 | |
112 | %find_lang %{name} | |
113 | ||
114 | %clean | |
115 | rm -rf $RPM_BUILD_ROOT | |
116 | ||
5585ec04 JB |
117 | %post libs -p /sbin/ldconfig |
118 | %postun libs -p /sbin/ldconfig | |
d0cc215a MB |
119 | |
120 | %files -f %{name}.lang | |
121 | %defattr(644,root,root,755) | |
4397efc1 | 122 | %doc AUTHORS NEWS README |
d653cc64 | 123 | %attr(755,root,root) %{_libexecdir}/at-spi-bus-launcher |
d0cc215a | 124 | %attr(755,root,root) %{_libexecdir}/at-spi2-registryd |
8821f7ce MB |
125 | %dir %{_datadir}/dbus-1/accessibility-services |
126 | %{_datadir}/dbus-1/accessibility-services/org.a11y.atspi.Registry.service | |
d653cc64 | 127 | %{_datadir}/dbus-1/services/org.a11y.Bus.service |
53eddf50 MB |
128 | %dir %{_datadir}/defaults/at-spi2 |
129 | %{_datadir}/defaults/at-spi2/accessibility.conf | |
d0cc215a | 130 | %{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop |
53eddf50 | 131 | %{systemduserunitdir}/at-spi-dbus-bus.service |
d0cc215a | 132 | |
5585ec04 JB |
133 | %files libs |
134 | %defattr(644,root,root,755) | |
135 | %attr(755,root,root) %{_libdir}/libatspi.so.*.*.* | |
136 | %attr(755,root,root) %ghost %{_libdir}/libatspi.so.0 | |
137 | %{_libdir}/girepository-1.0/Atspi-2.0.typelib | |
138 | ||
d0cc215a MB |
139 | %files devel |
140 | %defattr(644,root,root,755) | |
141 | %attr(755,root,root) %{_libdir}/libatspi.so | |
142 | %{_includedir}/at-spi-2.0 | |
143 | %{_datadir}/gir-1.0/Atspi-2.0.gir | |
d653cc64 | 144 | %{_pkgconfigdir}/atspi-2.pc |
d0cc215a MB |
145 | |
146 | %files apidocs | |
147 | %defattr(644,root,root,755) | |
148 | %{_gtkdocdir}/libatspi |