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