File mono-uia.spec of Package mono-uia

#
# spec file for package mono-uia (Version 1.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:           mono-uia
Version:        1.0
Release:        2
License:        MIT License
Group:          System/Libraries
Url:            http://www.mono-project.com/Accessibility
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       mono-core >= 2.4
BuildRequires:  mono-core >= 2.4 mono-devel >= 2.4 mono-nunit >= 2.4
Summary:        Implementations of members and interfaces based on MS UIA API

%description
User Interface Automation (UIA) is a new accessibility standard

%package devel
License:        MIT License
Summary:        mono-uia devel package
Group:          Development/Languages
Requires:       mono-uia == %{version}-%{release}

%description devel
Implementations of the members and interfaces based on MS UIA API

%package -n mono-winfxcore
License:        MIT License
Summary:        Parts of winfx
Group:          Development/Languages
Requires:       mono-core >= 2.4

%description -n mono-winfxcore
WinFx components required by User Interface Automation (UIA) for use with Mono

%prep
%setup -q

%build
%configure
#Break build with parrallel make
make

%install
make DESTDIR=%{buildroot} install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README COPYING NEWS
%{_prefix}/lib/mono/accessibility
%{_prefix}/lib/mono/gac/UIAutomationProvider
%{_prefix}/lib/mono/accessibility/UIAutomationProvider.dll
%{_prefix}/lib/mono/gac/UIAutomationTypes
%{_prefix}/lib/mono/accessibility/UIAutomationTypes.dll
%{_prefix}/lib/mono/gac/UIAutomationBridge
%{_prefix}/lib/mono/accessibility/UIAutomationBridge.dll
%{_prefix}/lib/mono/gac/UIAutomationClient
%{_prefix}/lib/mono/accessibility/UIAutomationClient.dll

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/*.pc

%files -n mono-winfxcore
%defattr(-, root, root)
%{_prefix}/lib/mono/gac/WindowsBase
%{_prefix}/lib/mono/2.0/WindowsBase.dll

%changelog
openSUSE Build Service is sponsored by