File ktux.spec of Package ktux
#
# spec file for package ktux
#
# 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: ktux
BuildRequires: kdebase4-workspace-devel
Summary: Tux Screen Saver
License: GPL-2.0+
Group: Amusements/Toys/Screensavers
Url: http://www.kde.org
Version: 15.04.3
Release: 0
Source0: %{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: kde4-ktux = 4.3.0
Obsoletes: kde4-ktux < 4.3.0
%kde4_runtime_requires
%description
This package contains a screen saver showing Tux in space.
%prep
%setup -q -n %{name}-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
cd ..
%kde_post_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_kde4_bindir}/ktux
%{_kde4_iconsdir}/hicolor/*/apps/ktux.*
%{_kde4_appsdir}/ktux
%{_kde4_servicesdir}/ScreenSavers/ktux.desktop
%changelog