File materia-kde.spec of Package materia-kde
#
# spec file for package materia-kde
#
# Copyright (c) 2019 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: materia-kde
Version: 0.0.git
Release: 0
Summary: Port of the popular GTK theme Materia for Plasma 5 desktop
License: GPL-3.0-only
URL: https://github.com/PapirusDevelopmentTeam/materia-kde
Source: _service
BuildRequires: make
BuildRequires: kf5-filesystem
BuildRequires: fdupes
BuildArch: noarch
Requires: materia-kde-decoration
Requires: (materia-kde-konsole if konsole)
Requires: (materia-kde-kvantum if kvantum-qt5)
Requires: (materia-kde-sddm if sddm)
Requires: materia-kde-style
Requires: materia-kde-wallpapers
Requires: (materia-kde-yakuake if yakuake)
%description
Materia KDE - This is a port of the popular GTK theme Materia for Plasma 5 desktop with a few additions and extras.
This meta package does not contain any files but will install all Materia-kde packages.
%package style
Summary: Materia Plasma and Color themes
%description style
Materia KDE - This is a port of the popular GTK theme Materia for Plasma 5 desktop with a few additions and extras.
This package contains:
Materia Plasma Desktop themes
Materia Dark color schemes
Materia Light color schemes
Plasma Look-and-Feel settings
%package sddm
Summary: Materia SDDM themes
%description sddm
Materia KDE - This is a port of the popular GTK theme Materia for Plasma 5 desktop with a few additions and extras.
This package contains:
SDDM themes
%package kvantum
Summary: Materia Kvantum themes
%description kvantum
Materia KDE - This is a port of the popular GTK theme Materia for Plasma 5 desktop with a few additions and extras.
This package contains:
Materia Kvantum theme
Materia Kvantum Light theme
Materia Kvantum Dark theme
%package decoration
Summary: Materia Aurorae themes
%description decoration
Materia KDE - This is a port of the popular GTK theme Materia for Plasma 5 desktop with a few additions and extras.
This package contains:
Materia Aurorae Dark and Light Window Decorations
%package konsole
Summary: Materia Konsole themes
Recommends: konsole
%description konsole
Materia KDE - This is a port of the popular GTK theme Materia for Plasma 5 desktop with a few additions and extras.
This package contains:
Materia Konsole theme
Materia Dark Konsole theme
%package yakuake
Summary: Materia Yakuake themes
%description yakuake
Materia KDE - This is a port of the popular GTK theme Materia for Plasma 5 desktop with a few additions and extras.
This package contains:
Materia Dark Yakuake skin
%package wallpapers
Summary: Materia wallpapers
%description wallpapers
Materia KDE - This is a port of the popular GTK theme Materia for Plasma 5 desktop with a few additions and extras.
This package contains:
wallpapers
%prep
%setup -q -n %_sourcedir/%name-%version -T -D
%__mkdir -p %_builddir/%_sourcedir
%__ln -rs %_sourcedir/%name-%version %_builddir/%_sourcedir
# Empty file used for the meta package
cat >> meta_package << EOF
This is a meta package, it does not contain any file
EOF
%build
%install
%make_install %{?_smp_mflags}
%fdupes %{buildroot}
%files
%doc meta_package
%files style
%license LICENSE
%doc README.md
%dir %{_kf5_plasmadir}/desktoptheme
%dir %{_kf5_plasmadir}/look-and-feel
%{_datadir}/color-schemes/
%{_kf5_plasmadir}/desktoptheme/Materia/
%{_kf5_plasmadir}/desktoptheme/Materia-Color/
%{_kf5_plasmadir}/look-and-feel/com.github.varlesh.materia-dark/
%{_kf5_plasmadir}/look-and-feel/com.github.varlesh.materia-light/
%{_kf5_plasmadir}/look-and-feel/com.github.varlesh.materia/
%files decoration
%license LICENSE
%dir %{_datadir}/aurorae
%dir %{_datadir}/aurorae/themes
%{_datadir}/aurorae/themes/Materia-Dark/
%{_datadir}/aurorae/themes/Materia-Light/
%{_datadir}/aurorae/themes/Materia/
%files konsole
%license LICENSE
%dir %{_datadir}/konsole/
%{_datadir}/konsole/
%files kvantum
%license LICENSE
%dir %{_datadir}/Kvantum
%{_datadir}/Kvantum/Materia/
%{_datadir}/Kvantum/MateriaDark/
%{_datadir}/Kvantum/MateriaLight/
%files yakuake
%license LICENSE
%dir %{_datadir}/yakuake
%dir %{_datadir}/yakuake/skins
%{_datadir}/yakuake/skins/materia-dark/
%{_datadir}/yakuake/skins/materia-light/
%files sddm
%license LICENSE
%dir %{_datadir}/sddm
%dir %{_datadir}/sddm/themes
%{_datadir}/sddm/themes/materia
%{_datadir}/sddm/themes/materia-light
%{_datadir}/sddm/themes/materia-dark
%files wallpapers
%_kf5_wallpapersdir/Materia
%_kf5_wallpapersdir/Materia-Dark
%changelog