File accerciser.spec of Package accerciser

#
# spec file for package accerciser (Version 1.4.0)
#
# 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:           accerciser
Summary:        Accessibility debugging tool
Version:        1.4.0
Release:        1
License:        BSD 3-Clause; LGPL v2.1 or later
Group:          Development/Tools/Other
Url:            http://live.gnome.org/Accerciser
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on
Requires:       %{name}-lang = %{version}
Requires:       IPython python-gnome python-gnome-extras python-orbit
Requires:       gnome-python-desktop at-spi
BuildRequires:  fdupes gconf2-devel gnome-common gnome-doc-utils-devel gtk2-devel
BuildRequires:  intltool libgnome-devel libgnomeui-devel pkg-config scrollkeeper
BuildRequires:  python-gnome python-gnome-extras update-desktop-files
BuildRequires:  at-spi >= 1.24.0 gnome-python-desktop python-orbit update-desktop-files
%gconf_schemas_prereq

%description
Accerciser is an interactive Python accessibility explorer for the
GNOME desktop. It uses AT-SPI to inspect and control widgets, allowing
you to check if an application is providing correct information to
assistive technologies and automated test frameworks. Accerciser has a
simple plugin framework which you can use to create custom views of
accessibility information.

In essence, Accerciser is a next generation at-poke tool.



Authors:
--------
    Peter Parente <pparent@us.ibm.com>
    Eitan Isaacson <eitan@ascender.com>

%lang_package
%prep
%setup -n %{name}-%{version}

%build
export CFLAGS=$RPM_OPT_FLAGS
autoreconf -f -i
%configure \
    --disable-scrollkeeper
%__make %{?jobs:-j%jobs}

%install
%makeinstall
# % suse_update_desktop_file Development-Other accerciser
%suse_update_desktop_file -r -N "Accerciser" -G "Accesibility Debugger" accerciser Utility GNOME Accessibility
%find_gconf_schemas
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README
%{_bindir}/%{name}
%py_sitedir/%{name}
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/man/man1/%{name}.1.gz
%{_datadir}/applications/%{name}.desktop
%{_datadir}/omf/%{name}
## %{_bindir}/*
## %{_datadir}/applications/*
## %dir %{_datadir}/gnome/help/%{name}
## %dir %{_datadir}/gnome/help/%{name}/C
## %dir %{_datadir}/gnome/help/%{name}/C/figures
## %{_datadir}/gnome/help/%{name}/C/*.xml
## %{_datadir}/gnome/help/%{name}/C/figures/*.png
## %dir %{_datadir}/gnome/help/%{name}/oc
## %dir %{_datadir}/gnome/help/%{name}/oc/figures
## %{_datadir}/gnome/help/%{name}/oc/*.xml
## %{_datadir}/gnome/help/%{name}/oc/figures/*.png
## %dir %{_datadir}/gnome/help/%{name}/sv
## %dir %{_datadir}/gnome/help/%{name}/sv/figures
## %{_datadir}/gnome/help/%{name}/sv/*.xml
## %{_datadir}/gnome/help/%{name}/sv/figures/*.png
## %{_datadir}/icons/hicolor/48x48/apps/*.png
## %{_datadir}/omf/%{name}/*.omf

%files lang -f %{name}.lang

%changelog
* Tue Nov 25 2008 stshaw@novell.com
- update to 1.4.0:
  * Bugs fixed: bgo#550689, bgo#547778
* Tue Sep 09 2008 ro@suse.de
- use macro py_sitedir in filelist
* Thu Aug 14 2008 stshaw@novell.com
- Update to 1.3.6:
  * Bugs fixed: bgo#545904, bgo#528828, bgo#540166, bgo#520296,
  bgo#503654, bgo#494634, bgo#494632, bgo#493650, bgo#528261,
  bgo#509805, bgo#508665, bgo#500900, bgo#431882, bgo#469427
  * src/lib/accerciser/node.py:
  Fixed highlighting in composited environments.
  * pyreqs.py:
  Changed pyatspi version checking to use the new
  __version__ symbol.
  Check that the version of pyatspi is current enough.
  * plugins/quick_select.py:
  Make it work better with tab lists and windows.
  * plugins/interface_view.py:
  Removed prefix space from
  * src/lib/accerciser/pyatspi.zip:
  Deleted.
  * src/lib/accerciser/accerciser.py:
  Make event handling asynchronous.
  * plugins/event_monitor.py:
  Remove decoupling of event handling, we don't need to worry
  about it any more.
  Added a new global hotkey for starting/stopping recording.
  * plugins/validate.py:
  Removed Save button stuff.
  * plugins/validate.glade:
  Removed Save button, changed layout so it won't be so wide.
  Added label relationships to comobox and label.
  * plugindata/validate/basic.py:
  Old code for validate plugin
  * plugindata/validate/Makefile.am:
  Fixed install path.
  * plugins/ipython_view.py (IPythonView.__init__):
  Removed a "print".
  * plugins/ipython_view.py (ConsoleView):
  De-coupled all caret movement and text manipulation in the
  ConsoleView from the input event handling. Without decoupling
  we get a lockup if threading is enabled when a GAIL callback
  tries to acquire the lock during a GDK event dispatch.
  * Updated translations.
* Mon Mar 03 2008 hpj@suse.de
- Initial package.
openSUSE Build Service is sponsored by