9397
|
1 |
#
|
|
2 |
# spec file for package atk
|
|
3 |
#
|
11447
|
4 |
# Copyright (c) 2008 Sun Microsystems, Inc.
|
9397
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner liyuan
|
9397
|
9 |
#
|
16430
|
10 |
|
17851
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16430
|
12 |
|
9397
|
13 |
Name: atk
|
14560
|
14 |
License: LGPL v2
|
9397
|
15 |
Group: System/Libraries
|
17781
|
16 |
Version: 1.30.0
|
9397
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
17851
|
19 |
Vendor: Gnome Community
|
9397
|
20 |
Summary: ATK - Accesibility Toolkit Libraries
|
17781
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/atk/1.30/%{name}-%{version}.tar.bz2
|
9397
|
22 |
URL: http://www.gtk.org
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
Docdir: %{_defaultdocdir}/doc
|
|
25 |
AutoReqProv: on
|
|
26 |
Prereq: /sbin/ldconfig
|
|
27 |
|
|
28 |
%define glib2_version 2.5.7
|
|
29 |
|
|
30 |
Requires: glib2 >= %{glib2_version}
|
|
31 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
32 |
|
|
33 |
%description
|
|
34 |
The ATK Library provides a set of interfaces for accesibility. By supporting the ATK interfaces, an application or toolkit can be used with such tools as screen readers, magnifiers, and alternate input devices.
|
|
35 |
|
|
36 |
%package devel
|
|
37 |
Summary: ATK - Accessibility Toolkit Developer Libraries
|
|
38 |
Group: Development/Libraries/GNOME
|
|
39 |
Requires: %{name} = %{version}
|
|
40 |
Requires: glib2-devel >= %{glib2_version}
|
|
41 |
|
|
42 |
%description devel
|
|
43 |
The ATK Library provides a set of interfaces for accesibility. By supporting the ATK interfaces, an application or toolkit can be used with such tools as screen readers, magnifiers, and alternate input devices.
|
|
44 |
|
|
45 |
%prep
|
|
46 |
%setup -q
|
|
47 |
|
|
48 |
%build
|
|
49 |
%ifos linux
|
|
50 |
if [ -x /usr/bin/getconf ]; then
|
|
51 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
52 |
fi
|
|
53 |
%else
|
|
54 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
55 |
%endif
|
|
56 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
57 |
CPUS=1
|
|
58 |
fi
|
|
59 |
|
17651
|
60 |
export PATH=/usr/sfw/bin:/usr/gnu/bin:$PATH
|
16376
|
61 |
libtoolize -f
|
|
62 |
aclocal $ACLOCAL_FLAGS
|
9397
|
63 |
gtkdocize
|
16376
|
64 |
autoheader
|
|
65 |
automake -a -c -f
|
|
66 |
autoconf
|
|
67 |
|
9576
|
68 |
export CFLAGS="%{optflags}"
|
|
69 |
export LDFLAGS="%{_ldflags}"
|
|
70 |
./configure \
|
|
71 |
--prefix=%{_prefix} \
|
9397
|
72 |
--sysconfdir=%{_sysconfdir} \
|
9576
|
73 |
--libdir=%{_libdir} \
|
|
74 |
--bindir=%{_bindir} \
|
9397
|
75 |
%{gtk_doc_option}
|
|
76 |
make -j $CPUS
|
|
77 |
|
|
78 |
%install
|
17651
|
79 |
export PATH=/usr/sfw/bin:/usr/gnu/bin:$PATH
|
9397
|
80 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
81 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
82 |
|
|
83 |
%clean
|
|
84 |
rm -rf $RPM_BUILD_ROOT
|
|
85 |
|
|
86 |
%post
|
|
87 |
/sbin/ldconfig
|
|
88 |
|
|
89 |
%postun
|
|
90 |
/sbin/ldconfig
|
|
91 |
|
|
92 |
%files
|
|
93 |
%defattr(-, root, root)
|
|
94 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
95 |
%{_libdir}/libatk*.so.*
|
|
96 |
|
|
97 |
%files devel
|
|
98 |
%defattr(-, root, root)
|
|
99 |
%{_includedir}/atk-1.0/*
|
|
100 |
%{_libdir}/pkgconfig/*.pc
|
|
101 |
%{_libdir}/libatk*.so
|
|
102 |
%{_datadir}/gtk-doc/html/atk
|
|
103 |
%{_mandir}/man3/*
|
|
104 |
|
|
105 |
%changelog
|
17781
|
106 |
* Tue Mar 30 2010 - [email protected]
|
|
107 |
- Bump to 1.30.0.
|
17667
|
108 |
* Thu Mar 11 2010 - [email protected]
|
|
109 |
- Bump to 1.29.92.
|
17651
|
110 |
* Tue Mar 09 2010 - [email protected]
|
|
111 |
- Bump to 1.29.92.
|
17647
|
112 |
* Mon Mar 8 2010 - [email protected]
|
|
113 |
- Make sure we use gnu make.
|
17641
|
114 |
* Fri Mar 5 2010 - [email protected]
|
|
115 |
- Bump to 1.29.4.
|
17051
|
116 |
* Mon Nov 30 2009 - [email protected]
|
|
117 |
- Bump to 1.29.3
|
16953
|
118 |
* Fri Nov 13 2009 - [email protected]
|
16954
|
119 |
- Correct download url.
|
|
120 |
* Fri Nov 13 2009 - [email protected]
|
16953
|
121 |
- Bump to 1.29.2
|
16628
|
122 |
* Wed Sep 23 2009 - [email protected]
|
|
123 |
- Bump to 1.28.0
|
16376
|
124 |
* Thu Aug 27 2009 - [email protected]
|
|
125 |
- Run aclocal and related commands before configure.
|
16230
|
126 |
* Tue Aug 11 2009 - [email protected]
|
|
127 |
- Bump to 1.27.90.
|
15424
|
128 |
* Tue Mar 17 2009 - [email protected]
|
|
129 |
- Bump to 1.26.0
|
14697
|
130 |
* Wed Dec 03 2008 - [email protected]
|
|
131 |
- Bump to 1.25.2
|
14560
|
132 |
* Wed Nov 05 2008 - [email protected]
|
|
133 |
- Change copyright information.
|
14511
|
134 |
* Mon Oct 27 2008 - [email protected]
|
|
135 |
- Correct the url of tarball.
|
13820
|
136 |
* Mon Sep 29 2008 - [email protected]
|
|
137 |
- Bump to 1.24.0.
|
12868
|
138 |
* Mon Jul 21 2008 - [email protected]
|
|
139 |
- Bump to 1.23.5.
|
11830
|
140 |
* Mon Mar 10 2008 - [email protected]
|
|
141 |
- Bump to 1.22.0.
|
11709
|
142 |
* Mon Feb 25 2008 - [email protected]
|
|
143 |
- Bump to 1.21.92.
|
11447
|
144 |
* Mon Jan 14 2008 - [email protected]
|
|
145 |
- Bump to 1.21.5.
|
11430
|
146 |
* Thu Jan 10 2008 - [email protected]
|
|
147 |
- change owner to liyuan.
|
10509
|
148 |
* Tue Sep 18 2007 - [email protected]
|
|
149 |
- Bump to 1.20.0.
|
10230
|
150 |
* Mon Jul 30 2007 - [email protected]
|
|
151 |
- Bump to 1.19.6.
|
10004
|
152 |
* Wed Jun 06 2007 - [email protected]
|
|
153 |
- Bump to 1.19.3. Remove upstream patch, 01-mkenums.
|
9863
|
154 |
* Thu May 10 2007 - [email protected]
|
|
155 |
- Bump to 1.19.1.
|
9811
|
156 |
* Tue May 01 2007 - [email protected]
|
|
157 |
- Add patch to use $(GLIB_MKENUMS) rather than glib-mkenums.
|
9576
|
158 |
* Thu Mar 15 2007 - [email protected]
|
|
159 |
- convert to new style of building multiple ISAs as per docs/multi-ISA.txt
|
9565
|
160 |
* Wed Mar 15 2007 - [email protected]
|
|
161 |
- Removed adding ccdir to PATH
|
9522
|
162 |
* Mon Mar 12 2007 - [email protected]
|
|
163 |
- Bump to 1.18.0.
|
9397
|
164 |
* Tue Feb 13 2007 - [email protected]
|
|
165 |
- Bump to 1.17.0.
|
|
166 |
* Mon Jan 22 2007 - [email protected]
|
|
167 |
- Bump to 1.13.2.
|
|
168 |
* Tue Jan 09 2007 - [email protected]
|
|
169 |
- Bump to 1.13.1.
|
|
170 |
* Mon Jan 08 2007 - [email protected]
|
|
171 |
- Bump to 1.13.0.
|
|
172 |
* Tue Dec 19 2006 - [email protected]
|
|
173 |
- Bump to 1.12.4.
|
|
174 |
* Fri Nov 3 2006 - [email protected]
|
|
175 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
176 |
--without-gtk-doc
|
|
177 |
* Mon Oct 02 2006 - [email protected]
|
|
178 |
- Bump to 1.12.3.
|
|
179 |
* Tue Aug 22 2006 - [email protected]
|
|
180 |
- Bump to 1.12.2.
|
|
181 |
* Wed Jul 19 2006 - [email protected]
|
|
182 |
- Bump to 1.12.1.
|
|
183 |
* Fri Mar 31 2006 - [email protected]
|
|
184 |
- Bump to 1.11.4.
|
|
185 |
* Mon Mar 13 2006 - [email protected]
|
|
186 |
- Bump to 1.11.3.
|
|
187 |
* Tue Jan 17 2006 - [email protected]
|
|
188 |
- Bump to 1.11.0
|
|
189 |
* Thu Sep 08 2005 - [email protected]
|
|
190 |
- Bump to 1.10.3.
|
|
191 |
* Mon Sep 05 2005 - [email protected]
|
|
192 |
- Bump to 1.10.2.
|
|
193 |
* Mon Aug 15 2005 - [email protected]
|
|
194 |
- Bump to 1.10.1
|
|
195 |
* Fri May 06 2005 - [email protected]
|
|
196 |
- Bump to 1.9.1
|
|
197 |
* Fri Oct 29 2004 - [email protected]
|
|
198 |
- use $CC64 for the 64-bit build if defined
|
|
199 |
* Sat Oct 2 2004 - [email protected]
|
|
200 |
- Create 64bit libraries for Solaris
|
|
201 |
* Wed Aug 18 2004 - [email protected]
|
|
202 |
- added --enable-gtk-doc.
|
|
203 |
* Wed Jul 28 2004 - <[email protected]>
|
|
204 |
- Bump to 1.7.3
|
|
205 |
* Mon Jul 26 2004 - <[email protected]>
|
|
206 |
- Bump to 1.7.2
|
|
207 |
* Thu Jul 08 2004 - [email protected]
|
|
208 |
- Updated l10n content to atk-l10n-po-1.2.tar.bz2
|
|
209 |
* Wed Jul 07 2004 - [email protected]
|
|
210 |
- ported to rpm4
|
|
211 |
* Wed Jul 07 2004 - [email protected]
|
|
212 |
- added "-j $CPUS" to make to speed up builds
|
|
213 |
* Tue Jun 08 2004 - <[email protected]>
|
|
214 |
- Bump to 1.7.1
|
|
215 |
* Wed May 12 2004 - [email protected]
|
|
216 |
- Updated l10n content to atk-l10n-po-1.1.tar.bz2
|
|
217 |
* Thu Apr 22 2004 - <[email protected]>
|
|
218 |
- Bump to 1.7.0
|
|
219 |
* Mon Mar 29 2004 - [email protected]
|
|
220 |
- Updated l10n content to atk-l10n-po-1.0.tar.bz2
|
|
221 |
* Mon Mar 15 2004 - <[email protected]>
|
|
222 |
- Change '1.5' in URL to '1.6'.
|
|
223 |
* Thu Mar 11 2004 - <[email protected]>
|
|
224 |
- Reset release to 1.
|
|
225 |
* Wed Mar 10 2004 - <[email protected]>
|
|
226 |
- Bump to 1.6.0
|
|
227 |
* Wed Feb 18 2004 - <[email protected]>
|
|
228 |
- Bump to 1.5.4, remove pc patch
|
|
229 |
* Fri Jan 09 2004 - <[email protected]>
|
|
230 |
- add patch to fix a broken .pc file
|
|
231 |
- clean up for Solaris builds
|
|
232 |
* Mon Dec 15 2003 - <[email protected]>
|
|
233 |
- upgrade to 1.5.1 tarball
|
|
234 |
* Mon Oct 6 2003 - <[email protected]>
|
|
235 |
- upgrade to 1.4 tarball
|
|
236 |
* Thu Aug 14 2003 - <[email protected]>
|
|
237 |
- move lib*.so to -devel, remove *.a, *.la
|
|
238 |
* Tue May 13 2003 - [email protected]
|
|
239 |
- initial Sun release
|