]>
Commit | Line | Data |
---|---|---|
50b7342e | 1 | # |
8d2fd974 | 2 | # Conditional build: |
3 | %bcond_without static_libs # don't build static library | |
4 | # | |
bcdbffe1 | 5 | Summary: Assistive Technology Service Provider Interface |
89a18d38 | 6 | Summary(pl.UTF-8): Interfejs pozwalający na korzystanie z urządzeń wspomagających |
1ed60eac | 7 | Name: at-spi |
ea814177 | 8 | Version: 1.7.15 |
dc4a0092 | 9 | Release: 1 |
31bcddeb | 10 | License: LGPL v2+ |
65c7fc20 | 11 | Group: X11/Libraries |
50b7342e | 12 | Source0: http://ftp.gnome.org/pub/gnome/sources/at-spi/1.7/%{name}-%{version}.tar.bz2 |
ea814177 | 13 | # Source0-md5: b8af15556d24e850feb2ffb40eda1d31 |
5747353d | 14 | URL: http://developer.gnome.org/projects/gap/ |
ea814177 MB |
15 | BuildRequires: ORBit2-devel >= 2.14.4 |
16 | BuildRequires: atk-devel >= 1:1.12.4 | |
3d8e3102 JB |
17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
52835102 | 19 | BuildRequires: gail-devel >= 1.9.3 |
50b7342e | 20 | BuildRequires: gnome-common >= 2.12.0 |
ea814177 | 21 | BuildRequires: gtk+2-devel >= 2:2.10.7 |
6b564294 | 22 | BuildRequires: gtk-doc >= 1.7 |
1d959648 | 23 | BuildRequires: intltool |
52835102 | 24 | BuildRequires: libbonobo-devel >= 2.16.0 |
3d8e3102 | 25 | BuildRequires: libtool |
81dc3929 | 26 | BuildRequires: pkgconfig |
59211053 | 27 | BuildRequires: rpm-build >= 4.1-10 |
50b7342e | 28 | BuildRequires: xorg-lib-libXft-devel >= 2.1 |
29 | BuildRequires: xorg-lib-libXtst-devel | |
65c7fc20 | 30 | Obsoletes: libat-spi1 |
f457a051 | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1ed60eac | 32 | |
1ed60eac | 33 | %description |
65c7fc20 | 34 | at-spi allows assistive technologies to access GTK-based |
35 | applications. Essentially it exposes the internals of applications for | |
36 | automation, so tools such as screen readers, magnifiers, or even | |
37 | scripting interfaces can query and interact with GUI controls. | |
1ed60eac | 38 | |
89a18d38 JR |
39 | %description -l pl.UTF-8 |
40 | at-spi pozwala na korzystanie z urządzeń wspomagających w celu dostępu | |
41 | do aplikacji bazujących na GTK. Przede wszystkim udostępnia wewnętrzne | |
42 | interfejsy aplikacji dla automatyzacji, więc urządzenia takie jak | |
43 | czytniki ekranu, lupy, czy nawet interfejsy skryptowe mogą odpytywać i | |
44 | współpracować z kontrolkami interfejsu graficznego. | |
5747353d | 45 | |
1ed60eac | 46 | %package devel |
65c7fc20 | 47 | Summary: at-spi development files |
89a18d38 | 48 | Summary(pl.UTF-8): Pliki programistyczne at-spi |
65c7fc20 | 49 | Group: X11/Development/Libraries |
28c0711b | 50 | Requires: %{name} = %{version}-%{release} |
ea814177 MB |
51 | Requires: ORBit2-devel >= 2.14.4 |
52 | Requires: atk-devel >= 1:1.12.4 | |
52835102 | 53 | Requires: gail-devel >= 1.9.3 |
ea814177 | 54 | Requires: gtk+2-devel >= 2:2.10.7 |
52835102 | 55 | Requires: libbonobo-devel >= 2.16.0 |
65c7fc20 | 56 | Obsoletes: libat-spi1-devel |
1ed60eac AF |
57 | |
58 | %description devel | |
65c7fc20 | 59 | at-spi development files. |
1ed60eac | 60 | |
89a18d38 | 61 | %description devel -l pl.UTF-8 |
5747353d JB |
62 | Pliki programistyczne at-spi. |
63 | ||
1ed60eac AF |
64 | %package static |
65 | Summary: at-spi static library | |
89a18d38 | 66 | Summary(pl.UTF-8): Statyczna biblioteka at-spi |
65c7fc20 | 67 | Group: X11/Development/Libraries |
28c0711b | 68 | Requires: %{name}-devel = %{version}-%{release} |
1ed60eac AF |
69 | |
70 | %description static | |
65c7fc20 | 71 | at-spi static library. |
1ed60eac | 72 | |
89a18d38 | 73 | %description static -l pl.UTF-8 |
5747353d JB |
74 | Statyczna biblioteka at-spi. |
75 | ||
6b564294 | 76 | %package apidocs |
77 | Summary: at-spi API documentation | |
89a18d38 | 78 | Summary(pl.UTF-8): Dokumentacja API at-spi |
6b564294 | 79 | Group: Documentation |
80 | Requires: gtk-doc-common | |
81 | ||
82 | %description apidocs | |
83 | at-spi API documentation. | |
84 | ||
89a18d38 | 85 | %description apidocs -l pl.UTF-8 |
6b564294 | 86 | Dokumentacja API at-spi. |
87 | ||
1ed60eac AF |
88 | %prep |
89 | %setup -q | |
90 | ||
91 | %build | |
b4b6efd9 | 92 | %{__libtoolize} |
89f121e8 | 93 | %{__aclocal} |
b4b6efd9 | 94 | %{__automake} |
95 | %{__autoconf} | |
28b697dc | 96 | %configure \ |
dc4a0092 | 97 | %{!?with_static_libs:--disable-static} \ |
28c0711b | 98 | --enable-gtk-doc \ |
dc4a0092 | 99 | --enable-static \ |
100 | --with-html-dir=%{_gtkdocdir} | |
1ed60eac AF |
101 | %{__make} |
102 | ||
103 | %install | |
104 | rm -rf $RPM_BUILD_ROOT | |
3d8e3102 | 105 | |
1ed60eac AF |
106 | %{__make} install \ |
107 | DESTDIR=$RPM_BUILD_ROOT \ | |
28d377be | 108 | HTML_DIR=%{_gtkdocdir} |
1ed60eac | 109 | |
5c63673f JB |
110 | # no static modules |
111 | rm -f $RPM_BUILD_ROOT%{_libdir}/{gtk-2.0/modules,orbit-2.0}/*.{la,a} | |
112 | ||
50b7342e | 113 | %find_lang %{name} |
114 | ||
1ed60eac AF |
115 | %clean |
116 | rm -rf $RPM_BUILD_ROOT | |
117 | ||
5aa4de25 | 118 | %post -p /sbin/ldconfig |
119 | %postun -p /sbin/ldconfig | |
1ed60eac | 120 | |
50b7342e | 121 | %files -f %{name}.lang |
1ed60eac | 122 | %defattr(644,root,root,755) |
dc4a0092 | 123 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
e0fa1993 | 124 | %attr(755,root,root) %{_libdir}/at-spi-registryd |
dc4a0092 | 125 | %attr(755,root,root) %{_libdir}/orbit-2.0/*.so |
e0fa1993 | 126 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so |
127 | %{_libdir}/bonobo/servers/* | |
128 | %{_datadir}/idl/* | |
1ed60eac AF |
129 | |
130 | %files devel | |
131 | %defattr(644,root,root,755) | |
1ed60eac | 132 | %{_includedir}/* |
dc4a0092 | 133 | %attr(755,root,root) %{_libdir}/lib*.so |
134 | %{_libdir}/lib*.la | |
1ed60eac AF |
135 | %{_pkgconfigdir}/* |
136 | ||
8d2fd974 | 137 | %if %{with static_libs} |
1ed60eac AF |
138 | %files static |
139 | %defattr(644,root,root,755) | |
140 | %{_libdir}/*.a | |
8d2fd974 | 141 | %endif |
6b564294 | 142 | |
143 | %files apidocs | |
144 | %defattr(644,root,root,755) | |
145 | %{_gtkdocdir}/* | |
146 | %{_docdir}/%{name}-%{version} |