orca-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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.8.1
  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.8/%{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. sed -i "s|3.3|2.7|" configure.ac
  42. autoreconf -if
  43. intltoolize --force --copy
  44. %configure --disable-static
  45. make V=0
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  49. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  50. %find_lang %{name} --all-name --with-gnome
  51. %clean
  52. rm -rf $RPM_BUILD_ROOT
  53. %post
  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. %postun
  59. touch --no-create %{_datadir}/icons/hicolor
  60. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  61. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  62. fi
  63. %files -f %{name}.lang
  64. %defattr(-,root,root,-)
  65. %doc ChangeLog AUTHORS COPYING NEWS README
  66. %{_sysconfdir}/xdg/autostart/orca-autostart.desktop
  67. %{_bindir}/%{name}
  68. %{python_sitearch}/%{name}/*
  69. %{_datadir}/applications/%{name}.desktop
  70. %{_datadir}/icons/hicolor/*/apps/*
  71. %{_datadir}/%{name}
  72. %{_mandir}/man1/%{name}.1.gz
  73. %changelog
  74. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  75. - new upstream release
  76. * Thu Nov 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  77. - new upstream release
  78. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  79. - new upstream release
  80. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  81. - new upstream release
  82. - change BuildRequires: yelp-tools instead of gnome-docu-utils
  83. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  84. - new upstream release
  85. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  86. - new upstream release
  87. - add BuildRequires: pycairo-devel, pyxdg
  88. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2
  89. - rebuild with python-2.7.2
  90. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  91. - new upstream release
  92. * Fri Nov 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  93. - initial build for Vine Linux