This commit is contained in:
Matthias Clasen 2010-03-29 23:33:09 +00:00
parent 7fe6c03866
commit bf2cf35ea0
3 changed files with 16 additions and 17 deletions

View File

@ -1 +1 @@
eog-2.29.91.tar.bz2
eog-2.30.0.tar.bz2

View File

@ -11,10 +11,11 @@
Summary: Eye of GNOME image viewer
Name: eog
Version: 2.29.91
Version: 2.30.0
Release: 1%{?dist}
URL: http://projects.gnome.org/eog/
Source: http://download.gnome.org/sources/eog/2.29/%{name}-%{version}.tar.bz2
#VCS: git:git://git.gnome.org/eog
Source: http://download.gnome.org/sources/eog/2.30/%{name}-%{version}.tar.bz2
# The GFDL has an "or later version" clause embedded inside the license.
# There is no need to add the + here.
License: GPLv2+ and GFDL
@ -39,13 +40,10 @@ BuildRequires: libXt-devel
BuildRequires: libxml2-devel
Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
Requires(post): scrollkeeper
Requires(post): GConf2
Requires(pre): GConf2
Requires(preun): GConf2
Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
Requires(postun): scrollkeeper
%description
The Eye of GNOME image viewer (eog) is the official image viewer for the
@ -90,7 +88,7 @@ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
desktop-file-install --vendor gnome --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Application \
--remove-category Application \
$RPM_BUILD_ROOT%{_datadir}/applications/*
%find_lang %{name} --with-gnome
@ -122,13 +120,9 @@ rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database -q
scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/eog.schemas > /dev/null || :
touch %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
touch %{_datadir}/icons/hicolor >&/dev/null || :
%pre
if [ "$1" -gt 1 ]; then
@ -144,12 +138,14 @@ fi
%postun
update-desktop-database -q
scrollkeeper-update -q
touch %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
@ -168,6 +164,9 @@ fi
%{_datadir}/gtk-doc/html/eog
%changelog
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-1
- Update to 2.30.0
* Mon Feb 22 2010 Matthias Clasen <mclasen@redhat.com> 2.29.91-1
- Update to 2.29.91

View File

@ -1 +1 @@
ce38a86f6863297677a9ca7a6f302e15 eog-2.29.91.tar.bz2
0cd409d2b5de8f4981a89f4740febf47 eog-2.30.0.tar.bz2