File yast2-qt-pkg.spec of Package yast2-qt-pkg

# spec file for package yast2-qt-pkg
# Copyright (c) 2011 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:           yast2-qt-pkg
Version:        2.20.3
Release:        1

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        yast2-qt-pkg-2.20.3.tar.bz2
Group:          System/YaST
License:        GPLv2+
BuildRequires:  docbook-xsl-stylesheets doxygen libdrm-devel libjpeg-devel libxcrypt-devel
BuildRequires:  libqt4-devel libxslt perl-XML-Writer sgml-skel update-desktop-files

Summary:        YaST2 - Graphical User Interface
BuildRequires:  yast2-devtools >= 2.16.3
Requires:       yast2-qt       >= 2.20.0
%requires_ge    libqt4
BuildRequires:  yast2-qt-devel >= 2.20.0
BuildRequires:  libzypp-devel >= 7.4.0
BuildRequires:  yast2-libyui-devel >= 2.20.0
Requires:       libzypp >= 7.4.0
Requires:       yast2-libyui       >= 2.20.0
Requires:       yast2_theme >= 2.16.1
Provides:       yast2-qt:/usr/lib/YaST2/plugin/
Provides:       yast2_ui_pkg
Recommends:     libqdialogsolver1

One of several user interfaces available for YaST2, based on Qt and the
X Window System.


mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
      -DLIB=%{_lib} \
      -DCMAKE_BUILD_TYPE=Release \
make %{?jobs:-j %jobs} VERBOSE=1

cd build
cd ..

rm -rf "$RPM_BUILD_ROOT"

%defattr (-, root, root)

%dir %_prefix/share/YaST2/images