Summary: The Eye of GNOME image viewer
Summary(pl): Oko GNOME - przegl±darka obrazków
+Summary(pt_BR): Visualizador de imagem Eye of GNOME
Name: eog
-Version: 0.5
-Release: 2
+Version: 2.6.1
+Release: 1
License: GPL
Group: X11/Applications
-Group(de): X11/Applikationen
-Group(es): X11/Aplicaciones
-Group(pl): X11/Aplikacje
-Group(pt_BR): X11/Aplicações
-Group(pt): X11/Aplicações
-Source0: ftp://ftp.gnome.org//pub/GNOME/unstable/sources/eog/%{name}-%{version}.tar.gz
-Source1: %{name}.gif
+Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
+# Source0-md5: a7207082b9034e9e24ec7adde744c3a9
+Patch0: %{name}-libtool.patch
+Patch1: %{name}-bonobo.patch
+Patch2: %{name}-locale-names.patch
URL: http://www.gnome.org/
-BuildRequires: bonobo-devel
-BuildRequires: gdk-pixbuf-devel >= 0.7.0
+BuildRequires: GConf2-devel >= 2.6.1
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: eel-devel >= 2.6.1
BuildRequires: gettext-devel
-BuildRequires: GConf-devel
+BuildRequires: gnome-common >= 2.4.0
+BuildRequires: gnome-vfs2-devel >= 2.6.1
+BuildRequires: intltool
+Buildrequires: libart_lgpl-devel >= 2.3.16
+BuildRequires: libbonobo-devel >= 2.6.0
+BuildRequires: libbonoboui-devel >= 2.6.0
+Buildrequires: libexif-devel >= 0.5.12
+Buildrequires: libglade2-devel >= 1:2.3.6
+BuildRequires: libgnomeprint-devel >= 2.6.0
+BuildRequires: libgnomeui-devel >= 2.6.0
+BuildRequires: libgnomeprintui-devel >= 2.6.0
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: librsvg-devel >= 1:2.6.4
+BuildRequires: libtool
+BuildRequires: popt-devel
+BuildRequires: xft-devel >= 2.1.2
+Requires(post): GConf2
+Requires(post): scrollkeeper
+Requires: libbonobo >= 2.6.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
-
%description
Eye of GNOME is a tool for viewing/cataloging images.
Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
obrazków.
+%description -l pt_BR
+Aplicativo para visualizar imagens chamado Eye of GNOME.
+
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+mv po/{no,nb}.po
%build
-gettextize --copy --force
-%configure2_13 \
- --with-bonobo
+%{__libtoolize}
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__autoheader}
+gnome-doc-common
+%{__automake}
+%{__autoconf}
+%configure \
+ --disable-schemas-install
%{__make}
-
+
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- Graphicsdir=%{_applnkdir}/Graphics
+ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+
+%find_lang %{name} --with-gnome
-gzip -9nf AUTHORS ChangeLog NEWS README
+%post
+%gconf_schema_install
+/usr/bin/scrollkeeper-update
-%find_lang %{name}
+%postun -p /usr/bin/scrollkeeper-update
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Graphics/*
+%attr(755,root,root) %{_libdir}/eog-image-viewer
+%attr(755,root,root) %{_libdir}/eog-collection-view
+%{_sysconfdir}/gconf/schemas/*
+%{_libdir}/bonobo/servers/*
+%{_datadir}/%{name}
+%{_datadir}/gnome-2.0/ui/*
+%{_datadir}/idl/*
+%{_omf_dest_dir}/%{name}
+%{_desktopdir}/*
%{_pixmapsdir}/*
-%{_datadir}/icons/*