accerciser-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. %define pkg_version 3.1.4
  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.1/%{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: at-spi-python
  15. Requires: pygtk2 >= 2.8
  16. Requires: python >= 2.4
  17. Requires: pygtk2-libglade >= 2.8
  18. Requires: at-spi >= 1.7
  19. Requires: gnome-python >= 2.12
  20. Requires: glib2 >= 2.26.0
  21. Requires(post): desktop-file-utils
  22. Requires(postun): desktop-file-utils
  23. BuildRequires: python-devel >= 2.4
  24. BuildRequires: pygtk2-devel >= 2.8
  25. BuildRequires: at-spi-devel >= 1.7
  26. BuildRequires: gnome-python-devel >= 2.12
  27. BuildRequires: glib2-devel >= 2.26.0
  28. BuildRequires: GConf2-devel
  29. BuildRequires: gnome-doc-utils >= 0.3.2
  30. BuildRequires: docbook-dtds
  31. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: Takemikaduchi
  35. %description
  36. Accerciser is an interactive Python accessibility explorer for the GNOME
  37. desktop. It uses AT-SPI to inspect and control widgets, allowing you to check
  38. if an application is providing correct information to assistive technologies
  39. and automated test frameworks. Accerciser has a simple plugin framework which
  40. you can use to create custom views of accessibility information.
  41. %prep
  42. %setup -q
  43. %build
  44. %configure --disable-scrollkeeper --without-pyreqs
  45. %{__make} %{?_smp_mflags}
  46. %install
  47. %{__rm} -rf ${RPM_BUILD_ROOT}
  48. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %post
  52. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  53. %{_bindir}/gconftool-2 --makefile-install-rule \
  54. %{_sysconfdir}/gconf/schemas/accerciser.schemas > /dev/null ||:
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  56. update-desktop-database & > /dev/null || :
  57. %preun
  58. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  59. update-desktop-database & > /dev/null || :
  60. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  61. %{_bindir}/gconftool-2 --makefile-uninstall-rule \
  62. %{_sysconfdir}/gconf/schemas/accerciser.schemas > /dev/null ||:
  63. %files
  64. %defattr(-,root,root)
  65. %doc AUTHORS COPYING ChangeLog NEWS README
  66. %{_bindir}/accerciser
  67. %{_prefix}/lib/python?.?/site-packages/accerciser
  68. %{_datadir}/applications/accerciser.desktop
  69. %{_datadir}/icons/hicolor/*/apps/*
  70. %{_datadir}/accerciser/*
  71. %{_datadir}/gnome/help/accerciser/*
  72. %{_datadir}/locale/*/*/accerciser*
  73. %{_mandir}/man1/accerciser.1.gz
  74. %{_sysconfdir}/gconf/schemas/accerciser.schemas
  75. %changelog
  76. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  77. - new upstream release
  78. * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  79. - new upstream release
  80. * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  81. - initial build for Vine Linux