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