%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Summary: A free, open source, flexible, and extensible screen reader Name: orca Version: 3.20.3 Release: 1%{?_dist_release} Group: User Interface/Desktops License: LGPLv2+ URL: http://projects.gnome.org/orca/ Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk3-devel >= 3.1.91 BuildRequires: pycairo-devel BuildRequires: pygobject3-devel >= 2.90.3 BuildRequires: python3-pygobject BuildRequires: pyxdg BuildRequires: at-spi2-core-devel >= 2.1.92 BuildRequires: python3-brlapi BuildRequires: brlapi-devel BuildRequires: brltty BuildRequires: python3-speech-dispatcher BuildRequires: yelp-tools Requires: python3-brlapi Requires: python3-speech-dispatcher Requires: python3-pygobject Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %description Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via user-customizable combinations of speech, braille, and/or magnification. Orca works with applications and toolkits that support the assistive technology service provider interface (AT-SPI), which is the primary assistive technology infrastructure for the Solaris and Linux operating environments. Applications and toolkits supporting the AT-SPI include the GNOME GTK+ toolkit, the Java platform's Swing toolkit, OpenOffice, and Mozilla. AT-SPI support for the KDE Qt toolkit is currently being pursued. %prep %setup -q %build %configure --disable-static make V=0 %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; %find_lang %{name} --all-name --with-gnome %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %postun touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %files -f %{name}.lang %defattr(-,root,root,-) %doc ChangeLog AUTHORS COPYING NEWS README %{_sysconfdir}/xdg/autostart/orca-autostart.desktop %{_bindir}/%{name} %{python3_sitelib}/%{name}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/%{name} %{_mandir}/man1/%{name}.1.gz %changelog * Sat Jul 30 2016 Yoji TOYODA 3.20.3-1 - new upstream release * Fri Nov 13 2015 Yoji TOYODA 3.18.2-1 - new upstream release * Sun Nov 01 2015 Yoji TOYODA 3.18.1-1 - new upstream release * Sat Oct 10 2015 Yoji TOYODA 3.16.3-1 - new upstream release * Sat May 16 2015 Yoji TOYODA 3.16.2-1 - new upstream release * Sun Apr 19 2015 Yoji TOYODA 3.16.1-1 - new upstream release * Wed Apr 01 2015 Yoji TOYODA 3.16.0-1 - new upstream release * Sat May 17 2014 Yoji TOYODA 3.12.2-1 - new upstream release * Sun Apr 20 2014 Yoji TOYODA 3.12.1-1 - new upstream release * Mon Jul 15 2013 Yoji TOYODA 3.8.2-1 - new upstream release * Sun Apr 21 2013 Yoji TOYODA 3.8.1-1 - new upstream release * Thu Nov 15 2012 Yoji TOYODA 3.6.3-1 - new upstream release * Tue Oct 16 2012 Yoji TOYODA 3.6.1-1 - new upstream release * Sun Sep 30 2012 Yoji TOYODA 3.6.0-1 - new upstream release - change BuildRequires: yelp-tools instead of gnome-docu-utils * Sun May 20 2012 Yoji TOYODA 3.4.2-1 - new upstream release * Sat Apr 28 2012 Yoji TOYODA 3.4.1-1 - new upstream release - add BuildRequires: pycairo-devel, pyxdg * Sun Feb 19 2012 Yoji TOYODA 3.2.2-2 - rebuild with python-2.7.2 * Tue Nov 22 2011 Yoji TOYODA 3.2.2-1 - new upstream release * Fri Nov 04 2011 Yoji TOYODA 3.2.1-1 - initial build for Vine Linux