File kde4-splashscreen-caledonia.spec of Package kde4-splashscreen-caledonia

#
# spec file for package kde4-splashscreen-caledonia
#
# 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/
#


%define tarname      Caledonia-KSplash
%define kdeLookID    143576
Name:           kde4-splashscreen-caledonia
Version:        1.0
Release:        0
Summary:        Caledonia KDE Splash Screen
License:        CC-BY-SA-3.0
Group:          System/GUI/KDE
Source0:        %{kdeLookID}-%{tarname}.tar.gz
Url:            http://www.kde-look.org/content/show.php?content=%{kdeLookID}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Simple and lightweight splash screen for KDE. Official part of Caledonia Theme.

%prep
%setup -q -n %{tarname}

%build

%install
mkdir -p %{buildroot}%{_datadir}/kde4/apps/ksplash/Themes
cp -R $RPM_BUILD_DIR/%{tarname} %{buildroot}%{_datadir}/kde4/apps/ksplash/Themes

%files
%defattr(-,root,root)
%dir %{_datadir}/kde4
%dir %{_datadir}/kde4/apps
%dir %{_datadir}/kde4/apps/ksplash
%dir %{_datadir}/kde4/apps/ksplash/Themes
%{_datadir}/kde4/apps/ksplash/Themes/Caledonia-KSplash

%changelog