File qtcurve-gtk2.spec of Package qtcurve-gtk2
#
# spec file for package qtcurve-gtk2
#
# 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 http://bugs.opensuse.org/
#
Name: qtcurve-gtk2
Version: 1.8.12
Release: 1
License: GPLv2+
Summary: QtCurve style for GTK+ 2
Url: http://www.kde-look.org/content/show.php?content=40492
Group: System/GUI/GNOME
Source0: http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-%{version}.tar.bz2
Source99: baselibs.conf
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
BuildRequires: kdelibs3
BuildRequires: kdelibs4-core
Requires: gtk2
Suggests: qtcurve-kde4
Supplements: packageand(qtcurve-kde4:gtk2)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the QtCurve engine for GTK+ 2. QtCurve is a set
of widget styles available for Qt and GTK+.
%prep
%setup -q -n QtCurve-Gtk2-%{version}
%build
mkdir build
cd build
cmake ..
%__make %{?jobs:-j %jobs}
%install
cd build
%makeinstall
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc ChangeLog COPYING README TODO
%{_libdir}/gtk-2.0/*/engines/libqtcurve.*
%{_datadir}/themes/QtCurve/
%changelog