orca-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. Summary: A free, open source, flexible, and extensible screen reader
  3. Name: orca
  4. Version: 3.6.3
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: LGPLv2+
  8. URL: http://projects.gnome.org/orca/
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.6/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel >= 3.1.91
  12. BuildRequires: pycairo-devel
  13. BuildRequires: pygobject3-devel >= 2.90.3
  14. BuildRequires: pyxdg
  15. BuildRequires: at-spi2-core-devel >= 2.1.92
  16. BuildRequires: python-brlapi
  17. BuildRequires: brlapi-devel
  18. BuildRequires: brltty
  19. BuildRequires: speech-dispatcher-python
  20. BuildRequires: yelp-tools
  21. Requires: python-brlapi
  22. Requires: speech-dispatcher
  23. Requires: speech-dispatcher-python
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. Orca is a free, open source, flexible, and extensible screen reader
  29. that provides access to the graphical desktop via user-customizable
  30. combinations of speech, braille, and/or magnification.
  31. Orca works with applications and toolkits that support the assistive
  32. technology service provider interface (AT-SPI), which is the primary
  33. assistive technology infrastructure for the Solaris and Linux
  34. operating environments. Applications and toolkits supporting the
  35. AT-SPI include the GNOME GTK+ toolkit, the Java platform's Swing
  36. toolkit, OpenOffice, and Mozilla. AT-SPI support for the KDE Qt
  37. toolkit is currently being pursued.
  38. %prep
  39. %setup -q
  40. %build
  41. %configure --disable-static
  42. make V=0
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  47. %find_lang %{name} --all-name --with-gnome
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post
  51. touch --no-create %{_datadir}/icons/hicolor
  52. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  53. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  54. fi
  55. %postun
  56. touch --no-create %{_datadir}/icons/hicolor
  57. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  58. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  59. fi
  60. %files -f %{name}.lang
  61. %defattr(-,root,root,-)
  62. %doc ChangeLog AUTHORS COPYING NEWS README
  63. %{_sysconfdir}/xdg/autostart/orca-autostart.desktop
  64. %{_bindir}/%{name}
  65. %{python_sitearch}/%{name}/*
  66. %{_datadir}/applications/%{name}.desktop
  67. %{_datadir}/icons/hicolor/*/apps/*
  68. %{_datadir}/%{name}
  69. %{_mandir}/man1/%{name}.1.gz
  70. %changelog
  71. * Thu Nov 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  72. - new upstream release
  73. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  74. - new upstream release
  75. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  76. - new upstream release
  77. - change BuildRequires: yelp-tools instead of gnome-docu-utils
  78. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  79. - new upstream release
  80. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  81. - new upstream release
  82. - add BuildRequires: pycairo-devel, pyxdg
  83. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2
  84. - rebuild with python-2.7.2
  85. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  86. - new upstream release
  87. * Fri Nov 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  88. - initial build for Vine Linux