]>
Commit | Line | Data |
---|---|---|
bb4a8862 | 1 | Summary: Accessibility implementation for GTK+ and GNOME libraries |
2 | Name: gail | |
3 | Version: 0.13 | |
4 | Release: 0.1 | |
5 | Source0: ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2 | |
6 | URL: http://developer.gnome.org/projects/gap | |
7 | License: LGPL | |
8 | Group: X11/Libraries | |
9 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
10 | BuildRequires: gtk+2-devel | |
11 | BuildRequires: libgnomecanvas-devel | |
12 | ||
13 | %define _prefix /usr/X11R6 | |
14 | ||
15 | %description | |
16 | GAIL implements the abstract interfaces found in ATK for GTK+ and | |
17 | GNOME libraries, enabling accessibility technologies such as at-spi to | |
18 | access those GUIs. | |
19 | ||
20 | %package devel | |
21 | Summary: Header files to compile applications that use GAIL | |
22 | Group: X11/Development/Libraries | |
23 | Requires: %{name} = %{version} | |
24 | ||
25 | %description devel | |
26 | gail-devel contains the feader files required to compile applications | |
27 | against the GAIL libraries. | |
28 | ||
29 | %package static | |
30 | Summary: Static libraries to compile applications that use GAIL | |
31 | Group: X11/Development/Libraries | |
32 | Requires: %{name}-devel = %{version} | |
33 | ||
34 | %description static | |
35 | gail-devel contains the static libraries required to compile applications | |
36 | against the GAIL libraries. | |
37 | ||
38 | %prep | |
39 | %setup -q | |
40 | ||
41 | %build | |
42 | %configure \ | |
43 | --enable-gtk-doc=no \ | |
44 | --enable-static | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT \ | |
51 | pkgconfigdir=%{_pkgconfigdir} | |
52 | ||
53 | gzip -9nf AUTHORS ChangeLog NEWS README | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
48afc82d | 58 | %post -p /sbin/ldconfig |
59 | %postun -p /sbin/ldconfig | |
60 | ||
bb4a8862 | 61 | %files |
62 | %defattr(644,root,root,755) | |
63 | %doc *.gz | |
64 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
65 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.?? | |
66 | ||
67 | %files devel | |
68 | %defattr(644,root,root,755) | |
69 | %attr(755,root,root) %{_libdir}/lib*.?? | |
70 | %{_includedir}/gail-1.0 | |
71 | %{_pkgconfigdir}/*.pc | |
72 | ||
73 | %files static | |
74 | %defattr(644,root,root,755) | |
75 | %{_libdir}/*.a |