File materia-kde.spec of Package materia-kde
#
# spec file for package materia-kde
#
# Copyright (c) 2022 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: 20220607
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: https://github.com/PapirusDevelopmentTeam/materia-kde/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: kf5-filesystem
BuildRequires: make
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
%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
Recommends: yakuake
%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:
Materia wallpapers
%package sddm
Summary: Materia SDDM themes
Recommends: sddm
%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:
Materia SDDM themes
%prep
%autosetup -p1
# E: script-without-shebang
chmod -x plasma/desktoptheme/{Materia,Materia-Color}/widgets/switch.svg
# 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/
%{_kf5_plasmadir}/look-and-feel/com.github.varlesh.materia-dark/
%{_kf5_plasmadir}/look-and-feel/com.github.varlesh.materia-light/
%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
%{_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 wallpapers
%license LICENSE
%dir %{_datadir}/wallpapers
%{_datadir}/wallpapers/Materia/
%{_datadir}/wallpapers/Materia-Dark/
%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/
%changelog