14ed381
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
b1f77b6
10dc0cf
%global debug_package %{nil}
3b64cc2
ce17010
%define python_version 2.5
3b64cc2
%define pyorbit_version 2.0.1
3b64cc2
%define pygtk2_version 2.6.2
3b64cc2
%define gnome_python_version 2.6.2
William Jon McCann 0065aa3
%define gnome_python_version 2.6.2
3b64cc2
%define brltty_version 3.7.2
3b64cc2
%define atk_version 1.11.3
3b64cc2
%define gail_version 1.8.11
3b64cc2
%define gnome_speech_version 0.3.10
3b64cc2
%define libspi_version 1.7.6
3b64cc2
%define brlapi_version 0.4.1
3b64cc2
%define brltty_version 3.7.2
1fe460a
%define control_center_version 2.16.0-5
3b64cc2
3b64cc2
Name:		orca
85a6e50
Version:	2.31.3
d05238b
Release: 	2%{?dist}
b4fc8cb
Summary:	Assistive technology for people with visual impairments
3b64cc2
3b64cc2
Group:		User Interface/Desktops
1e8e8a7
License:	LGPLv2+
b4fc8cb
URL:		http://projects.gnome.org/orca/
1908e85
#VCS: git:git://git.gnome.org/orca
85a6e50
Source0:	http://download.gnome.org/sources/orca/2.31/orca-%{version}.tar.bz2
3b64cc2
BuildRequires:	python-devel >= %{python_version}
3b64cc2
BuildRequires:	brlapi-devel >= %{brlapi_version}
3b64cc2
BuildRequires:	brltty >= %{brltty_version}
1fe460a
BuildRequires:	pyorbit-devel >= %{pyorbit_version}
3b64cc2
BuildRequires: 	pygtk2-devel >= %{pygtk2_version}
3b64cc2
BuildRequires:	atk-devel >= %{atk_version}
3b64cc2
BuildRequires:	gail-devel >= %{gail_version}
3b64cc2
BuildRequires:	at-spi-devel >= %{libspi_version}
3b64cc2
BuildRequires:	gnome-speech-devel >= %{gnome_speech_version}
3b64cc2
BuildRequires:	gettext
c3a5d7e
BuildRequires:	intltool
William Jon McCann 3a397e6
BuildRequires:  gnome-python2-bonobo
865930b
BuildRequires:  gnome-python2-libwnck
161418e
BuildRequires:  gnome-python2-gconf
c362627
BuildRequires:  pyatspi
6d66942
BuildRequires:  dbus-python
William Jon McCann 11d5d3b
Obsoletes:	gnopernicus
3b64cc2
Provides:	gnopernicus
9883964
9883964
Requires:	gnome-mag
9883964
Requires:	control-center >= %{control_center_version}
d05238b
Requires:	pyatspi
William Jon McCann 0065aa3
Requires:	gnome-python2-bonobo
William Jon McCann 0065aa3
Requires:	gnome-python2-libwnck
161418e
Requires:       gnome-python2-gconf
d7c436f
Requires:	gnome-python2-gnome
25b576e
Requires:	gnome-speech
3b64cc2
3b64cc2
%description
William Jon McCann 11d5d3b
Orca is a flexible, extensible, and powerful assistive technology for people
William Jon McCann 11d5d3b
with visual impairments. Using various combinations of speech synthesis,
William Jon McCann 11d5d3b
braille, and magnification, Orca helps provide access to applications and
b4fc8cb
toolkits that support AT-SPI (e.g. the GNOME desktop).
3b64cc2
3b64cc2
%prep
3b64cc2
%setup -q
3b64cc2
3b64cc2
%build
3b64cc2
%configure
3b64cc2
make %{?_smp_mflags}
3b64cc2
3b64cc2
3b64cc2
%install
3b64cc2
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
3b64cc2
make install DESTDIR=$RPM_BUILD_ROOT
3b64cc2
%find_lang %{name}
3b64cc2
3b64cc2
find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
3b64cc2
9883964
#remove the .desktop file since we configure orca through the accessibility capplet
9883964
find $RPM_BUILD_ROOT -name '*.desktop' | xargs rm -f
3b64cc2
3b64cc2
%post
d178267
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
3b64cc2
3b64cc2
%postun
d178267
update-desktop-database &>/dev/null ||:
d178267
if [ $1 -eq 0 ]; then
d178267
   touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
