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