1 | Name: atk |
---|
2 | Summary: Accessability Toolkit |
---|
3 | Version: @VERSION@ |
---|
4 | Release: 1 |
---|
5 | License: LGPL |
---|
6 | Group: Development/Libraries |
---|
7 | Source: ftp://ftp.gimp.org/pub/gtk/v1.3/%{name}-%{version}.tar.gz |
---|
8 | BuildRoot: /var/tmp/%{name}-%{version}-root |
---|
9 | URL: http://www.gtk.org |
---|
10 | Requires: glib2 >= @GLIB_REQUIRED_VERSION@ |
---|
11 | BuildRequires: glib2-devel >= @GLIB_REQUIRED_VERSION@ |
---|
12 | |
---|
13 | %description |
---|
14 | Handy library of accessability functions. Development libs and headers |
---|
15 | are in atk-devel. |
---|
16 | |
---|
17 | %package devel |
---|
18 | Summary: Header, docs and development libraries for atk. |
---|
19 | Group: Development/Libraries |
---|
20 | Requires: %{name} = %{version} |
---|
21 | |
---|
22 | %description devel |
---|
23 | Header, docs and development libraries for atk. |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q |
---|
27 | |
---|
28 | %build |
---|
29 | CFLAGS="$RPM_OPT_FLAGS" |
---|
30 | ./configure --prefix=%{_prefix} \ |
---|
31 | --bindir=%{_bindir} --mandir=%{_mandir} \ |
---|
32 | --localstatedir=%{_localstatedir} --libdir=%{_libdir} \ |
---|
33 | --datadir=%{_datadir} --includedir=%{_includedir} \ |
---|
34 | --sysconfdir=%{_sysconfdir} --disable-gtk-doc |
---|
35 | make |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf $RPM_BUILD_ROOT |
---|
39 | |
---|
40 | make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \ |
---|
41 | mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \ |
---|
42 | localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \ |
---|
43 | datadir=$RPM_BUILD_ROOT%{_datadir} \ |
---|
44 | includedir=$RPM_BUILD_ROOT%{_includedir} \ |
---|
45 | sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf $RPM_BUILD_ROOT |
---|
49 | |
---|
50 | %post -p /sbin/ldconfig |
---|
51 | |
---|
52 | %postun -p /sbin/ldconfig |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-, root, root) |
---|
56 | |
---|
57 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
58 | %{_libdir}/lib*.so.* |
---|
59 | |
---|
60 | %files devel |
---|
61 | %defattr(-, root, root) |
---|
62 | |
---|
63 | %{_libdir}/lib*.so |
---|
64 | %{_libdir}/*a |
---|
65 | %{_libdir}/pkgconfig/*.pc |
---|
66 | %{_includedir}/atk-1.0 |
---|
67 | %{_datadir}/gtk-doc/html/atk |
---|
68 | %{_datadir}/locale/*/* |
---|
69 | |
---|
70 | %changelog |
---|
71 | * Fri Jun 20 2003 James T. Richardson, Jr. <james@richardsons.us> |
---|
72 | - Updated for atk-1.3.2 |
---|
73 | added: {_datadir}/locale/*/* |
---|
74 | |
---|
75 | * Mon Aug 27 2001 Jens Finke <jens@gnome.org> |
---|
76 | - glib2 package now required |
---|
77 | - updated source url |
---|
78 | |
---|
79 | * Wed Aug 15 2001 Jens Finke <jens@gnome.org> |
---|
80 | - created spec file |
---|