accerciser-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. %define pkg_version 3.4.0
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: An interactive Python accessibility explorer for the GNOME desktop.
  4. Summary(ja): GNOME デスクトップ用 Python アクセシビリティエクスプローラ
  5. Name: accerciser
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/3.4/%{name}-%{version}.tar.xz
  9. License: BSD
  10. Group: Desktop/Accessibility
  11. URL: http://live.gnome.org/Accerciser
  12. Requires: gnome-python-libwnck >= 2.14
  13. Requires: gnome-python-rsvg >= 2.14
  14. Requires: pygobject3
  15. Requires: pygtk2 >= 2.8
  16. Requires: python >= 2.6
  17. Requires: pygtk2-libglade >= 2.8
  18. Requires: gnome-python >= 2.12
  19. Requires: pyatspi
  20. Requires: at-spi2-core
  21. Requires: glib2 >= 2.26.0
  22. Requires(post): desktop-file-utils
  23. Requires(postun): desktop-file-utils
  24. BuildRequires: python-devel >= 2.4
  25. BuildRequires: pygobject3-devel
  26. BuildRequires: pygtk2-devel >= 2.8
  27. BuildRequires: gtk3-devel
  28. BuildRequires: at-spi2-core-devel
  29. BuildRequires: gnome-python-devel >= 2.12
  30. BuildRequires: glib2-devel >= 2.26.0
  31. BuildRequires: GConf2-devel
  32. BuildRequires: gnome-doc-utils >= 0.3.2
  33. BuildRequires: docbook-dtds
  34. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  35. Vendor: Project Vine
  36. Distribution: Vine Linux
  37. Packager: Takemikaduchi
  38. %description
  39. Accerciser is an interactive Python accessibility explorer for the GNOME
  40. desktop. It uses AT-SPI to inspect and control widgets, allowing you to check
  41. if an application is providing correct information to assistive technologies
  42. and automated test frameworks. Accerciser has a simple plugin framework which
  43. you can use to create custom views of accessibility information.
  44. %prep
  45. %setup -q
  46. %build
  47. %configure --disable-scrollkeeper --without-pyreqs
  48. %{__make} %{?_smp_mflags}
  49. %install
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  52. %clean
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. %post
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  56. update-desktop-database & > /dev/null || :
  57. %postun
  58. if [ $1 -eq 0 ]; then
  59. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  60. update-desktop-database & > /dev/null || :
  61. glib-compile-schemas %{_datadir}/glib-2.0/schemas
  62. fi
  63. %posttrans
  64. glib-compile-schemas %{_datadir}/glib-2.0/schemas
  65. %files
  66. %defattr(-,root,root)
  67. %doc AUTHORS COPYING ChangeLog NEWS README
  68. %{_bindir}/accerciser
  69. %{_prefix}/lib/python?.?/site-packages/accerciser
  70. %{_datadir}/applications/accerciser.desktop
  71. %{_datadir}/accerciser/*
  72. %{_datadir}/glib-2.0/schemas/*.xml
  73. %{_datadir}/gnome/help/accerciser/*
  74. %{_datadir}/icons/hicolor/*/apps/*
  75. %{_datadir}/locale/*/*/accerciser*
  76. %{_mandir}/man1/accerciser.1.gz
  77. %changelog
  78. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  79. - new upstream release
  80. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  81. - new upstream release
  82. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  83. - new upstream release
  84. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  85. - new upstream release
  86. - add BuildRequires: gtk3-devel, pygobject3-devel
  87. - change BuildRequires: at-spi2-core-devel instead of at-spi-devel
  88. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  89. - new upstream release
  90. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  91. - new upstream release
  92. * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  93. - new upstream release
  94. * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  95. - initial build for Vine Linux