accerciser-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. %define pkg_version 3.4.1
  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: python >= 2.6
  16. Requires: pyatspi
  17. Requires: at-spi2-core
  18. Requires(post): desktop-file-utils
  19. Requires(postun): desktop-file-utils
  20. BuildRequires: python-devel >= 2.4
  21. BuildRequires: pygobject3-devel
  22. BuildRequires: gtk3-devel
  23. BuildRequires: at-spi2-core-devel
  24. BuildRequires: pyatspi
  25. BuildRequires: glib2-devel >= 2.26.0
  26. BuildRequires: gnome-doc-utils >= 0.3.2
  27. BuildRequires: docbook-dtds
  28. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. Packager: Takemikaduchi
  32. %description
  33. Accerciser is an interactive Python accessibility explorer for the GNOME
  34. desktop. It uses AT-SPI to inspect and control widgets, allowing you to check
  35. if an application is providing correct information to assistive technologies
  36. and automated test frameworks. Accerciser has a simple plugin framework which
  37. you can use to create custom views of accessibility information.
  38. %prep
  39. %setup -q
  40. %build
  41. %configure --disable-scrollkeeper --without-pyreqs
  42. %{__make} %{?_smp_mflags}
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  46. %clean
  47. %{__rm} -rf ${RPM_BUILD_ROOT}
  48. %post
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  50. update-desktop-database & > /dev/null || :
  51. %postun
  52. if [ $1 -eq 0 ]; then
  53. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  54. update-desktop-database & > /dev/null || :
  55. glib-compile-schemas %{_datadir}/glib-2.0/schemas
  56. fi
  57. %posttrans
  58. glib-compile-schemas %{_datadir}/glib-2.0/schemas
  59. %files
  60. %defattr(-,root,root)
  61. %doc AUTHORS COPYING ChangeLog NEWS README
  62. %{_bindir}/accerciser
  63. %{python_sitelib}/accerciser
  64. %{_datadir}/applications/accerciser.desktop
  65. %{_datadir}/accerciser/*
  66. %{_datadir}/glib-2.0/schemas/*.xml
  67. %{_datadir}/gnome/help/accerciser/*
  68. %{_datadir}/icons/hicolor/*/apps/*
  69. %{_datadir}/locale/*/*/accerciser*
  70. %{_mandir}/man1/accerciser.1.gz
  71. %changelog
  72. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  73. - new upstream release
  74. - remove BuildRequires: GConf2-devel
  75. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  76. - new upstream release
  77. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  78. - new upstream release
  79. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  80. - new upstream release
  81. - add BuildRequires: gtk3-devel, pygobject3-devel
  82. - change BuildRequires: at-spi2-core-devel instead of at-spi-devel
  83. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  84. - new upstream release
  85. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  86. - new upstream release
  87. * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  88. - new upstream release
  89. * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  90. - initial build for Vine Linux