author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 18269 | 5218a1567988 |
child 20174 | feedc7b878f5 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package at-spi |
|
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 |
# |
10635 | 10 |
|
17851 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16426 | 12 |
|
9397 | 13 |
Name: at-spi |
14560 | 14 |
License: LGPL v2 |
9397 | 15 |
Group: System/Libraries |
18175 | 16 |
Version: 1.31.1 |
9397 | 17 |
Release: 1 |
18 |
Distribution: Java Desktop System |
|
17851 | 19 |
Vendor: Gnome Community |
9397 | 20 |
Summary: Assistive Technology Service Provider Interface |
18175 | 21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/at-spi/1.31/%{name}-%{version}.tar.bz2 |
12031 | 22 |
%if %build_l10n |
23 |
Source1: l10n-configure.sh |
|
24 |
%endif |
|
16966 | 25 |
#date:2009-11-17 owner:liyuan type:branding doo#12703 |
26 |
Patch1: at-spi-01-disable-dbus.diff |
|
17368 | 27 |
# date:2010-01-17 owner:chrisk type:bug |
28 |
Patch2: at-spi-02-fixxref-modules.diff |
|
17815 | 29 |
# date:2010-04-09 owner:lin type:bug doo#11495 |
30 |
Patch3: at-spi-03-hack-for-gksu.diff |
|
18069 | 31 |
# date:2010-05-28 owner:wangke type:bug doo:15964 |
18046 | 32 |
Patch4: at-spi-04-custom-g-main-context.diff |
9397 | 33 |
URL: http://developer.gnome.org/projects/gap/ |
34 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
35 |
Docdir: %{_defaultdocdir}/%{name} |
|
36 |
Autoreqprov: on |
|
37 |
Prereq: /sbin/ldconfig |
|
38 |
||
39 |
%define gtk2_version 2.4.0 |
|
40 |
%define libbonobo_version 2.6.0 |
|
41 |
%define atk_version 1.7.2 |
|
42 |
%define gail_version 1.6.3 |
|
43 |
||
44 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
45 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
46 |
BuildRequires: gail-devel >= %{gail_version} |
|
47 |
Requires: gtk2 >= %{gtk2_version} |
|
48 |
Requires: libbonobo >= %{libbonobo_version} |
|
49 |
Requires: gail >= %{gail_version} |
|
50 |
||
51 |
%description |
|
52 |
at-spi allows assistive technologies to access GTK-based |
|
53 |
applications. Essentially it exposes the internals of applications for |
|
54 |
automation, so tools such as screen readers, magnifiers, or even |
|
55 |
scripting interfaces can query and interact with GUI controls. |
|
56 |
||
57 |
%package devel |
|
58 |
Summary: Assistive Technology Service Provider Developer Interface |
|
59 |
Group: Development/Libraries/GNOME |
|
60 |
Requires: %{name} = %{version} |
|
61 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
62 |
Requires: atk-devel >= %{atk_version} |
|
63 |
||
64 |
%description devel |
|
65 |
at-spi allows assistive technologies to access GTK-based |
|
66 |
applications. Essentially it exposes the internals of applications for |
|
67 |
automation, so tools such as screen readers, magnifiers, or even |
|
68 |
scripting interfaces can query and interact with GUI controls. |
|
69 |
||
70 |
%prep |
|
71 |
%setup -q |
|
17168 | 72 |
#%patch1 -p1 |
17368 | 73 |
%patch2 -p1 |
17815 | 74 |
%patch3 -p1 |
18046 | 75 |
%patch4 -p1 |
9397 | 76 |
|
77 |
%build |
|
78 |
%ifos linux |
|
79 |
if [ -x /usr/bin/getconf ]; then |
|
80 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
81 |
fi |
|
82 |
%else |
|
83 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
84 |
%endif |
|
85 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
86 |
CPUS=1 |
|
87 |
fi |
|
88 |
||
10399 | 89 |
intltoolize --force --copy --automake |
12031 | 90 |
|
91 |
%if %build_l10n |
|
92 |
bash -x %SOURCE1 --enable-copyright |
|
93 |
%endif |
|
94 |
||
18269 | 95 |
export PYTHON=/usr/bin/python%{default_python_version} |
15257 | 96 |
|
13540 | 97 |
libtoolize -f |
9397 | 98 |
aclocal $ACLOCAL_FLAGS |
16376 | 99 |
autoheader |
9397 | 100 |
automake -a -c -f |
101 |
autoconf |
|
12763 | 102 |
CFLAGS="%optflags" |
103 |
LDFLAGS="%{_ldflags}" |
|
9397 | 104 |
./configure --prefix=%{_prefix} \ |
12763 | 105 |
--libdir=%{_libdir} \ |
106 |
--bindir=%{_bindir} \ |
|
9397 | 107 |
--sysconfdir=%{_sysconfdir} \ |
108 |
--mandir=%{_mandir} \ |
|
109 |
--libexecdir=%{_libexecdir} \ |
|
15019 | 110 |
--enable-xevie=no \ |
9397 | 111 |
%{gtk_doc_option} |
112 |
make -j $CPUS |
|
113 |
||
114 |
%install |
|
115 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
18175 | 116 |
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/at-spi-corba/modules/*.la |
9397 | 117 |
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la |
118 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
119 |
||
10635 | 120 |
# Move to vendor-packages |
18269 | 121 |
if [ -x $RPM_BUILD_ROOT%{_libdir}/python%{default_python_version}/site-packages ]; then |
122 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{default_python_version}/vendor-packages |
|
123 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/python%{default_python_version}/vendor-packages/* |
|
124 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{default_python_version}/site-packages/* \ |
|
125 |
$RPM_BUILD_ROOT%{_libdir}/python%{default_python_version}/vendor-packages |
|
126 |
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{default_python_version}/site-packages |
|
15035 | 127 |
fi |
9397 | 128 |
|
129 |
%clean |
|
130 |
rm -rf $RPM_BUILD_ROOT |
|
131 |
||
132 |
%post |
|
133 |
/sbin/ldconfig |
|
134 |
||
135 |
%postun |
|
136 |
/sbin/ldconfig |
|
137 |
||
138 |
%files |
|
139 |
%defattr(-,root,root) |
|
140 |
%{_libdir}/libspi*.so.* |
|
141 |
%{_libdir}/libcspi*.so.* |
|
142 |
%{_libdir}/libloginhelper*.so.* |
|
18175 | 143 |
%{_libdir}/gtk-2.0/modules/at-spi-corba/modules/*.so |
9397 | 144 |
%{_libdir}/bonobo/servers/*.server |
145 |
%{_libdir}/orbit-2.0/*.so |
|
146 |
%{_libexecdir}/at-spi-registryd |
|
147 |
%{_datadir}/locale/* |
|
148 |
||
149 |
%files devel |
|
150 |
%defattr(-, root, root) |
|
151 |
%{_includedir}/at-spi-1.0/cspi/*.h |
|
152 |
%{_includedir}/at-spi-1.0/libspi/*.h |
|
153 |
%{_includedir}/at-spi-1.0/login-helper/*.h |
|
154 |
%{_libdir}/pkgconfig/*.pc |
|
155 |
%{_datadir}/gtk-doc/html |
|
156 |
%{_datadir}/idl |
|
157 |
%{_libdir}/libspi*.so |
|
158 |
%{_libdir}/libcspi*.so |
|
159 |
%{_libdir}/libloginhelper*.so |
|
160 |
%{_mandir}/man3/* |
|
161 |
||
162 |
%changelog |
|
18175 | 163 |
* Fri Jun 25 2010 - [email protected] |
164 |
- Bump to 1.31.1. |
|
18046 | 165 |
* Fri May 28 2010 - [email protected] |
166 |
- Add at-spi-04-custom-g-main-context.diff to fix doo 15964. |
|
17934 | 167 |
* Mon Apr 26 2010 - [email protected] |
168 |
- Bump to 1.30.1. |
|
17815 | 169 |
* Tue Apr 09 2010 - [email protected] |
170 |
- Add at-spi-03-hack-for-gksu.diff to fix doo#11495 |
|
17781 | 171 |
* Tue Mar 30 2010 - [email protected] |
172 |
- Bump to 1.30.0. |
|
17650 | 173 |
* Tue Mar 09 2010 - [email protected] |
174 |
- Bump to 1.29.92. |
|
17529 | 175 |
* Wed Feb 10 2010 - [email protected] |
176 |
- Bump to 1.29.90. |
|
17430 | 177 |
* Mon Jan 25 2010 - [email protected] |
178 |
- Bump to 1.29.6. |
|
179 |
* Mon Jan 11 2010 - [email protected] |
|
17289 | 180 |
- Bump to 1.29.5. Delete patch #2. |
17168 | 181 |
* Fri Dec 11 2009 - [email protected] |
182 |
- Disable patch #1 before integrated into OpenSolaris. |
|
17051 | 183 |
* Mon Nov 30 2009 - [email protected] |
184 |
- Bump to 1.29.3. |
|
16966 | 185 |
* Tue Nov 17 2009 - [email protected] |
186 |
- Bump to 1.29.2. Add at-spi-01-disable-dbus.diff and |
|
187 |
at-spi-02-python-path.diff. |
|
16913 | 188 |
* Thu Nov 09 2009 - [email protected] |
189 |
- Set 2.6 as the default version of Python. |
|
16804 | 190 |
* Mon Oct 19 2009 - [email protected] |
191 |
- Bump to 1.28.1. |
|
16639 | 192 |
* Thu Sep 24 2009 - [email protected] |
193 |
- Bump to 1.28.0 |
|
16537 | 194 |
* Fri Sep 11 2009 - [email protected] |
195 |
- Bump to 1.27.92. |
|
16376 | 196 |
* Thu Aug 27 2009 - [email protected] |
197 |
- Run autoheader before configure. |
|
16360 | 198 |
* Wed Aug 26 2009 - [email protected] |
199 |
- Bump to 1.27.91. |
|
15408 | 200 |
* Tue Mar 17 2009 - [email protected] |
201 |
- Bump to 1.26.0 |
|
15318 | 202 |
* Fri Mar 06 2009 - [email protected] |
203 |
- Bump to 1.25.92. |
|
15257 | 204 |
* Fri Feb 27 2009 - [email protected] |
205 |
- Add support for multi versions of python. |
|
15035 | 206 |
* Fri Feb 06 2009 - [email protected] |
207 |
- Install pyatspi in vendor-packages. |
|
15019 | 208 |
* Thu Feb 05 2009 - [email protected] |
209 |
- Disable xevie. Bug 6801596. |
|
14954 | 210 |
* Thu Jan 22 2009 - [email protected] |
211 |
- Bump to 1.25.5. Removed at-spi-01-build.diff. |
|
14874 | 212 |
* Thu Jan 08 2009 - [email protected] |
213 |
- Bump to 1.25.4. Added at-spi-01-build.diff. |
|
14697 | 214 |
* Wed Dec 03 2008 - [email protected] |
215 |
- Bump to 1.25.2 |
|
14560 | 216 |
* Wed Nov 05 2008 - [email protected] |
217 |
- Change copyright information. |
|
13809 | 218 |
* Mon Sep 29 2008 - [email protected] |
219 |
- Take out mv site-packages to vendor-packages. |
|
13804 | 220 |
* Sun Sep 28 2008 - [email protected] |
221 |
- Correct download URL |
|
13800 | 222 |
* Sat Sep 27 2008 - [email protected] |
223 |
- Bump to 1.24.0. |
|
13540 | 224 |
* Thu Sep 11 2008 - [email protected] |
225 |
- Bump to 1.23.92, add libtoolize -f to fix build issue. |
|
13358 | 226 |
* Tue Sep 02 2008 - [email protected] |
227 |
- Bump to 1.23.91. |
|
13023 | 228 |
* Tue Aug 05 2008 - [email protected] |
229 |
- Bump to 1.23.6. |
|
12868 | 230 |
* Mon Jul 21 2008 - [email protected] |
231 |
- Bump to 1.23.5. Remove upstream patch 01-uninstalled. |
|
12785 | 232 |
* Wed Jul 09 2008 - [email protected] |
233 |
- Add patch 01-uninstalled to fix bugzilla #542217. |
|
12763 | 234 |
* Mon Jul 07 2008 - [email protected] |
235 |
- Fix 6697334. Add 64 bit libraries support. |
|
12570 | 236 |
* Tue Jun 03 2008 - [email protected] |
237 |
- Bump to 1.23.3. |
|
11830 | 238 |
* Mon Mar 10 2008 - [email protected] |
239 |
- Bump to 1.22.0. |
|
11709 | 240 |
* Mon Feb 25 2008 - [email protected] |
241 |
- Bump to 1.21.92. |
|
11447 | 242 |
* Mon Jan 14 2008 - [email protected] |
243 |
- Bump to 1.21.5. |
|
11430 | 244 |
* Thu Jan 10 2008 - [email protected] |
245 |
- change owner to liyuan. |
|
11280 | 246 |
* Tue Dec 04 2007 - [email protected] |
247 |
- Bump to 1.21.3. |
|
11077 | 248 |
* Tue Oct 30 2007 - [email protected] |
249 |
- Bump to 1.21.1. |
|
10674 | 250 |
* Fri Oct 19 2007 - [email protected] |
251 |
- Bump to 1.20.1. |
|
10635 | 252 |
* Wed Oct 10 2007 - [email protected] |
10641
c9864ab4f7a9
Add bug number (6615442) to %changelog for move from site-packages to vendor-packages.
dcarbery
parents:
10635
diff
changeset
|
253 |
- Move files from site-packages to vendor-packages. Fixes 6615442. |
10508 | 254 |
* Tue Sep 18 2007 - [email protected] |
255 |
- Bump to 1.20.0. |
|
10399 | 256 |
* Wed Aug 29 2007 - [email protected] |
257 |
- Add intltoolize call to update intltool scripts. |
|
10178 | 258 |
* Wed Jul 11 2007 - [email protected] |
259 |
- Bump to 1.19.5. |
|
10004 | 260 |
* Wed Jun 06 2007 - [email protected] |
261 |
- Bump to 1.19.3. |
|
9862 | 262 |
* Thu May 10 2007 - [email protected] |
263 |
- Bump to 1.19.1. |
|
9732 | 264 |
* Thu Apr 12 2007 - [email protected] |
265 |
- Bump to 1.18.1. |
|
9522 | 266 |
* Mon Mar 12 2007 - [email protected] |
267 |
- Bump to 1.18.0. |
|
9437 | 268 |
* Mon Mar 05 2007 - [email protected] |
269 |
- Bump to 1.17.2. |
|
9397 | 270 |
* Wed Feb 28 2007 - [email protected] |
271 |
- Remove upstream patch, at-spi-01-get-attributes-crash.diff |
|
272 |
* Tue Feb 13 2007 - [email protected] |
|
273 |
- Bump to 1.17.0. |
|
274 |
* Mon Jan 22 2007 - [email protected] |
|
275 |
- Bump to 1.7.16. |
|
276 |
* Mon Jan 08 2007 - [email protected] |
|
277 |
- Bump to 1.7.15. |
|
278 |
* Tue Dec 19 2006 - [email protected] |
|
279 |
- Bump to 1.7.14. Remove upstream patch, at-spi-01-fix-leak.diff. |
|
280 |
* Fri Dec 08 2006 - [email protected] |
|
281 |
- Bump to 1.7.13. |
|
282 |
* Fri Nov 10 2006 - [email protected] |
|
283 |
- Remove patch 01-define-symbols.diff; move patch 02-fix-leak.diff to |
|
284 |
01-fix-leak.diff |
|
285 |
* Fri Nov 3 2006 - [email protected] |
|
286 |
- use %gtk_doc_option in configure so that it can be disabled using |
|
287 |
--without-gtk-doc |
|
288 |
* Wed Oct 11 2006 - [email protected] |
|
289 |
- Add patch 02-fix-leak to fix bug 6457388 |
|
290 |
* Mon Oct 02 2006 - [email protected] |
|
291 |
- Bump to 1.7.12. |
|
292 |
* Tue Aug 22 2006 - [email protected] |
|
293 |
- Bump to 1.7.11. |
|
294 |
* Tue Jul 25 2006 - [email protected] |
|
295 |
- Bump to 1.7.10. |
|
296 |
* Wed Jul 19 2006 - [email protected] |
|
297 |
- Bump to 1.7.9 |
|
298 |
* Mon Apr 01 2006 - [email protected] |
|
299 |
- Add patch 01-define-symbols so that gok builds. |
|
300 |
* Fri Mar 31 2006 - [email protected] |
|
301 |
- Bump to 1.7.7. |
|
302 |
* Tue Feb 28 2006 - [email protected] |
|
303 |
- Bump to 1.7.6. |
|
304 |
* Thu Feb 23 2006 - [email protected] |
|
305 |
- Remove 'make clean' hack as 1.7.5 tarball fixed the issue. |
|
306 |
* Tue Feb 21 2006 - [email protected] |
|
307 |
- Bump to 1.7.5. |
|
308 |
* Thu Feb 16 2006 - [email protected] |
|
309 |
- Add "make clean" hack to ensure that the bonobo |
|
310 |
registry server file is built with the right |
|
311 |
sysconfdir. |
|
312 |
* Tue Jan 31 2006 - [email protected] |
|
313 |
- Bump to 1.7.4. |
|
314 |
* Tue Jan 31 2006 - [email protected] |
|
315 |
- Bump to 1.7.3. |
|
316 |
* Fri Jan 20 2006 - [email protected] |
|
317 |
- Bump to 1.7.2. |
|
318 |
* Thu Sep 08 2005 - [email protected] |
|
319 |
- Bump to 1.6.6. |
|
320 |
* Mon Sep 05 2005 - [email protected] |
|
321 |
- Bump to 1.6.5. |
|
322 |
* Tue Aug 23 2005 - [email protected] |
|
323 |
- Move CFLAGS setting as it was useless in original location. |
|
324 |
* Tue Jun 14 2005 - [email protected] |
|
325 |
- Added aclocal/automake/autoconf, needed for Solaris build. |
|
326 |
* Mon May 16 2005 - [email protected] |
|
327 |
- Bump to 1.6.4 |
|
328 |
* Mon May 16 2005 - [email protected] |
|
329 |
- Bump to 1.6.3 |
|
330 |
* Tue Apr 5 2005 - [email protected] |
|
331 |
- Added patch at-spi-01-leakfix.diff to fix leak in bounds-change events. |
|
332 |
* Thu Dec 9 2004 - [email protected] |
|
333 |
- Revved to 1.6.2, to get fixes for 6192693, 6205004, others. |
|
334 |
* Wed Sep 1 2004 - [email protected] |
|
335 |
- Bumped to version 1.5.4, to include fixes for |
|
336 |
- activation issues with DISPLAY env, and gnopernicus |
|
337 |
- dependencies. |
|
338 |
* Tue Aug 31 2004 - [email protected] |
|
339 |
- Removed patch since #5088625 has been fixed, and |
|
340 |
- the patch is incompatible with the fix. |
|
341 |
* Wed Aug 18 2004 - [email protected] |
|
342 |
- added patch from Padraig to work around P1/S2 bug #5088625. |
|
343 |
* Wed Jul 07 2004 - [email protected] |
|
344 |
- added "-j $CPUS" to make to speed up builds |
|
345 |
* Fri Jun 11 2004 - [email protected] |
|
346 |
- add login-helper headers and lib to %files |
|
347 |
* Wed Jun 02 2004 - <[email protected]> |
|
348 |
- Bump version to 1.5.2 |
|
349 |
* Fri Apr 30 2004 - <[email protected]> |
|
350 |
- Bump version to 1.5.1 |
|
351 |
* Tue Mar 23 2004 - <[email protected]> |
|
352 |
- Remove "patch -p1" from the %prep section since |
|
353 |
the patch was removed, and this is causing an |
|
354 |
error on Solaris build. |
|
355 |
* Tue Mar 23 2004 - <[email protected]> |
|
356 |
- Bump version to 1.4.0, remove reference to |
|
357 |
at-spi-01-uninstalled-idldir.diff |
|
358 |
* Mon Mar 22 2004 - <[email protected]> |
|
359 |
- backport idldir fix in uninstalled.pc files from HEAD |
|
360 |
* Tue Mar 16 2004 - <[email protected]> |
|
361 |
- Remove the uninstalled-pc patch as it's |
|
362 |
upstream now. |
|
363 |
* Thu Mar 11 2004 - <[email protected]> |
|
364 |
- Reset release to 1. |
|
365 |
* Wed Mar 10 2004 - <[email protected]> |
|
366 |
- Bump to 1.3.15 |
|
367 |
* Mon Feb 23 2004 - [email protected] |
|
368 |
- Add '--libexecdir=%{_libexecdir}' to install files to correct dir on Solaris. |
|
369 |
* Wed Feb 18 2004 - [email protected] |
|
370 |
- tarball upgrade to 1.3.12, add manpages, update %files |
|
371 |
* Wed Dec 16 2003 - [email protected] |
|
372 |
- tarball upgrade to 1.3.9 |
|
373 |
* Fri Oct 10 2003 - [email protected] |
|
374 |
- tarball upgrade |
|
375 |
* Thu Aug 14 2003 - <[email protected]> |
|
376 |
- move *.so to -devel, remove *.a and *.al |
|
377 |
* Thu May 08 2003 - [email protected] |
|
378 |
- Created new spec file for at-spi |