File plymouth-theme-breeze.spec of Package plymouth-theme-breeze
#
# spec file for package plymouth-theme-breeze
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 Markus S., kamikazow@opensuse.org
#
# 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/
#
%if 0%{?is_opensuse}
%define _distro_logo os
%define _distro_name openSUSE
%else
%define _distro_logo plasma
%endif
%if 0%{?suse_version} == 1315
%define _distro_version Leap
%endif
%if 0%{?suse_version} > 1320
%define _distro_version Tumbleweed
%endif
Name: plymouth-theme-breeze
Version: 5.8.7
Release: 0
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.8.0
BuildRequires: kf5-filesystem
BuildRequires: plymouth-devel
Summary: Plymouth "Breeze" theme
License: GPL-2.0+
Group: System/Base
Url: http://www.kde.org
Source: http://download.kde.org/stable/plasma/%{version}/breeze-plymouth-%{version}.tar.xz
Requires: %{name}-plugin-breeze = %{version}
Requires: plymouth-plugin-label-ft
Requires(post): plymouth-scripts
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the "breeze" boot splash theme for
Plymouth.
%package plugin-breeze
Summary: Plymouth "breeze" plugin
Group: System/Base
%description plugin-breeze
This package contains the "breeze" boot splash plugin for
Plymouth. It features an extensible, scriptable boot splash
language that simplifies the process of designing custom
boot splash themes.
%prep
%setup -q -n breeze-plymouth-%{version}
%build
%cmake_kf5 -d build -- -DDISTRO_NAME=%{_distro_name} -DDISTRO_VERSION=%{_distro_version} -DDISTRO_LOGO=%{_distro_logo}
%make_jobs
%install
%kf5_makeinstall -C build
%files
%defattr(-,root,root)
%doc COPYING*
%{_datadir}/plymouth/themes/breeze*/
%files plugin-breeze
%defattr(-,root,root)
%doc COPYING*
%{_libdir}/plymouth/breeze-text.so
%changelog