File mono-qt4.spec of Package mono-qt4

# spec file for package mono-qt4
# Copyright (c) 2012 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

Name:           mono-qt4
Version:        4.8.4
Release:        0
Summary:        Mono Qt4 kdebindings library
License:        GPL-2.0+
Group:          Development/Languages/Mono
Source0:        qyoto-%{version}.tar.xz
Patch1:         qyoto-remove-examples.patch
BuildRequires:  cmake
BuildRequires:  kde4-filesystem
BuildRequires:  libQtWebKit-devel
BuildRequires:  libmono-2_0-devel
BuildRequires:  libqimageblitz-devel
BuildRequires:  libqscintilla-devel
BuildRequires:  libsmokegen-devel
BuildRequires:  libsmokeqt-devel
BuildRequires:  mono
BuildRequires:  mono-devel
BuildRequires:  phonon-devel
BuildRequires:  qwt-devel
BuildRequires:  sqlite-devel
BuildRequires:  xz
Requires:       libqyoto2 = %{version}
Provides:       mono-qt = 4.7.0
Obsoletes:      mono-qt < 4.7.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

.NET/Mono bindings for the Qt4 libraries from the kdebindings Qyoto project.

%setup -q -n qyoto-%{version}
%patch1 -p1

%cmake_kde4 -d build

cd build

%package -n libqyoto2
Summary:        Mono bindings for Qt4 libraries
Group:          Development/Languages/Mono

%description -n libqyoto2
Shared library for the .NET/Mono bindings for the Qt4 libraries.

%package devel
Summary:        Development libraries for Mono-Qt4
Group:          Development/Languages/Mono
Requires:       %{name} = %{version}

%description devel
This package contains development files for the .NET/Mono bindings for the Qt4 libraries.

%post -n libqyoto2 -p /sbin/ldconfig

%postun -n libqyoto2 -p /sbin/ldconfig

%files -n libqyoto2

%dir %{_prefix}/lib/mono
%exclude %{_datadir}/qyoto/cmake

%files devel

openSUSE Build Service is sponsored by