Save some space
This commit is contained in:
parent
b91f8eb3a7
commit
7f47259ea5
22
zenity.spec
22
zenity.spec
@ -1,6 +1,6 @@
|
|||||||
Name: zenity
|
Name: zenity
|
||||||
Version: 2.24.0
|
Version: 2.24.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Display dialog boxes from shell scripts
|
Summary: Display dialog boxes from shell scripts
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -50,6 +50,23 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
# we don't want a perl dependency just for this
|
# we don't want a perl dependency just for this
|
||||||
rm $RPM_BUILD_ROOT%{_bindir}/gdialog
|
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
|
%find_lang zenity --with-gnome
|
||||||
|
|
||||||
|
|
||||||
@ -74,6 +91,9 @@ scrollkeeper-update -q || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 9 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2
|
||||||
|
- Save some space
|
||||||
|
|
||||||
* Tue Sep 23 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
|
* Tue Sep 23 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
|
||||||
- Update to 2.24.0
|
- Update to 2.24.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user