A new user interface for you!

File uiaatkbridge.spec of Package uiaatkbridge

# spec file for package uiaatkbridge (Version 2.0.2)
# 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
# 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:           uiaatkbridge
Version:        2.0.2
Release:        1
License:        MIT
Group:          System/Libraries
Url:            http://www.mono-project.com/Accessibility
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       gtk-sharp2 >= 2.12.8
Requires:       mono-core >= 2.4
Requires:       mono-uia >= 2.0.2
Requires:       mono-winfxcore
BuildRequires:  fdupes
BuildRequires:  atk-devel >= 1.24
BuildRequires:  gtk2-devel >= 2.14
BuildRequires:  gtk-sharp2 >= 2.12.8
BuildRequires:  mono-devel >= 2.4
BuildRequires:  mono-uia >= 2.0.2
BuildRequires:  mono-uia-devel >= 2.0.2
BuildRequires:  mono-winfxcore

Summary:        Bridge between UIA providers and ATK

The bridge contains adapter Atk.Objects that wrap UIA providers.  Adapter
behavior is determined by provider ControlType and supported pattern interfaces.
The bridge implements interfaces from UIAutomationBridge which allow the UI
Automation core to send it automation events and provider information.

%setup -q

%configure --disable-tests --libdir=%{_prefix}/lib

make DESTDIR=%{buildroot} install

#file we don't care about
rm -f %{buildroot}%{_prefix}/lib/uiaatkbridge/libbridge-glue.a
rm -f %{buildroot}%{_prefix}/lib/uiaatkbridge/libbridge-glue.la

%fdupes %{buildroot}%{_prefix}

rm -rf %{buildroot}

%dir %{_prefix}/lib/uiaatkbridge

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig