rpms/gucharmap/devel gucharmap.spec,1.28,1.29
Matthias Clasen
mclasen at fedoraproject.org
Thu Oct 9 03:55:35 UTC 2008
Author: mclasen
Update of /cvs/extras/rpms/gucharmap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14051
Modified Files:
gucharmap.spec
Log Message:
Save some space
Index: gucharmap.spec
===================================================================
RCS file: /cvs/extras/rpms/gucharmap/devel/gucharmap.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- gucharmap.spec 22 Sep 2008 14:45:27 -0000 1.28
+++ gucharmap.spec 9 Oct 2008 03:55:05 -0000 1.29
@@ -4,7 +4,7 @@
Name: gucharmap
Version: 2.24.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Unicode character picker and font browser
Group: Applications/System
@@ -70,6 +70,23 @@
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/*
+# 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
+
+
%find_lang gucharmap --with-gnome
@@ -128,6 +145,9 @@
%changelog
+* Wed Oct 8 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0-2
+- Save some space
+
* Mon Sep 22 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0-1
- Update to 2.24.0
More information about the scm-commits
mailing list