orca-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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.2.2
  5. Release: 2%{?_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.2/%{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: pygobject3-devel >= 2.90.3
  14. BuildRequires: at-spi2-core-devel >= 2.1.92
  15. BuildRequires: python-brlapi
  16. BuildRequires: brlapi-devel
  17. BuildRequires: brltty
  18. BuildRequires: speech-dispatcher-python
  19. Requires: python-brlapi
  20. Requires: speech-dispatcher
  21. Requires: speech-dispatcher-python
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. Orca is a free, open source, flexible, and extensible screen reader
  27. that provides access to the graphical desktop via user-customizable
  28. combinations of speech, braille, and/or magnification.
  29. Orca works with applications and toolkits that support the assistive
  30. technology service provider interface (AT-SPI), which is the primary
  31. assistive technology infrastructure for the Solaris and Linux
  32. operating environments. Applications and toolkits supporting the
  33. AT-SPI include the GNOME GTK+ toolkit, the Java platform's Swing
  34. toolkit, OpenOffice, and Mozilla. AT-SPI support for the KDE Qt
  35. toolkit is currently being pursued.
  36. %prep
  37. %setup -q
  38. %build
  39. %configure --disable-static
  40. make V=0
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  44. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  45. %find_lang %{name}
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post
  49. touch --no-create %{_datadir}/icons/hicolor
  50. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  51. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  52. fi
  53. %postun
  54. touch --no-create %{_datadir}/icons/hicolor
  55. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  56. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  57. fi
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %doc ChangeLog AUTHORS COPYING NEWS README
  61. %{_sysconfdir}/xdg/autostart/orca-autostart.desktop
  62. %{_bindir}/%{name}
  63. %{python_sitearch}/%{name}/*
  64. %{_datadir}/applications/%{name}.desktop
  65. %{_datadir}/gnome/help/%{name}
  66. %{_datadir}/icons/hicolor/*/apps/*
  67. %{_datadir}/%{name}
  68. %{_mandir}/man1/%{name}.1.gz
  69. %changelog
  70. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2
  71. - rebuild with python-2.7.2
  72. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  73. - new upstream release
  74. * Fri Nov 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  75. - initial build for Vine Linux