[5110] | 1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
| 2 | |
---|
| 3 | Summary: A free, open source, flexible, and extensible screen reader |
---|
| 4 | Name: orca |
---|
[6201] | 5 | Version: 3.4.2 |
---|
[6078] | 6 | Release: 1%{?_dist_release} |
---|
[5110] | 7 | |
---|
| 8 | Group: User Interface/Desktops |
---|
| 9 | License: LGPLv2+ |
---|
| 10 | URL: http://projects.gnome.org/orca/ |
---|
[6078] | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.4/%{name}-%{version}.tar.xz |
---|
[5110] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: gnome-doc-utils >= 0.17.3 |
---|
| 16 | BuildRequires: gtk3-devel >= 3.1.91 |
---|
[6078] | 17 | BuildRequires: pycairo-devel |
---|
[5110] | 18 | BuildRequires: pygobject3-devel >= 2.90.3 |
---|
[6078] | 19 | BuildRequires: pyxdg |
---|
[5110] | 20 | BuildRequires: at-spi2-core-devel >= 2.1.92 |
---|
| 21 | BuildRequires: python-brlapi |
---|
| 22 | BuildRequires: brlapi-devel |
---|
| 23 | BuildRequires: brltty |
---|
| 24 | BuildRequires: speech-dispatcher-python |
---|
| 25 | |
---|
| 26 | Requires: python-brlapi |
---|
| 27 | Requires: speech-dispatcher |
---|
| 28 | Requires: speech-dispatcher-python |
---|
| 29 | |
---|
| 30 | Vendor: Project Vine |
---|
| 31 | Distribution: Vine Linux |
---|
| 32 | Packager: Takemikaduchi |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | Orca is a free, open source, flexible, and extensible screen reader |
---|
| 36 | that provides access to the graphical desktop via user-customizable |
---|
| 37 | combinations of speech, braille, and/or magnification. |
---|
| 38 | |
---|
| 39 | Orca works with applications and toolkits that support the assistive |
---|
| 40 | technology service provider interface (AT-SPI), which is the primary |
---|
| 41 | assistive technology infrastructure for the Solaris and Linux |
---|
| 42 | operating environments. Applications and toolkits supporting the |
---|
| 43 | AT-SPI include the GNOME GTK+ toolkit, the Java platform's Swing |
---|
| 44 | toolkit, OpenOffice, and Mozilla. AT-SPI support for the KDE Qt |
---|
| 45 | toolkit is currently being pursued. |
---|
| 46 | |
---|
| 47 | %prep |
---|
| 48 | %setup -q |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | %configure --disable-static |
---|
| 52 | |
---|
| 53 | make V=0 |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c" |
---|
| 58 | |
---|
| 59 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 60 | |
---|
| 61 | %find_lang %{name} |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | %post |
---|
| 67 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 68 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 69 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 70 | fi |
---|
| 71 | |
---|
| 72 | %postun |
---|
| 73 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 74 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 75 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 76 | fi |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %files -f %{name}.lang |
---|
| 80 | %defattr(-,root,root,-) |
---|
| 81 | %doc ChangeLog AUTHORS COPYING NEWS README |
---|
| 82 | %{_sysconfdir}/xdg/autostart/orca-autostart.desktop |
---|
| 83 | %{_bindir}/%{name} |
---|
| 84 | %{python_sitearch}/%{name}/* |
---|
| 85 | %{_datadir}/applications/%{name}.desktop |
---|
| 86 | %{_datadir}/gnome/help/%{name} |
---|
| 87 | %{_datadir}/icons/hicolor/*/apps/* |
---|
| 88 | %{_datadir}/%{name} |
---|
| 89 | %{_mandir}/man1/%{name}.1.gz |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | %changelog |
---|
[6201] | 93 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[6078] | 96 | * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
| 97 | - new upstream release |
---|
| 98 | - add BuildRequires: pycairo-devel, pyxdg |
---|
| 99 | |
---|
[5701] | 100 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2 |
---|
| 101 | - rebuild with python-2.7.2 |
---|
| 102 | |
---|
[5168] | 103 | * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[5110] | 106 | * Fri Nov 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 107 | - initial build for Vine Linux |
---|
| 108 | |
---|