at-spi-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. %define atk_version 1.24.0
  3. %define gtk2_version 2.14.0
  4. %define libbonobo_version 2.24.0
  5. %define orbit2_version 2.6.0
  6. %define pango_version 1.22.0
  7. Summary: Assistive Technology Service Provider Interface
  8. Name: at-spi
  9. Version: 1.24.0
  10. Release: 3%{?_dist_release}
  11. URL: http://developer.gnome.org/projects/gap/
  12. Source0: http://download.gnome.org/sources/at-spi/1.24/%{name}-%{version}.tar.bz2
  13. License: LGPLv2+
  14. Group: System Environment/Libraries
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: pango-devel >= %{pango_version}
  17. BuildRequires: gtk2-devel >= %{gtk2_version}
  18. BuildRequires: libbonobo-devel >= %{libbonobo_version}
  19. BuildRequires: ORBit2-devel >= %{orbit2_version}
  20. BuildRequires: atk-devel >= %{atk_version}
  21. BuildRequires: fontconfig
  22. BuildRequires: gettext
  23. BuildRequires: intltool
  24. BuildRequires: perl(XML::Parser)
  25. BuildRequires: libX11-devel
  26. BuildRequires: libXtst-devel
  27. BuildRequires: libXi-devel
  28. BuildRequires: libXevie-devel
  29. BuildRequires: libXt-devel
  30. Patch2: at-spi-silence-no-event-spew.patch
  31. %description
  32. at-spi allows assistive technologies to access GTK-based
  33. applications. Essentially it exposes the internals of applications for
  34. automation, so tools such as screen readers, magnifiers, or even
  35. scripting interfaces can query and interact with GUI controls.
  36. %package devel
  37. Summary: Development libraries and headers for at-spi
  38. Group: Development/Libraries
  39. Requires: %name = %{version}-%{release}
  40. Requires: atk-devel
  41. Requires: gtk2-devel
  42. Requires: libbonobo-devel
  43. Requires: ORBit2-devel
  44. Requires: pkgconfig
  45. %description devel
  46. Libraries and header files allowing compilation of apps that use at-spi.
  47. %package python
  48. Summary: Python bindings for at-spi
  49. Group: Development/Libraries
  50. Requires: %name = %{version}-%{release}
  51. Requires: python
  52. %description python
  53. Python bindings allowing to use at-spi in python programs.
  54. %prep
  55. %setup -q
  56. %patch2 -p1 -b .spew
  57. %build
  58. %configure --disable-gtk-doc --disable-static
  59. make
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. make install DESTDIR=$RPM_BUILD_ROOT
  63. %find_lang at-spi
  64. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  65. rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.la
  66. rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la
  67. %post
  68. /sbin/ldconfig
  69. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  70. gconftool-2 --makefile-install-rule \
  71. %{_sysconfdir}/gconf/schemas/at-spi.schemas >& /dev/null ||:
  72. %pre
  73. if [ "$1" -gt 1 ]; then
  74. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  75. gconftool-2 --makefile-uninstall-rule \
  76. %{_sysconfdir}/gconf/schemas/at-spi.schemas >& /dev/null ||:
  77. fi
  78. %preun
  79. if [ "$1" -eq 0 ]; then
  80. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  81. gconftool-2 --makefile-uninstall-rule \
  82. %{_sysconfdir}/gconf/schemas/at-spi.schemas >& /dev/null ||:
  83. fi
  84. %postun -p /sbin/ldconfig
  85. %clean
  86. rm -rf $RPM_BUILD_ROOT
  87. %files -f at-spi.lang
  88. %defattr(-,root,root)
  89. %doc AUTHORS COPYING NEWS README
  90. %{_sysconfdir}/gconf/schemas/at-spi.schemas
  91. %{_libdir}/lib*.so.*
  92. %{_libdir}/bonobo/servers/*
  93. %{_libdir}/orbit-2.0/*
  94. %{_libdir}/gtk-2.0/modules/*
  95. %{_libexecdir}/*
  96. %files devel
  97. %defattr(-,root,root)
  98. %{_datadir}/gtk-doc/html/*
  99. %{_datadir}/idl/*
  100. %{_libdir}/lib*.so
  101. %{_libdir}/pkgconfig/*
  102. %{_includedir}/*
  103. %files python
  104. %defattr(-,root,root)
  105. %{python_sitearch}/pyatspi/
  106. %changelog
  107. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.24.0-3
  108. - rebuild with python-2.6
  109. * Sun Sep 28 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.24.0-2
  110. - remove BuildRequires gail-devel
  111. (gtk2-2.14.x now includes/provides gail)
  112. * Sun Sep 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.24.0-1
  113. - initial build for Vine Linux
  114. * Mon Sep 8 2008 Matthias Clasen <mclasen@redhat.com> - 1.23.92-1
  115. - Update to 1.23.92
  116. - Drop upstreamed patch
  117. * Fri Sep 5 2008 Matthias Clasen <mclasen@redhat.com> - 1.23.91-3
  118. - Fix an evo crash caused by the greeter crash fix
  119. * Fri Sep 5 2008 Matthias Clasen <mclasen@redhat.com> - 1.23.91-2
  120. - Fix a greeter crash
  121. * Tue Sep 2 2008 Matthias Clasen <mclasen@redhat.com> - 1.23.91-1
  122. - Update to 1.23.91
  123. * Wed Aug 20 2008 Jarod Wilson <jarod@redhat.com> - 1.23.6-2
  124. - Silence incessant atk-bridge spew filling xsession-errors (#459275)
  125. * Mon Aug 4 2008 Matthias Clasen <mclasen@redhat.com> - 1.23.6-1
  126. - Update to 1.23.6
  127. * Mon Jul 21 2008 Matthias Clasen <mclasen@redhat.com> - 1.23.5-1
  128. - Update to 1.23.5
  129. * Tue Jun 3 2008 Matthias Clasen <mclasen@redhat.com> - 1.23.3-1
  130. - Update to 1.23.3
  131. * Mon May 5 2008 Matthias Clasen <mclasen@redhat.com> - 1.22.1-2
  132. - Bump rev
  133. * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 1.22.1-1
  134. - Update to 1.22.1
  135. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 1.22.0-1
  136. - Update to 1.22.0
  137. * Wed Mar 5 2008 Christopher Aillon <caillon@redhat.com> - 1.21-92-2
  138. - Perf improvement work from Ginn Chen to help a11y-enabled-firefox3
  139. * Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 1.21.92-1
  140. - Update to 1.21.92
  141. * Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> - 1.21.5-2
  142. - Rebuild for gcc 4.3
  143. * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> - 1.21.5-1
  144. - Update to 1.21.5
  145. * Thu Dec 6 2007 Matthias Clasen <mclasen@redhat.com> - 1.21.3-1
  146. - Update to 1.21.3
  147. * Tue Nov 13 2007 Matthias Clasen <mclasen@redhat.com> - 1.21.1-1
  148. - Update to 1.21.1
  149. * Mon Oct 15 2007 Matthias Clasen <mclasen@redhat.com> - 1.20.1-1
  150. - Update to 1.20.1
  151. * Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 1.20.0-1
  152. - Update to 1.20.0
  153. * Mon Aug 6 2007 Matthias Clasen <mclasen@redhat.com> - 1.19.5-2
  154. - Update license field
  155. * Tue Jul 10 2007 Matthias Clasen <mclasen@redhat.com> - 1.19.5-1
  156. - Update to 1.19.5
  157. * Mon Jun 4 2007 Matthias Clasen <mclasen@redhat.com> - 1.19.3-1
  158. - Update to 1.19.3
  159. - Add a -python subpackage
  160. * Sun May 20 2007 Matthias Clasen <mclasen@redhat.com> - 1.19.1-1
  161. - Update to 1.19.1
  162. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.18.1-2
  163. - Don't ship .la files
  164. * Mon Apr 9 2007 Matthias Clasen <mclasen@redhat.com> - 1.18.1-1
  165. - Update to 1.18.1, which includes the previous patch
  166. - Drop obsolete patch
  167. - Fix a small memory leak
  168. * Mon Mar 26 2007 Matthias Clasen <mclasen@redhat.com> - 1.18.0-2
  169. - Backport a patch to fix deadlocks in applications
  170. * Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 1.18.0-1
  171. - Update to 1.18.0
  172. - Drop obsolete patch
  173. * Thu Mar 8 2007 Ray Strode <rstrode@redhat.com> - 1.17.2-2
  174. - add a patch that might fix some deadlock issues (bug 329454)
  175. * Tue Feb 27 2007 Matthias Clasen <mclasen@redhat.com> - 1.17.2-1
  176. - Update to 1.17.2
  177. * Tue Feb 27 2007 Matthias Clasen <mclasen@redhat.com> - 1.17.1-1
  178. - Update to 1.17.1
  179. * Thu Feb 22 2007 Matthias Clasen <mclasen@redhat.com> - 1.17.0-2
  180. - Bump atk requirement
  181. * Tue Feb 13 2007 Matthias Clasen <mclasen@redhat.com> - 1.17.0-1
  182. - Update to 1.17.0
  183. * Wed Jan 22 2007 Matthias Clasen <mclasen@redhat.com> - 1.7.16-1
  184. - Update to 1.7.16
  185. * Wed Jan 10 2007 Matthias Clasen <mclasen@redhat.com> - 1.7.15-1
  186. - Update to 1.7.15
  187. * Tue Dec 19 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.14-1
  188. - Update to 1.7.14
  189. * Sat Dec 9 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.13-2
  190. - Small spec file cleanups
  191. * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.13-1
  192. - Update to 1.7.13
  193. * Fri Oct 20 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.12-1
  194. - Update to 1.7.12
  195. * Wed Aug 23 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.11-2.fc6
  196. - Remove debug spew
  197. * Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.11-1.fc6
  198. - Update to 1.7.11
  199. - Drop upstreamed patch
  200. - Require pkgconfig in the -devel package
  201. * Wed Aug 2 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.10-1.fc6
  202. - Update to 1.7.10
  203. * Fri Jul 28 2006 Alexander Larsson <alexl@redhat.com> - 1.7.9-3
  204. - Fix segfault if a11y enabled on x86-64 (#196063)
  205. * Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.9-2
  206. - Rebuild
  207. * Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.9-1
  208. - Update to 1.7.9
  209. * Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.8-1
  210. - Update to 1.7.8
  211. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.7.7-8.1
  212. - rebuild
  213. * Thu Jun 8 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.7-8
  214. - Add a BuildRequires
  215. * Mon May 22 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.7-7
  216. - Make it build in mock
  217. * Mon Apr 17 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.7-6
  218. - Revert the previous change
  219. * Tue Apr 4 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.7-5
  220. - Fix a missing declaration
  221. - Fix segfaults on x86_64
  222. * Tue Apr 4 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.7-1
  223. - Update to 1.7.7
  224. * Thu Mar 9 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.6-2
  225. - Fix a crash on x86_64
  226. * Mon Feb 27 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.6-1
  227. - Update to 1.7.6
  228. * Tue Feb 21 2006 Matthias Clasen <mclasen@redhat.com> - 1.7.5-1
  229. - Update to 1.7.5
  230. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.7.4-1.2
  231. - bump again for double-long bug on ppc(64)
  232. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.7.4-1.1
  233. - rebuilt for new gcc4.1 snapshot and glibc changes
  234. * Tue Jan 31 2006 Matthias Clasen <mclasen@redhat.com> 1.7.4-1
  235. - Update to 1.7.4
  236. * Mon Jan 30 2006 Matthias Clasen <mclasen@redhat.com> 1.7.3-1
  237. - Update to 1.7.3
  238. * Tue Jan 17 2006 Matthias Clasen <mclasen@redhat.com> 1.7.2-1
  239. - Update to 1.7.2
  240. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  241. - rebuilt
  242. * Mon Oct 31 2005 Matthias Clasen <mclasen@redhat.com> 1.6.6-2
  243. - Switch requires to modular X
  244. * Wed Sep 7 2005 Matthias Clasen <mclasen@redhat.com> 1.6.6-1
  245. - Update to 1.6.6
  246. * Tue Aug 16 2005 Matthias Clasen <mclasen@redhat.com>
  247. - Rebuilt
  248. * Tue Jun 28 2005 Matthias Clasen <mclasen@redhat.com> 1.6.4-1
  249. - Update to 1.6.4
  250. * Mon Mar 14 2005 Matthias Clasen <mclasen@redhat.com> 1.6.2-1
  251. - Update to 1.6.3
  252. * Wed Mar 2 2005 Matthias Clasen <mclasen@redhat.com> 1.6.2-2
  253. - Rebuilt with gcc4
  254. * Wed Jan 26 2005 Matthias Clasen <mclasen@redhat.com> 1.6.2-1
  255. - Update to 1.6.2
  256. * Wed Sep 29 2004 Elliot Lee <sopwith@redhat.com> 1.6.0-3
  257. - Remove dependency on linc-devel
  258. * Fri Sep 24 2004 Mark McLoughlin <markmc@redhat.com> 1.6.0-2
  259. - Fix some random spec file issues (fixes #133430?)
  260. * Thu Sep 23 2004 Jonathan Blandford <jrb@redhat.com> 1.6.0-1
  261. - bump version
  262. * Wed Aug 4 2004 Mark McLoughlin <markmc@redhat.com> 1.5.3-1
  263. - Update to 1.5.3
  264. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  265. - rebuilt
  266. * Wed Mar 31 2004 Mark McLoughlin <markmc@redhat.com> 1.4.0-1
  267. - Update to 1.4.0
  268. * Wed Mar 10 2004 Mark McLoughlin <markmc@redhat.com> 1.3.15
  269. - Update to 1.3.15
  270. * Thu Mar 04 2004 Mark McLoughlin <markmc@redhat.com> 1.3.14-1
  271. - Update to 1.3.14
  272. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  273. - rebuilt
  274. * Thu Feb 26 2004 Alexander Larsson <alexl@redhat.com> 1.3.13-1
  275. - update to 1.3.13
  276. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  277. - rebuilt
  278. * Fri Jan 30 2004 Jonathan Blandford <jrb@redhat.com> 1.3.11-1
  279. - new version
  280. * Thu Oct 2 2003 Jonathan Blandford <jrb@redhat.com> 1.3.7-1
  281. - new version
  282. * Wed Aug 20 2003 Elliot Lee <sopwith@redhat.com> 1.1.9-3
  283. - Fix rebuild failure (stderr.patch)
  284. * Tue Jul 15 2003 Havoc Pennington <hp@redhat.com> 1.1.9-2
  285. - disable gtk doc
  286. * Mon Jul 14 2003 Havoc Pennington <hp@redhat.com>
  287. - automated rebuild
  288. * Mon Jul 7 2003 Havoc Pennington <hp@redhat.com> 1.1.9-1
  289. - 1.1.9
  290. - remove multilib patch fixed upstream
  291. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  292. - rebuilt
  293. * Fri Feb 14 2003 Havoc Pennington <hp@redhat.com> 1.1.8-3
  294. - kill Xft buildreq
  295. * Tue Feb 11 2003 Havoc Pennington <hp@redhat.com> 1.1.8-2
  296. - rebuild to fix self-dependency
  297. * Tue Feb 11 2003 Havoc Pennington <hp@redhat.com> 1.1.8-1
  298. - extend multilib patch to cover -lXi
  299. * Tue Feb 4 2003 Havoc Pennington <hp@redhat.com> 1.1.8-1
  300. - 1.1.8
  301. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  302. - rebuilt
  303. * Wed Dec 11 2002 Elliot Lee <sopwith@redhat.com> 1.0.1-6
  304. - Add patch to help multilib systems find libXtst
  305. * Fri Dec 6 2002 Havoc Pennington <hp@redhat.com>
  306. - rebuild
  307. * Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
  308. - rebuild with new libbonobo and gail
  309. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  310. - automated rebuild
  311. * Mon Jun 17 2002 Matt Wilson <msw@redhat.com>
  312. - add libatk-bridge.so to the file list
  313. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  314. - 1.0.1
  315. - add at-spi-registryd to file list
  316. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  317. - rebuild in different environment
  318. * Tue Jun 4 2002 Havoc Pennington <hp@redhat.com>
  319. - 1.0.0
  320. - add post/postun ldconfig
  321. * Wed May 29 2002 Bill Nottingham <notting@redhat.com>
  322. - rebuild again?
  323. * Tue May 28 2002 Havoc Pennington <hp@redhat.com>
  324. - rebuild in different environment
  325. * Tue May 28 2002 Havoc Pennington <hp@redhat.com>
  326. - 0.12.1
  327. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  328. - Version 0.0.6
  329. * Mon Jan 28 2002 Havoc Pennington <hp@redhat.com>
  330. - rebuild in rawhide, seems to have been linked incorrectly
  331. * Thu Jan 24 2002 Havoc Pennington <hp@redhat.com>
  332. - rebuild in rawhide, upgrade to 0.0.5
  333. - add gail deps
  334. * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
  335. - Initial build.