LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File accerciser.spec of Package accerciser (Project DISCONTINUED:openSUSE:11.2)

#
# spec file for package accerciser (Version 1.8.0)
#
# Copyright (c) 2009 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.8.0
Release:        1
License:        BSD 3-clause (or similar) ; 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
BuildRequires:  at-spi
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gnome-python-desktop
BuildRequires:  intltool
BuildRequires:  python-gtk
BuildRequires:  update-desktop-files
Requires:       IPython
Requires:       at-spi
Requires:       gnome-python-desktop
Requires:       python-gtk
Requires:       python-gtksourceview
Requires:       %{name}-lang = %{version}
%py_requires
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif
%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
%configure \
    --disable-scrollkeeper
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%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}
%{python_sitelib}/%{name}
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/man/man1/%{name}.1.gz
%{_datadir}/applications/%{name}.desktop

%files lang -f %{name}.lang

%changelog