14ed381
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
b1f77b6
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 eel_version 2.14.0
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
d3354c3
Version:	2.25.3
d3354c3
Release: 	1%{?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/
b539b56
Source0:	http://download.gnome.org/sources/orca/2.25/orca-%{version}.tar.bz2
3b64cc2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3b64cc2
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:	eel2-devel >= %{eel_version}
3b64cc2
BuildRequires:	at-spi-devel >= %{libspi_version}
3b64cc2
BuildRequires:	gnome-speech-devel >= %{gnome_speech_version}
William Jon McCann 11d5d3b
BuildRequires:	perl(XML::Parser)
3b64cc2
BuildRequires:	gettext
c3a5d7e
BuildRequires:	intltool
William Jon McCann 3a397e6
BuildRequires:  gnome-python2-bonobo
865930b
BuildRequires:  gnome-python2-libwnck
William Jon McCann 11d5d3b
Obsoletes:	gnopernicus
3b64cc2
Provides:	gnopernicus
9883964
9883964
Requires:	gnome-mag
9883964
Requires:	control-center >= %{control_center_version}
cb8afe2
Requires:	at-spi-python
William Jon McCann 0065aa3
Requires:	gnome-python2-bonobo
William Jon McCann 0065aa3
Requires:	gnome-python2-libwnck
d7c436f
Requires:	gnome-python2-gnome
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
rm -rf $RPM_BUILD_ROOT
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
%clean
3b64cc2
rm -rf $RPM_BUILD_ROOT
3b64cc2
3b64cc2
%post
3b64cc2
touch --no-create %{_datadir}/icons/hicolor || :
3b64cc2
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
3b64cc2
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
3b64cc2
fi
3b64cc2
3b64cc2
%postun
3b64cc2
update-desktop-database &> /dev/null ||:
3b64cc2
touch --no-create %{_datadir}/icons/hicolor || :
3b64cc2
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
3b64cc2
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
3b64cc2
fi
3b64cc2
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
3b64cc2
%dir %{_datadir}/orca
3b64cc2
%dir %{_datadir}/orca/glade
a0e311d
%{_datadir}/orca/glade/*
8b4331e
%{_mandir}/man1/orca.1.gz
a0e311d
3b64cc2
3b64cc2
%changelog
d3354c3
* Wed Dec 17 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.3-1
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