accerciser-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. %define pkg_version 3.8.2
  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.8/%{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: docbook-dtds
  27. BuildRequires: yelp-tools
  28. BuildRequires: autoconf
  29. BuildRequires: gnome-common
  30. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. Packager: Takemikaduchi
  34. %description
  35. Accerciser is an interactive Python accessibility explorer for the GNOME
  36. desktop. It uses AT-SPI to inspect and control widgets, allowing you to check
  37. if an application is providing correct information to assistive technologies
  38. and automated test frameworks. Accerciser has a simple plugin framework which
  39. you can use to create custom views of accessibility information.
  40. %prep
  41. %setup -q
  42. %build
  43. sed -i "s|3.2|2.7|" configure.ac
  44. autoreconf -if
  45. %configure --disable-static
  46. %{__make} %{?_smp_mflags}
  47. %install
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  50. %find_lang %{name} --with-gnome --all-name
  51. %clean
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. %post
  54. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  55. update-desktop-database & > /dev/null || :
  56. %postun
  57. if [ $1 -eq 0 ]; then
  58. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  59. update-desktop-database & > /dev/null || :
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas
  61. fi
  62. %posttrans
  63. glib-compile-schemas %{_datadir}/glib-2.0/schemas
  64. %files -f %{name}.lang
  65. %defattr(-,root,root)
  66. %doc AUTHORS COPYING ChangeLog NEWS README
  67. %{_bindir}/accerciser
  68. %{python_sitelib}/accerciser
  69. %{_datadir}/applications/accerciser.desktop
  70. %{_datadir}/accerciser/*
  71. %{_datadir}/glib-2.0/schemas/*.xml
  72. %{_datadir}/icons/hicolor/*/apps/*
  73. %{_datadir}/icons/HighContrast/*/apps/*
  74. %{_mandir}/man1/accerciser.1.gz
  75. %changelog
  76. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  77. - new upstream release
  78. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  79. - new upstream release
  80. - add BuildRequires: autoconf, gnome-common
  81. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  82. - new upstream release
  83. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  84. - new upstream release
  85. - change BuildRequires: yelp-tools instead of gome-doc-utils
  86. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  87. - new upstream release
  88. - remove BuildRequires: GConf2-devel
  89. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  90. - new upstream release
  91. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  92. - new upstream release
  93. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  94. - new upstream release
  95. - add BuildRequires: gtk3-devel, pygobject3-devel
  96. - change BuildRequires: at-spi2-core-devel instead of at-spi-devel
  97. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  98. - new upstream release
  99. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  100. - new upstream release
  101. * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  102. - new upstream release
  103. * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  104. - initial build for Vine Linux