[adwaita-icon-theme] Add bootstrap toggle for initial boostrapping when gtk3 is not yet built
Kalev Lember
kalev at fedoraproject.org
Tue Oct 28 10:25:56 UTC 2014
commit 4995aecb35ca885c6fb7d75aa4f30100e454bb17
Author: Kalev Lember <kalevlember at gmail.com>
Date: Tue Oct 28 11:24:37 2014 +0100
Add bootstrap toggle for initial boostrapping when gtk3 is not yet built
adwaita-icon-theme.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/adwaita-icon-theme.spec b/adwaita-icon-theme.spec
index 8d3b2ae..8448ebf 100644
--- a/adwaita-icon-theme.spec
+++ b/adwaita-icon-theme.spec
@@ -1,6 +1,9 @@
+# Set boostrap to 1 for initial bootstrapping when gtk3 is not yet built
+%global bootstrap 0
+
Name: adwaita-icon-theme
Version: 3.14.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Adwaita icon theme
License: LGPLv3+ or CC-BY-SA
@@ -11,7 +14,9 @@ BuildArch: noarch
BuildRequires: intltool
BuildRequires: librsvg2
+%if ! 0%{bootstrap}
BuildRequires: /usr/bin/gtk-encode-symbolic-svg
+%endif
BuildRequires: /usr/bin/gtk-update-icon-cache
# Replace adwaita-cursor-theme subpackage from gnome-themes-standard
@@ -61,8 +66,10 @@ gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
%{_datadir}/icons/Adwaita/24x24/
%{_datadir}/icons/Adwaita/32x32/
%{_datadir}/icons/Adwaita/48x48/
+%if ! 0%{bootstrap}
%{_datadir}/icons/Adwaita/64x64/
%{_datadir}/icons/Adwaita/96x96/
+%endif
%{_datadir}/icons/Adwaita/256x256/
%{_datadir}/icons/Adwaita/cursors/
%{_datadir}/icons/Adwaita/scalable/
@@ -74,6 +81,9 @@ gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
%{_datadir}/pkgconfig/adwaita-icon-theme.pc
%changelog
+* Tue Oct 28 2014 Kalev Lember <kalevlember at gmail.com> - 3.14.0-2
+- Add bootstrap toggle for initial boostrapping when gtk3 is not yet built
+
* Tue Sep 23 2014 Kalev Lember <kalevlember at gmail.com> - 3.14.0-1
- Update to 3.14.0
More information about the scm-commits
mailing list