# # Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust # This package is part of the KDE Stack. # Name: oxygen-icons5 Summary: Oxygen icon theme Group: Graphical desktop/KDE Version: 5.42.0 Release: %mkrel 4 Epoch: 2 License: LGPLv3 URL: http://www.kde.org Source0: http://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: kf5-macros BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Test) BuildRequires: hardlink BuildRequires: symlinks BuildArch: noarch Obsoletes: oxygen-icon-theme < 1:15.04.4 Provides: oxygen-icon-theme = %epoch:%version-%release Conflicts: kdepim4-core < 2:4.15.0 Conflicts: kdebase4-workspace < 2:4.11.21 %description Oxygen Plasma 5 icon theme. Compliant with FreeDesktop.org naming schema. %files %doc AUTHORS CONTRIBUTING %_kf5_iconsdir/oxygen # This is needed as hicolor is the fallback for icons %_iconsdir/hicolor/*/apps/* #----------------------------------------------------------------------------- %prep %setup -q %build %cmake_kf5 %install %make_install -C build # We copy some missing icons from oxygen to hicolor for size in 16 32 48 64 128; do mkdir -p %buildroot/%_datadir/icons/hicolor/${size}x${size}/apps pushd %buildroot%_kf5_iconsdir/oxygen/base/${size}x${size}/apps %__cp krdc.png akonadi.png semn.png plasmagik.png ktip.png kthesaurus.png \ ksniffer.png korgac.png knewsticker.png klipper.png kjournal.png kivio.png \ %buildroot/%_datadir/icons/hicolor/${size}x${size}/apps popd done # Add some symlinks to fix some missing icons in XFCE desktop # as oxygen is default icon theme for it for size in 16 22 32 48 64 128 256; do pushd %buildroot%_iconsdir/oxygen/base/${size}x${size}/apps/ ln -s internet-web-browser.png web-browser.png popd done #no 256x256 icon for this for size in 16 22 32 48 64 128; do pushd %buildroot%_iconsdir/oxygen/base/${size}x${size}/apps/ ln -s system-file-manager.png file-manager.png popd done # no 256x256 icons for these for size in 16 22 32 48 64 128; do pushd %buildroot%_datadir/icons/oxygen/base/${size}x${size}/actions/ ln -s edit-find.png gtk-find.png popd done for size in 16 22 32 48 64 128 256; do pushd %buildroot%_datadir/icons/oxygen/base/${size}x${size}/places/ ln -s folder-txt.png folder-templates.png popd done # remove possible dangling symlinks symlinks -rd %{buildroot}%{_kf5_iconsdir} # As of 4.5.80, hardlink reports #Linked 854 #saved 8265728 /usr/sbin/hardlink -c -v %{buildroot}%{_kf5_iconsdir} # automatic gtk icon cache update on rpm installs/removals %transfiletriggerin -- /usr/share/icons/oxygen/ if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/oxygen fi %changelog * Wed Jan 17 2018 neoclust <neoclust> 2:5.42.0-4.mga6 + Revision: 1194173 - New version 5.42 * Mon Mar 06 2017 neoclust <neoclust> 2:5.32.0-4.mga6 + Revision: 1089003 - New version 5.32.0 * Tue Dec 13 2016 neoclust <neoclust> 2:5.29.0-4.mga6 + Revision: 1074575 - New version 5.29.0 * Sun Dec 04 2016 neoclust <neoclust> 2:5.28.0-4.mga6 + Revision: 1072239 - New version 5.28.0 * Tue Oct 04 2016 neoclust <neoclust> 2:5.27.0-4.mga6 + Revision: 1058394 - New version 5.27.0 * Thu Sep 08 2016 neoclust <neoclust> 2:5.26.0-4.mga6 + Revision: 1050571 - New version 5.26.0 * Tue Aug 09 2016 neoclust <neoclust> 2:5.25.0-4.mga6 + Revision: 1045149 - New version 5.25.0 * Tue Jul 12 2016 neoclust <neoclust> 2:5.24.0-4.mga6 + Revision: 1041375 - New version 5.24.0 * Fri Jun 17 2016 neoclust <neoclust> 2:5.23.0-4.mga6 + Revision: 1021969 - New version 5.23.0 * Mon May 16 2016 akien <akien> 2:5.22.0-4.mga6 + Revision: 1016146 - Readd kdebase4-workspace conflicts against fixed version (previous version conflicted with mga6 kde-workspace) * Mon May 16 2016 daviddavid <daviddavid> 2:5.22.0-3.mga6 + Revision: 1016122 - try fixing dependencies issue removing the conflict on kdebase4-workspace * Fri May 13 2016 neoclust <neoclust> 2:5.22.0-2.mga6 + Revision: 1014583 - Increase Epoch to allow upgrades * Thu May 12 2016 neoclust <neoclust> 1:5.22.0-1.mga6 + Revision: 1014379 - New version 5.22.0 * Sat Apr 23 2016 akien <akien> 1:5.21.0-1.mga6 + Revision: 1005670 - Remove symlinking for gtk-execute.png, now provided by upstream - Add conflicts on kdebase4-workspace, fixing upgrade path + neoclust <neoclust> - New version 5.21.0 * Tue Mar 29 2016 neoclust <neoclust> 1:5.20.0-7.mga6 + Revision: 996419 - Add conflicts agaisnt kdepim4-core to ease upgrade * Sun Mar 06 2016 neoclust <neoclust> 1:5.20.0-6.mga6 + Revision: 986362 - New version 5.20.0 * Mon Feb 08 2016 neoclust <neoclust> 1:5.19.0-6.mga6 + Revision: 944015 - New version 5.19.0 * Sun Jan 10 2016 neoclust <neoclust> 1:5.18.0-6.mga6 + Revision: 921315 - New version 5.18.0 * Mon Dec 21 2015 neoclust <neoclust> 1:5.17.0-6.mga6 + Revision: 912964 - Rebuild against Qt 5.6.0 Beta * Sun Dec 13 2015 neoclust <neoclust> 1:5.17.0-5.mga6 + Revision: 910020 - New version 5.17.0 * Thu Nov 12 2015 neoclust <neoclust> 1:5.16.0-5.mga6 + Revision: 902809 - Fix use of kf5 rpm macros * Thu Nov 12 2015 neoclust <neoclust> 1:5.16.0-4.mga6 + Revision: 902805 - Obsolete oxygen-icon-theme * Tue Nov 10 2015 neoclust <neoclust> 1:5.16.0-3.mga6 + Revision: 900637 - Rebuild against fixed qtbase5 * Mon Nov 09 2015 neoclust <neoclust> 1:5.16.0-2.mga6 + Revision: 899360 - Rebuild against fixed extra-cmake-modules * Mon Nov 09 2015 neoclust <neoclust> 1:5.16.0-1.mga6 + Revision: 899299 - imported package oxygen-icons5