Name: elementary-xfce Summary: Elementary icons forked from upstream, extended and maintained for Xfce Version: 0.13.1 Release: %mkrel 3 # svgtopng.c is LGPLv2+ License: GPLv2 and LGPLv2+ Group: Graphical desktop/Xfce Url: https://github.com/shimmerproject/elementary-xfce Source0: https://github.com/shimmerproject/elementary-xfce/archive/v%{version}/%{name}-%{version}.tar.gz # From upstream Patch1: 0001-More-vacuuming.patch Patch2: 0002-Update-bluetooth-icon-from-upstream.patch Patch3: 0003-Reorganize-Authors-License-and-Contributors-files-13.patch Patch4: 0004-No-longer-inherit-from-the-gnome-icon-theme.patch Patch5: 0005-Add-yast-specific-package-icons.patch Patch6: 0006-Add-symlinks-for-media-flash-sd.patch Patch7: 0007-Avoid-race-condition-when-using-parallelization.patch Patch8: 0008-Respect-the-CC-variable-if-defined.patch Patch9: 0009-Ensure-we-re-inheriting-Adwaita-Fixes-139.patch Patch10: 0010-added-blueberry-tray-icons.patch BuildArch: noarch BuildRequires: optipng BuildRequires: symlinks BuildRequires: librsvg2 BuildRequires: pkgconfig(gtk+-3.0) %description An icon-theme maintained with Xfce in mind, but it should work on other desktops like Gnome3 as well. It is a fork of the upstream elementary project (http://elementary.io). The reason for forking was that the project decided to focus on its own desktop environment and dropped a ton of (ugly, but necessary) symlinks. This icon-theme is supposed to keep everything working, but gets updates from upstream occasionally. %package icon-theme Summary: Elementary icons forked from upstream, extended and maintained for Xfce Provides: %{name} = %{version}-%{release} # for gtk-update-icon-cache Requires(post): gtk-update-icon-cache %description icon-theme An icon-theme maintained with Xfce in mind, but it should work on other desktops like Gnome3 as well. It is a fork of the upstream elementary project (http://elementary.io). The reason for forking was that the project decided to focus on its own desktop environment and dropped a ton of (ugly, but necessary) symlinks. This icon-theme is supposed to keep everything working, but gets updates from upstream occasionally. %prep %setup -q %autopatch -p1 # fix docs rm -rf elementary-xfce*/AUTHORS rm -rf elementary-xfce*/CONTRIBUTORS rm -rf elementary-xfce*/README.md # use drakconf icon inherited from hicolor theme (drakconf-icons pkg) find elementary* -name "drakconf*" -delete %build # no traditional configure script ./configure --prefix=%{_prefix} # no parallel build %__make %install %make_install # drop danling symlinks symlinks -rd %{buildroot} %post icon-theme if [ -x %{_bindir}/gtk-update-icon-cache ]; then for d in %{_iconsdir}/elementary-xfce*; do %{_bindir}/gtk-update-icon-cache --force --quiet $d done fi %files icon-theme %doc AUTHORS CONTRIBUTORS README.md %license LICENSE %dir %{_iconsdir}/elementary-xfce/ %{_iconsdir}/elementary-xfce/*/ %{_iconsdir}/elementary-xfce/index.theme %ghost %{_iconsdir}/elementary-xfce/icon-theme.cache %dir %{_iconsdir}/elementary-xfce-dark/ %{_iconsdir}/elementary-xfce-dark/*/ %{_iconsdir}/elementary-xfce-dark/index.theme %ghost %{_iconsdir}/elementary-xfce-dark/icon-theme.cache %dir %{_iconsdir}/elementary-xfce-darker/ %{_iconsdir}/elementary-xfce-darker/*/ %{_iconsdir}/elementary-xfce-darker/index.theme %ghost %{_iconsdir}/elementary-xfce-darker/icon-theme.cache %dir %{_iconsdir}/elementary-xfce-darkest/ %{_iconsdir}/elementary-xfce-darkest/actions %{_iconsdir}/elementary-xfce-darkest/index.theme %ghost %{_iconsdir}/elementary-xfce-darkest/icon-theme.cache %changelog * Sun Mar 10 2019 wally <wally> 0.13.1-3.mga7 + Revision: 1373717 - update post requires for icon cache update * Tue Mar 05 2019 wally <wally> 0.13.1-2.mga7 + Revision: 1371678 - don't use upstream provided custom drakconf icon (mga#24461) * Sun Feb 10 2019 wally <wally> 0.13.1-1.mga7 + Revision: 1364974 - imported package elementary-xfce