===== Released 1.5.3=====
[atk.git] / atk.spec.in
blob94cd1b82e6335b2c4c8095b04578ab4a62c423bd
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@
13 %description
14 Handy library of accessability functions. Development libs and headers
15 are in atk-devel.
17 %package devel
18 Summary: Header, docs and development libraries for atk.
19 Group: Development/Libraries
20 Requires: %{name} = %{version}
22 %description devel
23 Header, docs and development libraries for atk.
25 %prep
26 %setup -q
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
37 %install
38 rm -rf $RPM_BUILD_ROOT
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
47 %clean
48 rm -rf $RPM_BUILD_ROOT
50 %post -p /sbin/ldconfig
52 %postun -p /sbin/ldconfig
54 %files
55 %defattr(-, root, root)
57 %doc AUTHORS COPYING ChangeLog NEWS README
58 %{_libdir}/lib*.so.*
60 %files devel
61 %defattr(-, root, root)
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/*/*
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/*/*
75 * Mon Aug 27 2001 Jens Finke <jens@gnome.org>
76 - glib2 package now required
77 - updated source url
79 * Wed Aug 15 2001 Jens Finke <jens@gnome.org>
80 - created spec file