## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global themes bloom bloom-dark bloom-classic bloom-classic-dark Sea Vintage %global start_logo start-here Name: deepin-icon-theme Version: 2021.11.24 Release: %autorelease Summary: Icons for the Deepin Desktop Environment License: GPLv3 URL: https://github.com/linuxdeepin/deepin-icon-theme Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: /usr/bin/python BuildRequires: make BuildRequires: gtk-update-icon-cache BuildRequires: xcursorgen BuildRequires: fedora-logos Requires: papirus-icon-theme Requires: fedora-logos %description %{summary}. %prep %autosetup -p1 %build %make_build %install make install DESTDIR=%{buildroot} cp -a ./Sea ./usr/share/icons/hicolor %{buildroot}%{_datadir}/icons for theme in %{themes}; do for dir in %{buildroot}%{_datadir}/icons/$theme/places/*; do size=$(basename $dir) if [ -f %{_datadir}/icons/hicolor/${size}x${size}/places/%{start_logo}.png ]; then ln -sf ../../../hicolor/${size}x${size}/places/%{start_logo}.png $dir elif [ -f %{_datadir}/icons/hicolor/${size}/places/%{start_logo}.svg ]; then ln -sf ../../../hicolor/${size}/places/%{start_logo}.svg $dir fi done touch %{buildroot}%{_datadir}/icons/$theme/icon-theme.cache done %post for theme in %{themes}; do touch --no-create %{_datadir}/icons/$theme &>/dev/null || : done %postun if [ $1 -eq 0 ] ; then for theme in %{themes}; do touch --no-create %{_datadir}/icons/$theme &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/$theme &>/dev/null || : done fi %posttrans for theme in %{themes}; do /usr/bin/gtk-update-icon-cache %{_datadir}/icons/$theme &>/dev/null || : done %files %license LICENSE %{_datadir}/icons/hicolor/*/status/*.svg %{_datadir}/icons/hicolor/*/apps/*.svg %{_datadir}/icons/bloom-dark/ %{_datadir}/icons/bloom/ %{_datadir}/icons/bloom-classic/ %{_datadir}/icons/bloom-classic-dark/ %{_datadir}/icons/Sea/ %{_datadir}/icons/Vintage/ %ghost %{_datadir}/icons/*/icon-theme.cache %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 2021.11.24-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2021.11.24-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2021.11.24-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 2021.11.24-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 2021.11.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Feb 18 2022 Robin Lee - 2021.11.24-1 - New release 2021.11.24 * Thu Jan 20 2022 Fedora Release Engineering - 2021.08.19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 06 2021 Robin Lee - 2021.08.19-2 - Fix make install target name * Mon Sep 06 2021 Robin Lee - 2021.08.19-1 - New release 2021.08.19 * Wed Jul 21 2021 Fedora Release Engineering - 2020.09.25-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2020.09.25-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 09 2020 Robin Lee - 2020.09.25-1 - new upstream release: 2020.09.25 * Thu Sep 24 2020 Robin Lee - 2020.09.24-1 - new upstream release: 2020.09.24 * Tue Jul 28 2020 Adam Jackson - 15.12.71-5 - BuildRequires xcursorgen not xorg-x11-apps * Mon Jul 27 2020 Fedora Release Engineering - 15.12.71-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Petr Viktorin - 15.12.71-3 - Require /usr/bin/python to remove dependency on Python 2 * Tue Jan 28 2020 Fedora Release Engineering - 15.12.71-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 05 2019 Robin Lee - 15.12.71-1 - Release 15.12.71 * Wed Jul 24 2019 Fedora Release Engineering - 15.12.68-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 3 2019 Robin Lee - 15.12.68-2 - Requires papirus-icon-theme - Ghost owning cache files - Create cache for deepin-dark theme * Thu Jan 31 2019 mosquito - 15.12.68-1 - Update to 15.12.68 * Thu Jan 31 2019 Fedora Release Engineering - 15.12.67-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Dec 12 2018 mosquito - 15.12.67-1 - Update to 15.12.67 * Fri Nov 30 2018 mosquito - 15.12.65-1 - Update to 15.12.65 * Fri Nov 9 2018 mosquito - 15.12.64-1 - Update to 15.12.64 * Fri Aug 10 2018 mosquito - 15.12.59-1 - Update to 15.12.59 * Fri Jul 20 2018 mosquito - 15.12.58-1 - Update to 15.12.58 * Thu Jul 12 2018 Fedora Release Engineering - 15.12.52-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Mar 15 2018 Iryna Shcherbina - 15.12.52-3 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Wed Feb 07 2018 Fedora Release Engineering - 15.12.52-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Dec 2 2017 mosquito - 15.12.52-1 - Update to 15.12.52 * Fri Oct 27 2017 mosquito - 15.12.49-1 - Update to 15.12.49 * Fri Jul 14 2017 mosquito - 15.12.46-1 - Update to 15.12.46 * Fri May 19 2017 mosquito - 15.12.42-1.git59ca728 - Update to 15.12.42 * Tue Mar 7 2017 mosquito - 15.12.33-1.git2f50a33 - Update to 15.12.33 * Tue Jan 17 2017 mosquito - 15.12.32-1.git69bcc88 - Update to 15.12.32 * Sun Sep 18 2016 Jaroslav Stepanek - Initial package build ## END: Generated by rpmautospec