rpms/tomboy/devel tomboy.spec,1.87,1.88
Matthias Clasen
mclasen at fedoraproject.org
Thu Oct 9 04:12:50 UTC 2008
Author: mclasen
Update of /cvs/extras/rpms/tomboy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17965
Modified Files:
tomboy.spec
Log Message:
save some space
Index: tomboy.spec
===================================================================
RCS file: /cvs/extras/rpms/tomboy/devel/tomboy.spec,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- tomboy.spec 23 Sep 2008 04:57:21 -0000 1.87
+++ tomboy.spec 9 Oct 2008 04:12:19 -0000 1.88
@@ -1,6 +1,6 @@
Name: tomboy
Version: 0.12.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tomboy is a desktop note-taking application for Linux and Unix
Group: User Interface/Desktops
@@ -72,6 +72,22 @@
# don't need these
rm $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
+# 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 %name --with-gnome
%clean
@@ -119,6 +135,9 @@
%changelog
+* Thu Oct 9 2008 Matthias Clasen <mclasen at redhat.com> - 0.12.0-2
+- Save some space
+
* Tue Sep 23 2008 Matthias Clasen <mclasen at redhat.com> - 0.12.0-1
- Update to 0.12.0
More information about the scm-commits
mailing list