rpms/zenity/devel zenity.spec,1.48,1.49
Matthias Clasen
mclasen at fedoraproject.org
Thu Oct 9 04:06:51 UTC 2008
Author: mclasen
Update of /cvs/extras/rpms/zenity/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16297
Modified Files:
zenity.spec
Log Message:
Save some space
Index: zenity.spec
===================================================================
RCS file: /cvs/extras/rpms/zenity/devel/zenity.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- zenity.spec 23 Sep 2008 14:57:23 -0000 1.48
+++ zenity.spec 9 Oct 2008 04:06:20 -0000 1.49
@@ -1,6 +1,6 @@
Name: zenity
Version: 2.24.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Display dialog boxes from shell scripts
Group: Applications/System
License: LGPLv2+
@@ -50,6 +50,23 @@
# we don't want a perl dependency just for this
rm $RPM_BUILD_ROOT%{_bindir}/gdialog
+# 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 zenity --with-gnome
@@ -74,6 +91,9 @@
%changelog
+* Thu Oct 9 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0-2
+- Save some space
+
* Tue Sep 23 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0-1
- Update to 2.24.0
More information about the fedora-extras-commits
mailing list