]>
Commit | Line | Data |
---|---|---|
bcdbffe1 | 1 | Summary: Assistive Technology Service Provider Interface |
1ed60eac | 2 | Name: at-spi |
7fe4d6c9 | 3 | Version: 1.0.2 |
4 | Release: 1 | |
65c7fc20 | 5 | License: LGPL |
6 | Group: X11/Libraries | |
7fe4d6c9 | 7 | Source0: http://ftp.gnome.org/pub/GNOME/2.0.1/sources/%{name}/%{name}-%{version}.tar.bz2 |
bcdbffe1 | 8 | URL: http://developer.gnome.org/projects/gap |
1ed60eac AF |
9 | BuildRequires: gtk-doc >= 0.9-2 |
10 | BuildRequires: libbonobo-devel >= 2.0.0 | |
7fe4d6c9 | 11 | BuildRequires: gail-devel >= 0.17 |
12 | BuildRequires: gtk+2-devel >= 2.0.6 | |
13 | BuildRequires: atk-devel >= 1.0.3 | |
1ed60eac AF |
14 | BuildRequires: popt-devel |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
65c7fc20 | 16 | Obsoletes: libat-spi1 |
1ed60eac AF |
17 | |
18 | %define _prefix /usr/X11R6 | |
f34bf705 | 19 | %define _gtkdocdir %{_defaultdocdir}/gtk-doc/html |
1ed60eac AF |
20 | |
21 | %description | |
65c7fc20 | 22 | at-spi allows assistive technologies to access GTK-based |
23 | applications. Essentially it exposes the internals of applications for | |
24 | automation, so tools such as screen readers, magnifiers, or even | |
25 | scripting interfaces can query and interact with GUI controls. | |
1ed60eac AF |
26 | |
27 | %package devel | |
65c7fc20 | 28 | Summary: at-spi development files |
29 | Group: X11/Development/Libraries | |
1ed60eac | 30 | Requires: %{name} = %{version} |
f34bf705 | 31 | Requires: gtk-doc-common |
65c7fc20 | 32 | Obsoletes: libat-spi1-devel |
1ed60eac AF |
33 | |
34 | %description devel | |
65c7fc20 | 35 | at-spi development files. |
1ed60eac AF |
36 | |
37 | %package static | |
38 | Summary: at-spi static library | |
65c7fc20 | 39 | Group: X11/Development/Libraries |
1ed60eac AF |
40 | Requires: %{name}-devel = %{version} |
41 | ||
42 | %description static | |
65c7fc20 | 43 | at-spi static library. |
1ed60eac AF |
44 | |
45 | %prep | |
46 | %setup -q | |
47 | ||
48 | %build | |
28b697dc | 49 | %configure \ |
1ed60eac AF |
50 | --with-html-path=%{_gtkdocdir} \ |
51 | --enable-static | |
52 | ||
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT \ | |
59 | HTML_DIR=%{_gtkdocdir} \ | |
60 | pkgconfigdir=%{_pkgconfigdir} | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
28b697dc | 65 | %post -p /sbin/ldconfig |
1ed60eac AF |
66 | %postun -p /sbin/ldconfig |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
70 | #%attr(755,root,root) %{_bindir}/* | |
71 | %attr(755,root,root) %{_libdir}/*.so.*.* | |
72 | %attr(755,root,root) %{_libdir}/at-spi-registryd | |
73 | %{_libdir}/bonobo/servers/* | |
74 | %attr(755,root,root) %{_libdir}/orbit-2.0/*.?? | |
75 | %{_datadir}/idl/* | |
76 | ||
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %attr(755,root,root) %{_libdir}/*.so | |
80 | %attr(755,root,root) %{_libdir}/*.la | |
81 | %{_includedir}/* | |
82 | %doc %{_gtkdocdir}/* | |
83 | %{_pkgconfigdir}/* | |
84 | ||
85 | %files static | |
86 | %defattr(644,root,root,755) | |
87 | %{_libdir}/*.a |