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