rpms/ekiga/devel ekiga.spec,1.56,1.57

Matthias Clasen mclasen at fedoraproject.org
Thu Oct 9 05:03:59 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/ekiga/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28677

Modified Files:
	ekiga.spec 
Log Message:
Save some space



Index: ekiga.spec
===================================================================
RCS file: /cvs/extras/rpms/ekiga/devel/ekiga.spec,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ekiga.spec	2 Oct 2008 09:13:18 -0000	1.56
+++ ekiga.spec	9 Oct 2008 05:03:28 -0000	1.57
@@ -1,7 +1,7 @@
 Summary:	A Gnome based SIP/H323 teleconferencing application
 Name:		ekiga
 Version:	3.0.0
-Release:	3%{?dist}
+Release:	4%{?dist}
 URL:		http://www.ekiga.org/
 Source0:	ftp://ftp.gnome.org/pub/gnome/sources/ekiga/3.0/%{name}-%{version}.tar.bz2
 License:	GPLv2+
@@ -62,6 +62,23 @@
   --copy-generic-name-to-name \
   $RPM_BUILD_ROOT%{_datadir}/applications/ekiga.desktop
 
+# Replace identical images in the help by links.
+# This reduces the RPM size by several megabytes.
+helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
+for f in $helpdir/C/figures/*.png; do
+  b="$(basename $f)"
+  for d in $helpdir/*; do
+    if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
+      g="$d/figures/$b"
+      if [ -f "$g" ]; then
+        if cmp -s $f $g; then
+          rm "$g"; ln -s "../../C/figures/$b" "$g"
+        fi
+      fi
+    fi
+  done
+done
+
 %find_lang ekiga --with-gnome
 
 %clean
@@ -91,6 +108,9 @@
 %{_sysconfdir}/gconf/schemas/ekiga.schemas
 
 %changelog
+* Thu Oct 9 2008 Matthias Clasen  <mclasen at redhat.com> - 3.0.0-4
+- Save some space
+
 * Thu Oct 2 2008 Peter Robinson <pbrobinson at gmail.com> - 3.0.0-3
 - require dbus
 




More information about the scm-commits mailing list