]>
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 | |
1ed60eac | 5 | Group: X11/- |
bcdbffe1 | 6 | License: GPL |
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) | |
16 | ||
17 | %define _prefix /usr/X11R6 | |
f34bf705 | 18 | %define _gtkdocdir %{_defaultdocdir}/gtk-doc/html |
1ed60eac AF |
19 | |
20 | %description | |
bcdbffe1 | 21 | This is the Early Access Release of the Gnome Accessibility Project's |
22 | Assistive Technology Service Provider Interface. | |
1ed60eac AF |
23 | |
24 | %package devel | |
25 | Summary: at-spi devel files | |
26 | Group: - | |
27 | Requires: %{name} = %{version} | |
f34bf705 | 28 | Requires: gtk-doc-common |
1ed60eac AF |
29 | |
30 | %description devel | |
31 | ||
32 | %package static | |
33 | Summary: at-spi static library | |
34 | Group: - | |
35 | Requires: %{name}-devel = %{version} | |
36 | ||
37 | %description static | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %{configure} \ | |
44 | --with-html-path=%{_gtkdocdir} \ | |
45 | --enable-static | |
46 | ||
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT \ | |
53 | HTML_DIR=%{_gtkdocdir} \ | |
54 | pkgconfigdir=%{_pkgconfigdir} | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p /sbin/ldconfig | |
60 | %postun -p /sbin/ldconfig | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | #%attr(755,root,root) %{_bindir}/* | |
65 | %attr(755,root,root) %{_libdir}/*.so.*.* | |
66 | %attr(755,root,root) %{_libdir}/at-spi-registryd | |
67 | %{_libdir}/bonobo/servers/* | |
68 | %attr(755,root,root) %{_libdir}/orbit-2.0/*.?? | |
69 | %{_datadir}/idl/* | |
70 | ||
71 | %files devel | |
72 | %defattr(644,root,root,755) | |
73 | %attr(755,root,root) %{_libdir}/*.so | |
74 | %attr(755,root,root) %{_libdir}/*.la | |
75 | %{_includedir}/* | |
76 | %doc %{_gtkdocdir}/* | |
77 | %{_pkgconfigdir}/* | |
78 | ||
79 | %files static | |
80 | %defattr(644,root,root,755) | |
81 | %{_libdir}/*.a |