Release 2.11.2
[atk.git] / atk.spec.in
blob34864928b84cf98d2f05e846fcd31b3ed25d28b1
1 Name: atk
2 Summary: Accessibility Toolkit
3 Version: @VERSION@
4 Release: 1
5 License: LGPL
6 Group: Development/Libraries
7 Source: ftp://ftp.gimp.org/pub/gtk/v2.6/%{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 accessibility 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 * Wed Feb 23 2005 Padraig O'Briain <padraig.obriain@sun.com>
72 - Updated version number in Source from 1.3 to 2.6.
73 - Corrceted spelling of Accessibility
75 * Fri Jun 20 2003 James T. Richardson, Jr. <james@richardsons.us>
76 - Updated for atk-1.3.2
77 added: {_datadir}/locale/*/*
79 * Mon Aug 27 2001 Jens Finke <jens@gnome.org>
80 - glib2 package now required
81 - updated source url
83 * Wed Aug 15 2001 Jens Finke <jens@gnome.org>
84 - created spec file