File qtcurve-kde4.spec of Package qtcurve-kde4

#
# spec file for package qtcurve-kde4
#
# 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 http://bugs.opensuse.org/
#


Name:           qtcurve-kde4
Version:        1.8.14
Release:        0
Summary:        QtCurve style for KDE 4
License:        GPL-2.0+
Group:          System/GUI/KDE
Url:            http://www.kde-look.org/content/show.php?content=40492
Source0:        QtCurve-KDE4-%{version}.tar.bz2
BuildRequires:  kdebase4-workspace-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
This is the QtCurve style for KDE 4. QtCurve is available for both
Gtk2+ and Qt3.

%prep
%setup -q -n QtCurve-KDE4-%{version}

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  pushd build
  %make_install
  popd
  %find_lang qtcurve
  %kde_post_install

%post   -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f qtcurve.lang
%defattr(-,root,root)
%doc ChangeLog COPYING README TODO
%{_kde4_modulesdir}/kstyle_qtcurve_config.so
%{_kde4_modulesdir}/kwin_qtcurve_config.so
%{_kde4_modulesdir}/kwin3_qtcurve.so
%{_kde4_modulesdir}/plugins/styles
%{_kde4_appsdir}/QtCurve
%{_kde4_appsdir}/kstyle
%{_kde4_appsdir}/color-schemes/QtCurve.colors
%{_kde4_appsdir}/color-schemes/QtCurveAgua.colors
%{_kde4_appsdir}/kwin/qtcurve.desktop

%changelog
openSUSE Build Service is sponsored by