orca-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. %{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
  2. Summary: A free, open source, flexible, and extensible screen reader
  3. Name: orca
  4. Version: 3.20.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.20/%{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: python3-pygobject
  15. BuildRequires: pyxdg
  16. BuildRequires: at-spi2-core-devel >= 2.1.92
  17. BuildRequires: python3-brlapi
  18. BuildRequires: brlapi-devel
  19. BuildRequires: brltty
  20. BuildRequires: python3-speech-dispatcher
  21. BuildRequires: yelp-tools
  22. Requires: python3-brlapi
  23. Requires: python3-speech-dispatcher
  24. Requires: python3-pygobject
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. Orca is a free, open source, flexible, and extensible screen reader
  30. that provides access to the graphical desktop via user-customizable
  31. combinations of speech, braille, and/or magnification.
  32. Orca works with applications and toolkits that support the assistive
  33. technology service provider interface (AT-SPI), which is the primary
  34. assistive technology infrastructure for the Solaris and Linux
  35. operating environments. Applications and toolkits supporting the
  36. AT-SPI include the GNOME GTK+ toolkit, the Java platform's Swing
  37. toolkit, OpenOffice, and Mozilla. AT-SPI support for the KDE Qt
  38. toolkit is currently being pursued.
  39. %prep
  40. %setup -q
  41. %build
  42. %configure --disable-static
  43. make V=0
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  47. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  48. %find_lang %{name} --all-name --with-gnome
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post
  52. touch --no-create %{_datadir}/icons/hicolor
  53. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  54. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  55. fi
  56. %postun
  57. touch --no-create %{_datadir}/icons/hicolor
  58. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  59. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  60. fi
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,-)
  63. %doc ChangeLog AUTHORS COPYING NEWS README
  64. %{_sysconfdir}/xdg/autostart/orca-autostart.desktop
  65. %{_bindir}/%{name}
  66. %{python3_sitelib}/%{name}/*
  67. %{_datadir}/applications/%{name}.desktop
  68. %{_datadir}/icons/hicolor/*/apps/*
  69. %{_datadir}/%{name}
  70. %{_mandir}/man1/%{name}.1.gz
  71. %changelog
  72. * Sat Jul 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.3-1
  73. - new upstream release
  74. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  75. - new upstream release
  76. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  77. - new upstream release
  78. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.3-1
  79. - new upstream release
  80. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  81. - new upstream release
  82. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  83. - new upstream release
  84. * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  85. - new upstream release
  86. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  87. - new upstream release
  88. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  89. - new upstream release
  90. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  91. - new upstream release
  92. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  93. - new upstream release
  94. * Thu Nov 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  95. - new upstream release
  96. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  97. - new upstream release
  98. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  99. - new upstream release
  100. - change BuildRequires: yelp-tools instead of gnome-docu-utils
  101. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  102. - new upstream release
  103. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  104. - new upstream release
  105. - add BuildRequires: pycairo-devel, pyxdg
  106. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2
  107. - rebuild with python-2.7.2
  108. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  109. - new upstream release
  110. * Fri Nov 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  111. - initial build for Vine Linux