]>
Commit | Line | Data |
---|---|---|
bcdbffe1 | 1 | Summary: Assistive Technology Service Provider Interface |
1ed60eac | 2 | Name: at-spi |
bcdbffe1 | 3 | Version: 1.0.1 |
4 | Release: 1 | |
1ed60eac | 5 | Group: X11/- |
bcdbffe1 | 6 | License: GPL |
1ed60eac | 7 | Source0: ftp://ftp.gnome.org/pub/gnome/pre-gnome2/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 | |
11 | BuildRequires: gail-devel >= 0.13 | |
12 | BuildRequires: gtk+2-devel >= 2.0.3 | |
13 | BuildRequires: atk-devel >= 1.0.2 | |
14 | BuildRequires: popt-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _prefix /usr/X11R6 | |
18 | %define _gtkdocdir /usr/share/doc/gtk-doc/html | |
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} | |
28 | ||
29 | %description devel | |
30 | ||
31 | %package static | |
32 | Summary: at-spi static library | |
33 | Group: - | |
34 | Requires: %{name}-devel = %{version} | |
35 | ||
36 | %description static | |
37 | ||
38 | %prep | |
39 | %setup -q | |
40 | ||
41 | %build | |
42 | %{configure} \ | |
43 | --with-html-path=%{_gtkdocdir} \ | |
44 | --enable-static | |
45 | ||
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT \ | |
52 | HTML_DIR=%{_gtkdocdir} \ | |
53 | pkgconfigdir=%{_pkgconfigdir} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post -p /sbin/ldconfig | |
59 | %postun -p /sbin/ldconfig | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | #%attr(755,root,root) %{_bindir}/* | |
64 | %attr(755,root,root) %{_libdir}/*.so.*.* | |
65 | %attr(755,root,root) %{_libdir}/at-spi-registryd | |
66 | %{_libdir}/bonobo/servers/* | |
67 | %attr(755,root,root) %{_libdir}/orbit-2.0/*.?? | |
68 | %{_datadir}/idl/* | |
69 | ||
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
72 | %attr(755,root,root) %{_libdir}/*.so | |
73 | %attr(755,root,root) %{_libdir}/*.la | |
74 | %{_includedir}/* | |
75 | %doc %{_gtkdocdir}/* | |
76 | %{_pkgconfigdir}/* | |
77 | ||
78 | %files static | |
79 | %defattr(644,root,root,755) | |
80 | %{_libdir}/*.a |