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