d178267
   gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
3b64cc2
fi
3b64cc2
d178267
%posttrans
d178267
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
d178267
3b64cc2
%files -f %{name}.lang
3b64cc2
%defattr(-,root,root,-)
1e8e8a7
%doc AUTHORS COPYING NEWS README
3b64cc2
%{_bindir}/orca
d4cf549
%{python_sitearch}/orca
fd91a6c
%{_datadir}/icons/hicolor/*/apps/orca.png
fd91a6c
%{_datadir}/icons/hicolor/scalable/apps/orca.svg
7c4f487
%{_datadir}/orca
8b4331e
%{_mandir}/man1/orca.1.gz
a0e311d
3b64cc2
3b64cc2
%changelog
d05238b
* Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.3-2
d05238b
- Require pyatspi, not at-spi-python
d05238b
85a6e50
* Tue Jun  8 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.3-1
85a6e50
- Update to 2.31.3
85a6e50
55f1b55
* Fri May 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.2-1
55f1b55
- Update to 2.31.2
55f1b55
ccde319
* Sat May 15 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.1-1
ccde319
- Update to 2.31.1
ccde319
146424b
* Tue Apr 27 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.1-1
146424b
- Update to 2.30.1
146424b
7a90158
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.0-1
7a90158
- Update to 2.30.0
7a90158
1908e85
* Wed Mar 10 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.92-1
1908e85
- Update to 2.29.92
1908e85
96fc3bc
* Sat Feb 20 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.91-1
96fc3bc
- Update to 2.29.91
96fc3bc
1d2f7d9
* Wed Feb 10 2010 Bastien Nocera <bnocera@redhat.com> 2.29.90-1
1d2f7d9
- Update to 2.29.90
1d2f7d9
f2246ce
* Tue Jan 26 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.6-1
f2246ce
- Update to 2.29.6
f2246ce
d178267
* Sun Jan 17 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.5-1
d178267
- Update to 2.29.5
d178267
9b6b5d0
* Tue Dec 22 2009 Matthias Clasen <mclasen@redhat.com> - 2.29.4-1
9b6b5d0
- Update to 2.29.4
9b6b5d0
53a833e
* Sat Dec  5 2009 Matthias Clasen <mclasen@redhat.com> - 2.29.2-1
53a833e
- Update to 2.29.2
53a833e
04e7383
* Tue Sep 22 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-1
04e7383
- Update to 2.28.0
04e7383
ac48d29
* Mon Sep  7 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.92-1
ac48d29
- Update to 2.27.92
ac48d29
496007d
* Mon Aug 24 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.91-1
496007d
- Update to 2.27.91
496007d
5cfef38
* Mon Aug 10 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.90-1
5cfef38
- Update to 2.27.90
5cfef38
710038d
* Tue Jul 28 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.5-1
710038d
- Update to 2.27.5
710038d
75ef297
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.4-2
75ef297
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
75ef297
cc30332
* Tue Jul 14 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.4-1
cc30332
- Update to 2.27.4
cc30332
10dc0cf
* Thu Jun 18 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.3-2
10dc0cf
- We don't have debuginfo
10dc0cf
129b4a1
* Tue Jun 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.3-1
129b4a1
- Update to 2.27.3
129b4a1
25b576e
* Thu Jun 11 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-2
25b576e
- Add a dependency on gnome-speech (#503193)
25b576e
78194a4
* Sun May 31 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-1
78194a4
- Update to 2.27.2
78194a4
fda973a
* Mon Apr 13 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.1-1
fda973a
- Update to 2.26.1
fda973a
- See http://download.gnome.org/sources/orca/2.26/orca-2.26.1.news
fda973a
5cf75cb
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
5cf75cb
- Update to 2.26.0
5cf75cb
9a58fd6
* Mon Mar  2 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.92-1
9a58fd6
- Update to 2.25.92
9a58fd6
56aef07
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
56aef07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
56aef07
2a99a63
* Wed Feb 18 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.91-1
2a99a63
- Update to 2.25.91
2a99a63
ce16743
* Tue Feb  3 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.90-1
ce16743
- Update to 2.25.90
ce16743
bd9d597
* Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.5-1
bd9d597
- Update to 2.25.5
bd9d597
93ce315
* Tue Jan  6 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.4-1
93ce315
- Update to 2.25.4
93ce315
83752cf
* Wed Dec 17 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.3-2
d3354c3
- Update to 2.25.3
d3354c3
dcd12a5
* Wed Dec  4 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.2-2
dcd12a5
- Rebuild for Python 2.6
dcd12a5
d4e1e5f
* Wed Dec  3 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.2-1
5c029c0
- Update to 2.25.2
5c029c0
d6a9535
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.25.1-3
d6a9535
- Rebuild for Python 2.6
d6a9535
5c029c0
* Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.1-2
b4fc8cb
- Tweak description
b4fc8cb
b539b56
* Wed Nov 12 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.1-1
b539b56
- Update to 2.25.1
b539b56
9359dd5
* Fri Oct 17 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.1-1
9359dd5
- Update to 2.24.1
9359dd5
25bd99b
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
25bd99b
- Update to 2.24.0
25bd99b
1b0813f
* Mon Sep  8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-1
1b0813f
- Update to 2.23.92
1b0813f
876e732
* Tue Sep  2 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
876e732
- Update to 2.23.91
876e732
d7c436f
* Tue Aug 26 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.90-2
d7c436f
- Require gnome-python2-gnome
d7c436f
0180ffd
* Sat Aug 23 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.90-1
0bc07aa
- Update to 2.23.90
0bc07aa
2c48bd0
* Tue Aug  5 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.6-1
2c48bd0
- Update to 2.23.6
2c48bd0
be41a64
* Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.5-1
be41a64
- Update to 2.23.5
be41a64
cfe187b
* Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4-1
cfe187b
- Update to 2.23.4
cfe187b
e6d1c70
* Tue Jun  3 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3-1
e6d1c70
- Update to  2.23.3
e6d1c70
William Jon McCann 3a397e6
* Wed May 28 2008 Jon McCann <jmccann@redhat.com> - 2.23.2-3
William Jon McCann 3a397e6
- Add BuildRequires gnome-python2-bonobo back
William Jon McCann 3a397e6
William Jon McCann 0065aa3
* Wed May 28 2008 Jon McCann <jmccann@redhat.com> - 2.23.2-2
William Jon McCann 0065aa3
- Require gnome-python2-bonobo and gnome-python2-libwnck
William Jon McCann 0065aa3
80716f4
* Tue May 13 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-1
80716f4
- Update to 2.23.2
80716f4
f61d145
* Sun May  4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-2
f61d145
- Fix source url
f61d145
e2f0e6a
* Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1
e2f0e6a
- Update to 2.23.1
e2f0e6a
William Jon McCann 11d5d3b
* Mon Apr  7 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-2
William Jon McCann 11d5d3b
- Fix signal handling (GNOME bug #525831)
William Jon McCann 11d5d3b
ec29358
* Mon Apr  7 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.1-1
ec29358
- Update to 2.22.1
ec29358
938cf28
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1
938cf28
- Update to 2.22.0
938cf28
3c7e937
* Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.92-1
3c7e937
- Update to 2.21.92
3c7e937
d8ba353
* Tue Feb 12 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.91-1
d8ba353
- Update to 2.21.91
d8ba353
b97eaea
* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90-1
b97eaea
- Update to 2.21.90
b97eaea
8ee7919
* Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5-1
8ee7919
- Update to 2.21.5
8ee7919
cb8afe2
* Fri Jan  4 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.4-2
cb8afe2
- Require at-spi-python (#427432)
cb8afe2
91bec93
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4-1
91bec93
- Update to 2.21.4
91bec93
36e0998
* Wed Dec  5 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.3-1
36e0998
- Update to 2.21.3
36e0998
f9ef5a6
* Tue Nov 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.2-1
f9ef5a6
- Update to 2.21.2
f9ef5a6
409de03
* Mon Oct 15 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0.1-1
409de03
- Update to 2.20.0.1 (bug fixes and translation updates)
409de03
b6f7368
* Sun Sep 16 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-1
b6f7368
- Update to 2.20.0
b6f7368
80210fe
* Tue Sep  4 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.92-1
80210fe
- Update to 2.19.92
80210fe
3541383
* Mon Aug 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.90-1
3541383
- Update to 2.19.90
3541383
1e8e8a7
* Tue Aug  7 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-2
1e8e8a7
- Update license field
1e8e8a7
e15dc6f
* Sun Jul 29 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-1
e15dc6f
- Update to 2.19.6
e15dc6f
c29b17e
* Mon Jul  9 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.5-1
c29b17e
- Update to 2.19.5
c29b17e
71eb1ce
* Sun Jun 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.4-1
71eb1ce
- Update to 2.19.4
71eb1ce
ecb9a36
* Tue Jun  5 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.3-1
ecb9a36
- Update to 2.19.3
ecb9a36
8740e41
* Sun May 20 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.2-1
8740e41
- Update to 2.19.2
8740e41
58cf59e
* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
58cf59e
- Update to 2.18.0
58cf59e
5623ee9
* Wed Feb 28 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.92-1
5623ee9
- Update to 2.17.92
5623ee9
8b4331e
* Sun Feb 11 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.91-1
8b4331e
- Update to 2.17.91
8b4331e
ce87893
* Mon Jan 22 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.90-1
ce87893
- Update to 2.17.90
ce87893
49abee0
* Thu Jan 11 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.5-1
49abee0
- Update to orca 2.17.5
49abee0
7a64b2f
* Wed Dec 19 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.4-1
7a64b2f
- Update to orca 2.17.4
7a64b2f
ce17010
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 2.17.3-2
ce17010
- rebuild for python 2.5
ce17010
fb863a5
* Tue Dec  5 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.3-1
fb863a5
- Update to orca 2.17.3
fb863a5
50d12af
* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
50d12af
- Update to orca 2.17.2
50d12af
1fe460a
* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.1-2
1fe460a
- Fix typos in the spec
1fe460a
0d29775
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.1-1
0d29775
- Update to 2.17.1
0d29775
319fd66
*  Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-4
319fd66
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
319fd66
86a7d39
* Tue Sep 19 2006 John (J5) Palmieri <johnp@redhat.com> - 1.0.0-3
86a7d39
- Add patch to shutdown orca
86a7d39
9883964
* Tue Sep 19 2006 John (J5) Palmieri <johnp@redhat.com> - 1.0.0-2
9883964
- Add requirements on gnome-mag and newer version of control-center
9883964
- remove .desktop file and make control-center start and configure orca
9883964
404ddb2
* Sun Sep  3 2006 Matthias Clasen <mclasen@redhat.com> - 1.0.0-1
404ddb2
- Update to 1.0.0
404ddb2
df8db2e
* Thu Aug 31 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.0-4
df8db2e
- Obsolete gnome-mag-devel, too
df8db2e
1fddb7d
* Tue Aug 29 2006 John (J5) Palmieri <johnp@redhat.com> - 0.9.0-3
1fddb7d
- Spec file cleanups
1fddb7d
3b64cc2
* Mon Aug 21 2006 John (J5) Palmieri <johnp@redhat.com> - 0.9.0-1
3b64cc2
- Initial package