rpms/rhythmbox/devel rhythmbox.spec,1.210,1.211

Matthias Clasen mclasen at fedoraproject.org
Thu Oct 9 03:49:10 UTC 2008


Author: mclasen

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

Modified Files:
	rhythmbox.spec 
Log Message:
save some space



Index: rhythmbox.spec
===================================================================
RCS file: /cvs/extras/rpms/rhythmbox/devel/rhythmbox.spec,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -r1.210 -r1.211
--- rhythmbox.spec	3 Oct 2008 16:34:17 -0000	1.210
+++ rhythmbox.spec	9 Oct 2008 03:48:39 -0000	1.211
@@ -3,7 +3,7 @@
 Name: rhythmbox
 Summary: Music Management Application 
 Version: 0.11.6
-Release: 12.5966%{?dist}
+Release: 13.5966%{?dist}
 License: GPLv2+ with exceptions and GFDL
 Group: Applications/Multimedia
 URL: http://www.gnome.org/projects/rhythmbox/
@@ -123,6 +123,23 @@
 # Don't package api docs
 rm -rf %{buildroot}/%{_datadir}/gtk-doc/
 
+# save space by linking identical images in translated docs
+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
+
+
 %clean
 rm -rf %{buildroot}
 
@@ -197,6 +214,9 @@
 %{_libdir}/rhythmbox/plugins/upnp_coherence
 
 %changelog
+* Wed Oct  8 2008 Matthias Clasen  <mclasen at redhat.com> - 0.11.6-13.r5966
+- Save some space
+
 * Fri Oct 03 2008 - Bastien Nocera <bnocera at redhat.com> - 0.11.6-12.r5966
 - Update to latest trunk
 - Fix license info to match that of upstream




More information about the scm-commits mailing list