File orca.spec of Package orca

#
# spec file for package orca (Version 2.24.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           orca
BuildRequires:  at-spi-devel
BuildRequires:  fdupes
BuildRequires:  glib2-devel
BuildRequires:  gnome-common
BuildRequires:  gnome-mag-devel
BuildRequires:  gnome-python-desktop
BuildRequires:  gnome-speech-devel
BuildRequires:  intltool
BuildRequires:  python
BuildRequires:  python-gnome
BuildRequires:  python-gnome-devel
BuildRequires:  python-gtk-devel
BuildRequires:  update-desktop-files
Version:        2.24.1
Release:        1
Url:            http://www.gnome.org/
Group:          System/GUI/GNOME
License:        LGPL v2.1 or later
Summary:        Screen reader for GNOME
Source:         %{name}-%{version}.tar.bz2
Patch:          orca-bgo550717-brld.patch
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Recommends:     gnome-speech
Requires:       sbl
Requires:       %{name}-lang = %{version}
%py_requires

%description
Orca is a free, open source, flexible, and extensible screen reader
that provides access to the graphical desktop via user-customizable
combinations of speech, braille, and/or magnification.	Under
development by the Sun Microsystems, Inc., Accessibility Program Office
since 2004, Orca has been created with early input from and continued
engagement with its end users.	In fact, the user interface designer
for Orca is also a user.



Authors:
--------
    Marc Mulcahy
    Willie Walker
    Mike Pedersen
    Rich Burridge

%lang_package
%prep
%setup
%patch0 -p1

