Name: deepin-desktop-theme Version: 1.1.31 Release: 1%{?dist} Summary: DDE desktop visual themes License: CC-BY-4.0 AND CC0-1.0 URL: https://github.com/linuxdeepin/deepin-desktop-theme Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch %description Visual theme files for the Deepin Desktop Environment including icons, wallpapers, and theme definitions for bloom, vintage, flow, hazy-color, organic-glass, macaron, square, nirvana, and origin themes. %prep %autosetup -n %{name}-%{version} %build # Data-only package, nothing to compile %install mkdir -p %{buildroot}%{_datadir}/deepin-themes mkdir -p %{buildroot}%{_datadir}/dsg/icons mkdir -p %{buildroot}%{_datadir}/icons # Install themes from each theme subdirectory for theme in bloom vintage flow hazy-color organic-glass macaron square nirvana origin; do if [ -d "$theme/deepin-themes" ]; then cp -a "$theme/deepin-themes/"* %{buildroot}%{_datadir}/deepin-themes/ fi if [ -d "$theme/dsg-icons" ]; then cp -a "$theme/dsg-icons/"* %{buildroot}%{_datadir}/dsg/icons/ fi if [ -d "$theme/icons" ]; then cp -a "$theme/icons/"* %{buildroot}%{_datadir}/icons/ fi done # Install top-level DCI icons if [ -d "icons" ]; then install -m 0644 icons/*.dci %{buildroot}%{_datadir}/dsg/icons/ fi %files %license LICENSES/* %{_datadir}/deepin-themes/ %{_datadir}/dsg/ %{_datadir}/icons/ %changelog * Fri Jul 17 2026 Yonghang Wang - 1.1.31-1 - Initial package for al-stream-2023