Add closing quote OBS-URL: https://build.opensuse.org/request/show/79271 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-atspi?expand=0&rev=45
86 lines
2.7 KiB
RPMSpec
86 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package python-atspi
|
|
#
|
|
# Copyright (c) 2011 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/
|
|
#
|
|
|
|
|
|
|
|
Name: python-atspi
|
|
%define _name pyatspi
|
|
Version: 2.1.5
|
|
Release: 1
|
|
Summary: Assistive Technology Service Provider Interface - Python bindings
|
|
License: LGPLv2.0
|
|
Group: Development/Libraries/Python
|
|
Url: http://www.gnome.org/
|
|
Source0: http://download.gnome.org/sources/pyatspi/2.1/%{_name}-%{version}.tar.bz2
|
|
# PATCH-FIX-UPSTREAM python-atspi-quotes.patch dimstar@opensuse.org -- Add accidentally dropped closing quote. Taken from git.
|
|
Patch0: python-atspi-quotes.patch
|
|
BuildRequires: fdupes
|
|
BuildRequires: pkgconfig(pygobject-2.0)
|
|
Requires: dbus-1-python
|
|
# This is needed to have working introspection.
|
|
Requires: libatspi0
|
|
Requires: python-gobject2
|
|
Requires: python-gtk
|
|
Requires: python-xlib
|
|
# The bindings are really useful only if the at-spi registry is running. But
|
|
# it's not a strict runtime dependency.
|
|
Recommends: at-spi2-core
|
|
# gconftool-2 is used to check whether corba-based stack should be used. So we
|
|
# prefer to have it installed, but if it's not, we'll use the dbus-based stack.
|
|
Recommends: gconf2
|
|
# Old versions of at-spi 1.x provided the same files
|
|
Conflicts: at-spi < 1.29.3
|
|
# Virtual package, so that apps can depend on it, without having to know which
|
|
# at-spi stack is used. Only the default at-spi stack should define it.
|
|
Provides: pyatspi
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%if %suse_version > 1110
|
|
BuildArch: noarch
|
|
%endif
|
|
%if %suse_version <= 1110
|
|
%define python_sitelib %{py_sitedir}
|
|
%endif
|
|
%py_requires
|
|
|
|
%description
|
|
AT-SPI is a general interface for applications to make use of the
|
|
accessibility toolkit. This version is based on dbus.
|
|
|
|
This package contains the python bindings for AT-SPI.
|
|
|
|
%prep
|
|
%setup -q -n %{_name}-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%fdupes %{buildroot}%{python_sitelib}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING README
|
|
%{python_sitelib}/pyatspi/
|
|
|
|
%changelog
|