-rcc subpkg

drop creating/owning extra dirs (layout has changed since)
.spec cosmetics
epel8
Rex Dieter 8 years ago
parent 65663101df
commit ce183a4c41

@ -2,16 +2,16 @@
%global _changelog_trimtime %(date +%s -d "1 year ago") %global _changelog_trimtime %(date +%s -d "1 year ago")
## allow building with an older extra-cmake-modules ## allow building with an older extra-cmake-modules
%global kf5_version 5.27.0 %global kf5_version 5.29.0
Name: breeze-icon-theme Name: breeze-icon-theme
Summary: Breeze icon theme Summary: reeze icon theme
Version: 5.33.0 Version: 5.33.0
Release: 1%{?dist} Release: 1%{?dist}
# http://techbase.kde.org/Policies/Licensing_Policy # http://techbase.kde.org/Policies/Licensing_Policy
License: LGPLv3+ License: LGPLv3+
URL: https://api.kde.org/frameworks-api/frameworks-apidocs/frameworks/breeze-icons/html/ URL: https://api.kde.org/frameworks-api/frameworks-apidocs/frameworks/breeze-icons/html/
%global versiondir %(echo %{version} | cut -d. -f1-2) %global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
@ -20,7 +20,7 @@ URL: https://api.kde.org/frameworks-api/frameworks-apidocs/frameworks
%else %else
%global stable stable %global stable stable
%endif %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) ## upstream patches (lookaside cache)
@ -31,7 +31,6 @@ Patch100: fix-breeze-dark-inheritance.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: kde-filesystem
BuildRequires: kf5-rpm-macros BuildRequires: kf5-rpm-macros
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
@ -51,6 +50,15 @@ Obsoletes: breeze-icon-theme < 5.17.0
%description %description
%{summary}. %{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 %prep
%autosetup -n breeze-icons-%{version} -p1 %autosetup -n breeze-icons-%{version} -p1
@ -79,9 +87,6 @@ du -s .
/usr/sbin/hardlink -c -v %{buildroot}%{_datadir}/icons/ /usr/sbin/hardlink -c -v %{buildroot}%{_datadir}/icons/
du -s . 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 # %%ghost icon.cache
touch %{buildroot}%{_kf5_datadir}/icons/{breeze,breeze-dark}/icon-theme.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 %ghost %{_datadir}/icons/breeze-dark/icon-theme.cache
%{_datadir}/icons/breeze/ %{_datadir}/icons/breeze/
%{_datadir}/icons/breeze-dark/ %{_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 %changelog
* Tue Apr 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-2
- -rcc subpkg
- drop creating/owning extra dirs (layout has changed since)
- .spec cosmetics
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1 * Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1
- 5.33.0 - 5.33.0

Loading…
Cancel
Save