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 |
---|
5 | Version: 3.6.3 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | |
---|
8 | Group: User Interface/Desktops |
---|
9 | License: LGPLv2+ |
---|
10 | URL: http://projects.gnome.org/orca/ |
---|
11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.6/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: gtk3-devel >= 3.1.91 |
---|
16 | BuildRequires: pycairo-devel |
---|
17 | BuildRequires: pygobject3-devel >= 2.90.3 |
---|
18 | BuildRequires: pyxdg |
---|
19 | BuildRequires: at-spi2-core-devel >= 2.1.92 |
---|
20 | BuildRequires: python-brlapi |
---|
21 | BuildRequires: brlapi-devel |
---|
22 | BuildRequires: brltty |
---|
23 | BuildRequires: speech-dispatcher-python |
---|
24 | BuildRequires: yelp-tools |
---|
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} --all-name --with-gnome |
---|
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}/icons/hicolor/*/apps/* |
---|
87 | %{_datadir}/%{name} |
---|
88 | %{_mandir}/man1/%{name}.1.gz |
---|
89 | |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Thu Nov 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
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 | |
---|
102 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
106 | - new upstream release |
---|
107 | - add BuildRequires: pycairo-devel, pyxdg |
---|
108 | |
---|
109 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2 |
---|
110 | - rebuild with python-2.7.2 |
---|
111 | |
---|
112 | * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
113 | - new upstream release |
---|
114 | |
---|
115 | * Fri Nov 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
116 | - initial build for Vine Linux |
---|
117 | |
---|