File kdebase4-wallpapers.spec of Package kdebase4-wallpapers

#
# spec file for package kdebase4-wallpapers
#
# Copyright (c) 2015 SUSE LINUX 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:           kdebase4-wallpapers
Version:        14.12.3
Release:        0
Summary:        KDE 4 Wallpapers
License:        LGPL-3.0+
Group:          System/GUI/KDE
Url:            http://www.kde.org/
Source0:        kde-wallpapers-%{version}.tar.xz
BuildRequires:  libkde4-devel
BuildRequires:  xz
Recommends:     kdebase4-wallpaper-default
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains the wallpapers of KDE 4.

%package -n kdebase4-wallpaper-default
Summary:        Default KDE 4 wallpaper
Group:          System/GUI/KDE

%description -n kdebase4-wallpaper-default
This package contains the default KDE wallpaper.



%prep
%setup -q -n kde-wallpapers-%{version}

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  make DESTDIR=%{buildroot} install
  %kde_post_install

%files
%defattr(-,root,root)
%doc LICENSE
%{_kde4_wallpapersdir}/
%exclude %{_kde4_wallpapersdir}/Elarun/

%files -n kdebase4-wallpaper-default
%defattr(-,root,root)
%doc LICENSE
%{_kde4_wallpapersdir}/Elarun/

%changelog