%build
autoreconf -f -i
# FIXME: enable brltty support
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir $RPM_BUILD_ROOT%{_datadir}/pixmaps/
%suse_update_desktop_file orca GNOME Lockdown X-SuSE-ControlCenter-LookAndFeel
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/orca
%{_datadir}/applications/orca.desktop
%{_datadir}/icons/hicolor/*/apps/orca.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/orca
%{_datadir}/man/man1/orca.1.gz
%{py_sitedir}/orca

%files lang -f %{name}.lang

%changelog
* Thu Oct 16 2008 mboman@suse.de
- Update to version 2.24.1:
  + Bugs fixed: bgo#552088, bgo#552343, bgo#553413, bgo#554002, bgo#554111,
  bgo#368641, bgo#554673, bgo#556049, bgo#556321, bgo#546941, bgo#553877,
  bgo#535178, bgo#527022, bgo#552887, bgo#554831, bgo#555466
  + Translation updates
* Tue Sep 23 2008 mboman@suse.de
- Update to version 2.24.0:
  + Bugs fixed: bgo#363793, bgo#403760, bgo#552344, bgo#356041, bgo#552350,
  bgo#518945, bgo#535188, bgo#542833, bgo#546815, bgo#547496, bgo#547573,
  bgo#549128, bgo#551626, bgo#553075
  + Translation updates
* Sat Sep 13 2008 vuntz@novell.com
- Merge the following change by marco@suse.de from autobuild:
  + added orca-bgo550717-brld.patch patch to have brld support
  out-of-the-box
  see also http://bugzilla.gnome.org/show_bug.cgi?id=550717
  + added sbl as a requirement
* Wed Sep 10 2008 maw@suse.de
- Update to version 2.23.92:
  + Bugs fixed: bgo#527022 (partial fix), bgo#550249, bgo#515923,
  bgo#550137, bgo#551077, bgo#551159, bgo#541605, and bgo#550873
  + Updated translations.
* Tue Sep 02 2008 mboman@novell.com
- Update to version 2.23.91:
  + Bugs fixed: bgo#540937, bgo#547774, bgo#548380, bgo#548382,
  bgo#523416, bgo#523452, bgo#549664, bgo#547477, bgo#549529
  + Updated translations
* Tue Aug 26 2008 mboman@novell.com
- Update to version 2.23.90:
  + Use DBus only if DBUS_SESSION_BUS_ADDRESS is defined so as to avoid
  unexpected launching of a DBus daemon
  + Bugs fixed: bgo#536985, bgo#540123, bgo#540187, bgo#546277, bgo#546660,
  bgo#547938, bgo#547895, bgo#535178, bgo#527819, bgo#535183, bgo#542833,
  bgo#546355, bgo#546895, bgo#547345
  + Updated translations
* Sat Aug 09 2008 captain.magnus@opensuse.org
- Update to version 2.23.6:
  + Fix for bug bgo#536985, bgo#542714, bgo#545342, bgo#429390, bgo#544122,
  bgo#544197, bgo#544771, bgo#545623, bgo#534431, bgo#545946, bgo#520596,
  bgo#525656, bgo#533095, bgo#534022, bgo#536825, bgo#536985, bgo#538058,
  bgo#538729, bgo#538773, bgo#540937, bgo#541094, bgo#541437, bgo#542260,
  bgo#542262, bgo#542367, bgo#542714, bgo#542719, bgo#543775, bgo#435623,
  bgo#538053, bgo#538056, bgo#538064, bgo#538835, bgo#519515, bgo#530783,
  bgo#533109, bgo#535023, bgo#536455, bgo#537839, bgo#539075, bgo#540187,
  bgo#542324, bgo#542927, bgo#543496, bgo#533042, bgo#536451, bgo#536455,
  bgo#540039, bgo#540407, bgo#540833, bgo#541018, bgo#543024
  + Updated translations
* Mon Jun 23 2008 maw@suse.de
- Update to version 2.23.4:
  + Bugs fixed: bgo#487585, bgo#397306, bgo#464194, bgo#517532,
  bgo#529655, bgo#530368, bgo#435585, bgo#521450, bgo#537851,
  bgo#507922, bgo#535192, bgo#537425, bgo#531806, bgo#371637,
  bgo#448817, bgo#463646, bgo#520494, bgo#524998, bgo#534383,
  bgo#535747, bgo#516565, bgo#533499, bgo#511561, bgo#515665,
  bgo#527959, bgo#528644, bgo#532069, bgo#533125, bgo#534393,
  bgo#535149, bgo#517048, bgo#426010, bgo#517127, bgo#517387,
  bgo#529145, bgo#517736, bgo#522797, bgo#525831, bgo#528147,
  bgo#528507, bgo#528797, bgo#530541, bgo#531378, bgo#532376,
  bgo#474673, bgo#523731, bgo#529784, bgo#530766, bgo#517505,
  bgo#518507, bgo#518518, bgo#518762, bgo#518914, bgo#519901,
  bgo#520611, bgo#520974, bgo#522657, bgo#523082, bgo#523147,
  bgo#523309, bgo#523268, bgo#523642, bgo#523712, bgo#525348,
  bgo#525831, bgo#525592, bgo#525649, bgo#519936, bgo#525644,
  bgo#525656, bgo#517502, bgo#523018, bgo#491837, bgo#512103,
  bgo#512503, bgo#515804, bgo#517277, bgo#518893, bgo#519416,
  bgo#519478, bgo#519587, bgo#519931, bgo#520029, bgo#520612,
  bgo#520760, bgo#523480, bgo#523759, and bgo#526366
  + Updated translations.
* Fri Apr 11 2008 maw@suse.de
- Update to version 2.22.1:
  + General:
  * Much work on regression tests.
  * Bugs fixed: bgo#520494, bgo#523082, bgo#523147, bgo#523642,
  bgo#523712, and bgo#525656
  + OpenOffice:
  Bug fixed: bgo#523018
  + Firefox:
  * Bugs fixed: bgo#519478, bgo#519587, bgo#520029, bgo#520760,
  bgo#523480, and bgo#523759
  + Updated translations.
* Fri Mar 14 2008 maw@suse.de
- Update to version 2.22.0:
  + General:
  * Fix for bgo#517505 - Orca doesn't present new active descendant
  when deleting from the top of a list
  * Fix for bgo#518762 - When using gnome-terminal with multiple tabs,
  the name on the tab is not announced when switching between tabbed
  windows
  + OpenOffice:
  * Fix for bgo#517502 - Orca should not speak the previously focused
  menu item when arrowing across the menu bar in OpenOffice
  + Firefox:
  * Fix for bgo#491837, Implement Gecko.py 'go to' functions with
  Collections
  * Fix for bgo#515804 - Whitespace needs to be removed from speech and
  braille contexts in FF3
  * Fix for bgo#517277 - Orca should not get stuck while browsing
  articles at espn.com
  * Fix for bgo#518893 - Extra verbosity in web pages
  * Fix for bgo#519931 - Orca does not read certain news feeds
  correctly
  + Updated translations.
* Tue Mar 04 2008 maw@suse.de
- Update to version 2.21.92:
  + General:
  * Fix for bgo#419136 - Planner toggle button in main window not
  accessible
  * Fix for bgo#486897 - Where Am I doesn't present row/column headers
  * Fix for bgo#513238 - Flat review is broken in Evolution
  * Fix for bgo#516321 - Caps lock not correctly reporting the state
  when toggled
  * Workaround for bgo#517026 - crash in Open Folder: Deleting the last
  file in a directory
  + OOo:
  * Fix for bgo#515651 - Navigation of cells in oocalc now says "not
  selected"
  + Firefox:
  * Fix for bgo#508163 - Orca tends to be slow in the vicinity of combo
  boxes in Firefox
  * Fix for bgo#511885 - Support relevant and channel live region
  properties
  * Fix for bgo#512261 - We should implement better support for the FF
  A11y extension
  * Fix for bgo#515263 - ARIA tooltips should respect presentToolTips
  setting
  * Fix for bgo#512503 - Remove "object:visible-data-changed" listener
  from Gecko.py
  * Fix for bgo#515571 - FF3 form field structural navigation should
  handle form fields that are not in forms
  * Fix for bgo#516121 - Orca stalls on barackobama.com when navigating
  by heading in FF3
  * Fix for bgo#516174 - FF line navigation needs to be more
  accurate. (We know these aren't all the issues, but hopefully this
  fix will resolve many of them.)
  * Fix for bgo#517521 - Gecko.py is throwing exception in onCaretMoved
  * Fix for bgo#517336 - Spaces interfere with Orca's ability to get
  the line contents
  * Fix for bgo#517371 - Orca gets stuck when browsing humanware.ca in FF3
  * Fix for bgo#517716 - Live regions being output on listitem changes
  for Bugzilla
  * Fix for bgo#517752 - (ff3) more orca+left/right inconsistency
  * Fix for bgo#518502 - Orca doesn't always speak wrapping
  announcement for link structural nav in FF3
  + Updated translations.
* Thu Feb 21 2008 maw@suse.de
- Fix dumb build error.
* Wed Feb 20 2008 maw@suse.de
- Update to version 2.21.91:
  + Bugs fixed: bgo#133275, bgo#354470 (partial), bgo#434654,
  bgo#440490, bgo#486908, bgo#512608, bgo#512639, bgo#512847,
  bgo#363830, bgo#462883, bgo#506360, bgo#511354, bgo#511389,
  bgo#512236, bgo#512303, bgo#513217, bgo#513425, bgo#514427,
  and bgo#515652
  + Updated translations.
* Fri Feb 01 2008 maw@suse.de
- Update to version 2.21.90:
  + Bugs fixed: bnc#432308, bnc#482294, bnc#503874, bnc#506874,
  bnc#508682, bnc#510019, bnc#511447, bnc#510207, bnc#483023,
  bnc#505742, bnc#506360, bnc#509394, bnc#509482, bnc#509588,
  bnc#509731, bnc#509809, bnc#510478, bnc#511118, bnc#511893,
  bnc#512270, bnc#354462, bnc#463867, bnc#463881, bnc#485522,
  bnc#486895, bnc#489504, bnc#504356, bnc#504384, bnc#505293,
  bnc#505306, bnc#508679, bnc#508777, bnc#490317, bnc#507886,
  bnc#414762, bnc#480881, bnc#500016, bnc#502084, bnc#504742,
  bnc#504785, bnc#505102, bnc#506360, bnc#508624, bnc#508784,
  bnc#509068, bnc#452316, bnc#463881, bnc#464705, bnc#501414,
  bnc#503965, bnc#451988, bnc#466251, bnc#473009, bnc#501447,
  bnc#491756, bnc#486726, bnc#486970, bnc#496846, bnc#503527,
  bnc#486726, bnc#491576, bnc#407647, bnc#472665, bnc#486899,
  bnc#486901, bnc#486909, bnc#486971, bnc#486976, bnc#487189,
  bnc#500193, bnc#462883, bnc#468551, bnc#469718, bnc#435201,
  bnc#469083, bnc#481488, bnc#486918, bnc#486969, bnc#486972,
  bnc#487226, bnc#487514, bnc#489875, bnc#489913, bnc#489928,
  bnc#491417, bnc#494651, bnc#485903, bnc#490266, bnc#490568,
  bnc#462984, bnc#473699, bnc#474958, bnc#483018, bnc#484428,
  bnc#484499, bnc#489604, bnc#448848, bnc#467664, bnc#486726,
  bnc#487230, bnc#488391, bnc#489797, bnc#472345, bnc#480501,
  bnc#478204, bnc#480264, bnc#376517, bnc#435852, bnc#480278,
  bnc#489490, and bnc#490623
  + Updated translations.
* Tue Sep 18 2007 mauro@suse.de
- Bugfixes for b.g.o bugs #472962, #473420, #473422, #473991,
  [#475277].
- Make sure to return pronunciations in script.py overridePronunciations.
- Fix problem in nautilus.py where the util.xxx module methods were
  still being referenced rather than using the self.xxx stuff.
- Firefox:
  + Fix for bug 468633 - No output when tabbing to ARIA slider.
  + Fix for bug 472345 - Cannot arrow out of entries in FF3 if text
  is inserted via javascript.
- OpenOffice:
  + Fix for bug 469367 - Orca StarOffice script not properly announcing
  (potential) indentation in OOo Writer.
* Mon Sep 10 2007 maw@suse.de
- Update to version 2.19.92:
  + Bugs (bugzilla.gnome.org) fixed: #456970, #471220, #472377,
  [#472407], #469686, #470332, #471537, #471955, and #472029 (in
  progress)
  + Updated translations.
* Fri Aug 31 2007 maw@suse.de
- Update to version 2.19.91:
  + Bugs (bugzilla.gnome.org) fixed: #464714, #461620, #460284,
  [#457988], #462650, #462475, #461719, #455308, #364518, #464855,
  [#470332], #468765, #466764, #469615, #468786, #468098, #467563,
  [#467425], #466725, #466500, #465989 (partially), #465087,
  [#446878], and #356068
  + Updated translations.
* Wed Aug 08 2007 maw@suse.de
- Split off a -lang subpackage.
* Thu Aug 02 2007 maw@suse.de
- Update to version 2.19.6:
  + Bugs (bugzilla.gnome.org) fixed: #364518, #409731, #415061,
  [#439191], #449964, #455230, #456296, #459080, #460215, #456446,
  [#459618], #460774, and #458142
  + Updated translations
- Use %%fdupes
- Remove empty %%post.
* Tue Jul 17 2007 mauro@suse.de
- Update to version 2.19.5
- The string module in orca.py was removed since wasn't being used.
- Bugfixes for bug #449964, #382601, #400720, #447191, #400720
* Wed May 09 2007 pgajdos@suse.cz
- removed gnome-icon-theme from Requieres and BuildRequieres
  [#247450]
* Wed Apr 11 2007 maw@suse.de
- Update to version 2.18.1, which
- Only contains updated translations (ca, da, de, dz, es, gl, gu,
  nb, and tr).
* Mon Apr 09 2007 maw@suse.de
- Update to version 2.18.0
- Invalid entries in the .desktop file were removed
- Improved man pages (b.g.o #414981).
* Mon Mar 12 2007 maw@suse.de
- Fix silly build error - don't package %%{_datadir}/pixmaps/*.png,
  which doesn't even exist.
* Fri Mar 09 2007 maw@suse.de
- Update to version 2.17.91.
  * Fix for bug 385949: Better handling of comboboxes in Firefox 3.0.
  * Work on bug 363830: announce when bold, underline, italics, and
  the various alignment toggle buttons change state in OpenOffice.
  (Thanks for the fix, Joanie!)
  * Fix for bug 397787: Orca now handles if OpenOffice recovery mode
  better.
  * Fix for bug 405541: provide better handle brailling of message
  summaries in Thunderbird message summary list.
  * Fix for bugs 403767 and 405562: provide better support for
  autocompletion components in Thunderbird.
  * Fix for bug 398531: handle the speech preferences tab page better.
  presses "Quit" or "Preferences" button in Orca Preferences
  window.  (Thanks for testing, Joanie!)
  * Work on bug 400763: much improvement to the responsiveness after
  starting an update from the update manager.
  * Fix for bugs 400766 and 348464: better handling of autocomplete
  entries in GTK widgets as used by the "Run..." dialog and Evolution.
  * Continued work on Gecko.py script for Firefox 3.0.  We're getting
  there step by step, and it requires work both inside Firefox 3.0
  and inside Orca.
  * Updated to support latest BrlAPI.  Orca should now work various
  versions of BrlTTY and BrlAPI.
- countless other fixes between 2.17.90 and 1.0.0
* Fri Mar 09 2007 sbrabec@suse.cz
- Removed obsolete hicolor icon symlink (#248676).
* Fri Jan 12 2007 sbrabec@suse.cz
- Build with gnome-mag and gnome-speech support.
* Fri Dec 22 2006 maw@suse.de
- Move to /usr.
* Fri Oct 20 2006 jpr@suse.de
- Recommend gnome-speech so we have a speech engine available
* Sat Sep 23 2006 aj@suse.de
- Fix build with python 2.5.
* Thu Sep 14 2006 jhargadon@suse.de
- update to version 1.0.0
- Updates to User's Guide, Architecture, Requirements, and Script Writing
  Guide
- Fix for bug 353467: run in a terminal if we detect text setup will
  be used
- Fix for bug 353476: apply better fallback algorithm to find a
  working synthesis engine
- Fix for bug 352578: ensure that checking/unchecking speech in the
  configuration GUI does the appropriate thing
- Refixed bug 350854 and fix for bug 353268: do not double read lines
  in OpenOffice and also make sure focus is properly handled in gedit
  after a window maximize.
- Fix for bug 353237: prevent COMM_FAILURE messages when trying to get
  the object state
- Fix for bug 352866: add "-q" and "--quit" options to orca script to
  allow one to more easily kill orca
- Fix for bug 352240: prevent wrong object report for Java
  applications in case of different event ordering
- Fix for bug 352257: improved isSameObject() function
- Fix for bug 352254: better handling of expand/collapse events for the
  Java platform
- translation updates
* Tue Sep 12 2006 rodrigo@suse.de
- Moved Python modules to /usr to make it work.
* Fri Sep 08 2006 rodrigo@suse.de
- Initial submission from GNOME 2.15.x