Add Pocillo GTK Theme for review

This commit is contained in:
Joshua Strobl 2025-05-29 18:27:06 +03:00
parent b9a7cb7f1c
commit 226dc692da
2 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,75 @@
%global _description %{expand:
Pocillo is a Material Design theme for the Budgie Desktop.}
Name: pocillo-gtk-theme
Version: 0.11
Release: 1%{?dist}
Summary: Pocillo is a Material Design theme for the Budgie Desktop
BuildArch: noarch
License: GPL-2.0-or-later
URL: https://github.com/UbuntuBudgie/pocillo-gtk-theme
Source0: %{url}/releases/download/v%{version}/pocillo-precompiled.tar.gz
Requires: gtk3
Requires: gtk4
%description %{_description}
%package -n pocillo-gtk2-theme
Summary: GTK+2 support for the Pocillo GTK theme
Requires: gtk-murrine-engine
Recommends: pocillo-gtk-theme
%description -n pocillo-gtk2-theme %{_description}
This package contains GTK+2 theme.
%package -n pocillo-plank-theme
Summary: Plank support for the Pocillo GTK theme
Requires: plank
Recommends: pocillo-gtk-theme
%description -n pocillo-plank-theme %{_description}
Plank support for the Pocillo GTK theme.
%prep
tar -xf %{SOURCE0} -C %{_builddir}
mv Pocillo/COPYING %{_builddir}/
rm -rf Pocillo-*/COPYING
rm -rf **/INSTALL_GDM_THEME.md
%build
%install
mkdir -p %{buildroot}%{_datadir}/themes/
cp -R %{_builddir}/Pocillo* %{buildroot}%{_datadir}/themes/
%files
%license COPYING
%dir %{_datadir}/themes/Pocillo*/chrome
%dir %{_datadir}/themes/Pocillo*/gtk-3.0
%dir %{_datadir}/themes/Pocillo*/gtk-4.0
%dir %{_datadir}/themes/Pocillo*/openbox-3
%{_datadir}/themes/Pocillo*/chrome/*
%{_datadir}/themes/Pocillo*/gtk-3.0/*
%{_datadir}/themes/Pocillo*/gtk-4.0/*
%{_datadir}/themes/Pocillo*/openbox-3/*
%{_datadir}/themes/Pocillo*/index.theme
%files -n pocillo-gtk2-theme
%license COPYING
%dir %{_datadir}/themes/Pocillo*/gtk-2.0
%{_datadir}/themes/Pocillo*/gtk-2.0/*
%files -n pocillo-plank-theme
%license COPYING
%dir %{_datadir}/themes/Pocillo*/plank
%{_datadir}/themes/Pocillo*/plank/*
%changelog
* Thu May 29 2025 Joshua Strobl <me@joshuastrobl.com> - 0.11-1
- Initial packaging of Pocillo