From ce183a4c41f8539f503ab3d9ed7791a632df0088 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 25 Apr 2017 09:53:38 -0500 Subject: [PATCH] -rcc subpkg drop creating/owning extra dirs (layout has changed since) .spec cosmetics --- breeze-icon-theme.spec | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/breeze-icon-theme.spec b/breeze-icon-theme.spec index 132ce14..927022a 100644 --- a/breeze-icon-theme.spec +++ b/breeze-icon-theme.spec @@ -2,16 +2,16 @@ %global _changelog_trimtime %(date +%s -d "1 year ago") ## allow building with an older extra-cmake-modules -%global kf5_version 5.27.0 +%global kf5_version 5.29.0 -Name: breeze-icon-theme -Summary: Breeze icon theme +Name: breeze-icon-theme +Summary: reeze icon theme Version: 5.33.0 Release: 1%{?dist} # http://techbase.kde.org/Policies/Licensing_Policy -License: LGPLv3+ -URL: https://api.kde.org/frameworks-api/frameworks-apidocs/frameworks/breeze-icons/html/ +License: LGPLv3+ +URL: https://api.kde.org/frameworks-api/frameworks-apidocs/frameworks/breeze-icons/html/ %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -20,7 +20,7 @@ URL: https://api.kde.org/frameworks-api/frameworks-apidocs/frameworks %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/breeze-icons-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/breeze-icons-%{version}.tar.xz ## upstream patches (lookaside cache) @@ -31,7 +31,6 @@ Patch100: fix-breeze-dark-inheritance.patch BuildArch: noarch BuildRequires: extra-cmake-modules -BuildRequires: kde-filesystem BuildRequires: kf5-rpm-macros BuildRequires: qt5-qtbase-devel @@ -51,6 +50,15 @@ Obsoletes: breeze-icon-theme < 5.17.0 %description %{summary}. +%package rcc +Summary: breeze Qt resource files +# when split out +#Conflicts: breeze-icon-theme < 5.33.0-2 +Requires: %{name} = %{version}-%{release} +%description rcc +%{summary}. + + %prep %autosetup -n breeze-icons-%{version} -p1 @@ -79,9 +87,6 @@ du -s . /usr/sbin/hardlink -c -v %{buildroot}%{_datadir}/icons/ du -s . -# create/own all potential dirs -mkdir -p %{buildroot}%{_kf5_datadir}/icons/{breeze,breeze-dark}/{16x16,22x22,24x24,32x32,36x36,48x48,64x64,96x96,128x128,512x512,scalable}/{actions,apps,devices,mimetypes,places} - # %%ghost icon.cache touch %{buildroot}%{_kf5_datadir}/icons/{breeze,breeze-dark}/icon-theme.cache @@ -114,9 +119,20 @@ fi %ghost %{_datadir}/icons/breeze-dark/icon-theme.cache %{_datadir}/icons/breeze/ %{_datadir}/icons/breeze-dark/ +%exclude %{_datadir}/icons/breeze/breeze-icons.rcc +%exclude %{_datadir}/icons/breeze-dark/breeze-icons-dark.rcc + +%files rcc +%{_datadir}/icons/breeze/breeze-icons.rcc +%{_datadir}/icons/breeze-dark/breeze-icons-dark.rcc %changelog +* Tue Apr 25 2017 Rex Dieter - 5.33.0-2 +- -rcc subpkg +- drop creating/owning extra dirs (layout has changed since) +- .spec cosmetics + * Mon Apr 03 2017 Rex Dieter - 5.33.0-1 - 5.33.0