[empathy/f19] Save some space

Matthias Clasen mclasen at fedoraproject.org
Wed May 15 01:18:04 UTC 2013


commit 461530f2f2e2e7ed997c297631383617f3a96ba8
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Tue May 14 21:18:45 2013 -0400

    Save some space

 empathy.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/empathy.spec b/empathy.spec
index 8e0e445..305b91e 100644
--- a/empathy.spec
+++ b/empathy.spec
@@ -17,7 +17,7 @@
 
 Name:		empathy
 Version:	3.8.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Instant Messaging Client for GNOME
 
 License:	GPLv2+
@@ -62,6 +62,8 @@ BuildRequires:	libsecret-devel >= %{libsecret_version}
 BuildRequires:	gcr-devel >= %{gcr_version}
 BuildRequires:  pkgconfig(gee-0.8)
 BuildRequires:  itstool
+# hack to conserve space on the live cd
+BuildRequires:  /usr/bin/convert
 
 Requires:	telepathy-filesystem
 Requires:	telepathy-mission-control >= %{tp_mc_min_version}
@@ -98,7 +100,6 @@ install -m 0644 %{SOURCE1} ./README.ConnectionManagers
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
@@ -108,6 +109,11 @@ desktop-file-install --delete-original			\
 	--dir %{buildroot}%{_datadir}/applications	\
 	%{buildroot}%{_datadir}/applications/%{name}.desktop
 
+# hack to conserve space on the live image
+for f in video_overview.png conf_overview.png croom_overview.png; do
+  convert %{buildroot}%{_datadir}/help/C/empathy/figures/$f -resize 150x150 $f
+  mv $f %{buildroot}%{_datadir}/help/C/empathy/figures
+done
 
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -190,6 +196,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %{_datadir}/adium/message-styles/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css
 
 %changelog
+* Tue May 14 2013 Matthias Clasen <mclasen at redhat.com> - 3.8.1-3
+- Save some space by shrinking figures
+
 * Wed May  8 2013 Brian Pepple <bpepple at fedoraproject.org> - 3.8.1-2
 - Pull upstream patch to fix crash with google vcards.
 


More information about the scm-commits mailing list