2009-08-17 13:37:05 +00:00
#
2010-03-05 10:49:33 +00:00
# spec file for package at-spi2-core (Version 0.1.6)
2009-08-17 13:37:05 +00:00
#
2010-01-18 16:44:37 +00:00
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
2009-08-17 13:37:05 +00:00
#
# 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 : at-spi2-core
2010-03-05 10:49:33 +00:00
Version : 0.1.6
2009-08-17 13:37:05 +00:00
Release : 1
2010-02-13 10:05:31 +00:00
# FIXME: check that tarballs > 0.1.6 ship bus/ directory, and if they do, reapply patch0 and call to suse_update_desktop_file
2009-08-17 13:37:05 +00:00
Summary : Assistive Technology Service Provider Interface - D-Bus based implementation
2009-12-08 08:41:21 +00:00
License : GPLv2+
2009-08-17 13:37:05 +00:00
Group : System/Libraries
Url : http://www.gnome.org/
Source0 : %{name} -%{version} .tar.bz2
2009-12-08 08:41:21 +00:00
Source99 : %{name} -rpmlintrc
2009-12-29 18:02:38 +00:00
# PATCH-FIX-UPSTREAM at-spi2-core-dbus-path.patch vuntz@opensuse.org -- Use the right path for a dbus helper. This will be fixed upstream in a more generic way
Patch0 : at-spi2-core-dbus-path.patch
2009-08-17 13:37:05 +00:00
BuildRequires : dbus-1-glib-devel
2010-01-18 16:44:37 +00:00
BuildRequires : glib2-devel
BuildRequires : xorg-x11-devel
2009-08-17 13:37:05 +00:00
BuildRequires : update-desktop-files
# dbus-daemon is needed to have this work fine
Requires : dbus-1
2009-12-08 08:41:21 +00:00
# The libraries that were shipped with at-spi2-core were removed, and so
# there's no devel package anymore
Obsoletes : %{name} -devel <= 0.1.1
2009-08-17 13:37:05 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%description
2009-12-08 08:41:21 +00:00
AT-SPI is a general interface for applications to make use of the
2009-08-17 13:37:05 +00:00
accessibility toolkit. This version is based on dbus.
2009-12-08 08:41:21 +00:00
This package contains the AT-SPI registry daemon. It provides a
mechanism for all assistive technologies to discover and interact
with applications running on the desktop.
2009-08-17 13:37:05 +00:00
%prep
%setup -q
2010-02-13 10:05:31 +00:00
# Reapply when bus/ is shipped again in the tarball
#%patch0 -p1
2009-08-17 13:37:05 +00:00
%build
%configure \
2009-12-08 08:41:21 +00:00
--libexecdir=%{_libexecdir} /at-spi2 \
2009-12-29 18:02:38 +00:00
--with-dbus-daemondir=/bin \
2009-08-17 13:37:05 +00:00
--disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
2010-02-13 10:05:31 +00:00
#suse_update_desktop_file at-spi-dbus-bus
2009-08-17 13:37:05 +00:00
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-,root,root)
2009-12-08 08:41:21 +00:00
%doc AUTHORS COPYING README
2010-02-13 10:05:31 +00:00
#Commented out files are files used with the bus, they should come back later
#%{_bindir}/at-spi-dbus-bus
2009-12-08 08:41:21 +00:00
%{_libexecdir} /at-spi2/
2010-02-13 10:05:31 +00:00
#%{_sysconfdir}/at-spi2/
#%{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop
2010-03-05 10:49:33 +00:00
%{_datadir} /at-spi2/
%{_datadir} /dbus-1/services/org.freedesktop.atspi.Registry.service
2009-08-17 13:37:05 +00:00
%changelog