Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Minor changes. Sync with upstream openSUSE
Browse files Browse the repository at this point in the history
svn path=/trunk/uia2atk/; revision=155967
  • Loading branch information
decriptor committed Apr 22, 2010
1 parent c075c45 commit 386bbd6
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 13 deletions.
2 changes: 2 additions & 0 deletions build/specs/at-spi/at-spi2-atk.spec
Expand Up @@ -105,4 +105,6 @@ rm -rf %{buildroot}
%{_sysconfdir}/xdg/autostart/atk-bridge.desktop
%endif

%files lang -f %{name}.lang

%changelog
9 changes: 5 additions & 4 deletions build/specs/at-spi/at-spi2-core.spec
@@ -1,7 +1,7 @@
#
# spec file for package at-spi2-core (Version 0.1.6)
# spec file for package at-spi2-core (Version 0.1.8)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 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
Expand All @@ -18,8 +18,9 @@


Name: at-spi2-core
Version: 0.1.7
Release: 122
Version: 0.1.8
Release: 1
# FIXME: check that tarballs > 0.1.6 ship bus/ directory, and if they do, reapply patch0 and call to suse_update_desktop_file
Summary: Assistive Technology Service Provider Interface - D-Bus based implementation
License: GPLv2+
Group: System/Libraries
Expand Down
30 changes: 21 additions & 9 deletions build/specs/at-spi/python-atspi.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-atspi (Version 0.1.3)
# spec file for package python-atspi (Version 0.1.8)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 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
Expand All @@ -15,14 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define IS_DEFAULT_ATSPI_STACK 1

Name: python-atspi
%define _name pyatspi
Version: 0.1.6
Release: 51
Version: 0.1.8
Release: 1
Summary: Assistive Technology Service Provider Interface - Python bindings
License: LGPL v2.0
License: LGPLv2.0
Group: Development/Libraries/Python
Url: http://www.gnome.org/
Source0: %{_name}-%{version}.tar.bz2
Expand All @@ -36,9 +36,11 @@ Requires: python-gtk
Recommends: at-spi2-core
# Old versions of at-spi 1.x provided the same files
Conflicts: at-spi < 1.29.3
# Virtual package, so that it's possible to use either python-atspi or
# python-atspi-corba
%if %IS_DEFAULT_ATSPI_STACK
# 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
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 1110
BuildArch: noarch
Expand All @@ -58,7 +60,13 @@ This package contains the python bindings for AT-SPI.
%setup -q -n %{_name}-%{version}

%build
%configure --disable-relocate
# We pass --enable-relocate when we want another at-spi stack (like at-spi) by default.
%configure \
%if %IS_DEFAULT_ATSPI_STACK
--disable-relocate
%else
--enable-relocate
%endif
%__make %{?jobs:-j%jobs}

%install
Expand All @@ -71,6 +79,10 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%if %IS_DEFAULT_ATSPI_STACK
%{python_sitelib}/pyatspi/
%else
%{python_sitelib}/pyatspi_dbus/
%endif

%changelog

0 comments on commit 386bbd6

Please sign in to comment.