orca-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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.4.2
  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.4/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gnome-doc-utils >= 0.17.3
  12. BuildRequires: gtk3-devel >= 3.1.91
  13. BuildRequires: pycairo-devel
  14. BuildRequires: pygobject3-devel >= 2.90.3
  15. BuildRequires: pyxdg
  16. BuildRequires: at-spi2-core-devel >= 2.1.92
  17. BuildRequires: python-brlapi
  18. BuildRequires: brlapi-devel
  19. BuildRequires: brltty
  20. BuildRequires: speech-dispatcher-python
  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}
  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}/gnome/help/%{name}
  68. %{_datadir}/icons/hicolor/*/apps/*
  69. %{_datadir}/%{name}
  70. %{_mandir}/man1/%{name}.1.gz
  71. %changelog
  72. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  73. - new upstream release
  74. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  75. - new upstream release
  76. - add BuildRequires: pycairo-devel, pyxdg
  77. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2
  78. - rebuild with python-2.7.2
  79. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  80. - new upstream release
  81. * Fri Nov 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  82. - initial build for Vine Linux