This commit is contained in:
Matthias Clasen 2010-11-03 07:30:18 -04:00
parent 9e583ecc46
commit 394a82962b
3 changed files with 8 additions and 19 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
zenity-2.31.5.tar.bz2
zenity-2.31.6.tar.bz2
/zenity-2.32.0.tar.bz2
/zenity-2.91.1.1.tar.bz2

View File

@ -1 +1 @@
3ab7a50811e20e9750dc4b32fd63c37b zenity-2.32.0.tar.bz2
076e2a9bdf88fcc4f521d742d5bb4eac zenity-2.91.1.1.tar.bz2

View File

@ -1,12 +1,12 @@
Name: zenity
Version: 2.32.0
Version: 2.91.1.1
Release: 1%{?dist}
Summary: Display dialog boxes from shell scripts
Group: Applications/System
License: LGPLv2+
URL: http://directory.fsf.org/zenity.html
#VCS: git:git://git.gnome.org/zenity
Source: http://download.gnome.org/sources/zenity/2.32/zenity-%{version}.tar.bz2
Source: http://download.gnome.org/sources/zenity/2.91/zenity-%{version}.tar.bz2
BuildRequires: gnome-doc-utils >= 0.3.2
BuildRequires: glib2-devel >= 2.7.3
@ -38,22 +38,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
# 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
@ -66,6 +50,10 @@ done
%changelog
* Tue Nov 2 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.1.1-1
- Update to 2.91.1.1
- Drop space-saving hack
* Tue Sep 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-1
- Update to 2.32.0