File qtcurve-kde4.spec of Package qtcurve-kde4

#
# spec file for package qtcurve-kde4 (Version 0.67.6)
#
# 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:           qtcurve-kde4
BuildRequires:  libkde4-devel
Url:            http://www.kde-look.org/content/show.php?content=40492
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        QtCurve style for KDE 4
Version:        0.67.6
Release:        2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        QtCurve-KDE4-%{version}.tar.bz2
Patch:          fix-build-kde42.diff

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



Authors:
--------
    Craig Drummond <Craig.Drummond@lycos.co.uk>

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

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  pushd build
  %makeinstall
  popd
  %find_lang qtcurve

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f qtcurve.lang
%defattr(-,root,root)
%doc ChangeLog COPYING README TODO
/usr/%_lib/kde4/kstyle_qtcurve_config.so
/usr/%_lib/kde4/plugins/styles
%_kde_share_dir/apps/QtCurve
%_kde_share_dir/apps/kstyle
%_kde_share_dir/apps/color-schemes/QtCurve.colors

%changelog
openSUSE Build Service is sponsored by