|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
Name: breeze-icon-theme
|
|
|
|
|
Summary: Breeze icon theme
|
|
|
|
|
Version: 5.38.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
|
|
# http://techbase.kde.org/Policies/Licensing_Policy
|
|
|
|
|
License: LGPLv3+
|
|
|
|
@ -96,6 +96,35 @@ touch %{buildroot}%{_kf5_datadir}/icons/{breeze,breeze-dark}/icon-theme.cache
|
|
|
|
|
test "$(grep '^Inherits=' %{buildroot}%{_datadir}/icons/breeze-dark/index.theme)" = "Inherits=breeze"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 25
|
|
|
|
|
## trigger-based scriptlets
|
|
|
|
|
%filetriggerin -- %{_kf5_datadir}/icons/breeze
|
|
|
|
|
touch %{_kf5_datadir}/icons/breeze &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%filetriggerin -- %{_kf5_datadir}/icons/breeze-dark
|
|
|
|
|
touch %{_kf5_datadir}/icons/breeze-dark &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%transfiletriggerin -- %{_kf5_datadir}/icons/breeze
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breeze &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%transfiletriggerin -- %{_kf5_datadir}/icons/breeze-dark
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breeze-dark &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
# arg, looks like this case cannot be handled by triggers? -- rex
|
|
|
|
|
%postun
|
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/breeze &> /dev/null || :
|
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/breeze-dark &> /dev/null || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%transfiletriggerpostun -- %{_kf5_datadir}/icons/breeze
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breeze &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%transfiletriggerpostun -- %{_kf5_datadir}/icons/breeze-dark
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breeze-dark &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
## classic scriptlets
|
|
|
|
|
%post
|
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/breeze &> /dev/null || :
|
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/breeze-dark &> /dev/null || :
|
|
|
|
@ -111,6 +140,7 @@ if [ $1 -eq 0 ] ; then
|
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/breeze-dark &> /dev/null || :
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breze-dark &> /dev/null || :
|
|
|
|
|
fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING-ICONS
|
|
|
|
@ -128,6 +158,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Sep 27 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.38.0-2
|
|
|
|
|
- use scriptlet triggers (f26+)
|
|
|
|
|
|
|
|
|
|
* Sun Sep 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.38.0-1
|
|
|
|
|
- 5.38.0
|
|
|
|
|
|
|
|
|
|