-Summary: Electric Eyes
-Summary(pl): Elektryczne Oczy
+Summary: The Electric Eyes image viewer application
+Summary(es): Electric Eyes - Visualizador de Imágenes
+Summary(fr): Le visualiseur d'images Electric Eyes
+Summary(pl): Elektryczne Oczy - przegl±darka plików graficznych
+Summary(pt_BR): Electric Eyes - Visualizador de Imagens
Name: ee
-Version: 0.3.5
-Release: 1d
-Copyright: GPL
-Group: X11/Utilities
-Group(pl): X11/U¿ytki
-Source: ftp://ftp.gnome.org/pub/%{name}-%{version}.tar.gz
-URL: http://www.gnome.org
-Requires: imlib >= 1.8.2
-BuildRoot: /tmp/%{name}-%{version}-root
+Version: 0.3.12
+Release: 5
+License: GPL
+Group: X11/Applications
+Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/ee/%{name}-%{version}.tar.gz
+Icon: ee.xpm
+URL: http://www.gnome.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: imlib-devel
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: gnome-libs-devel
+BuildRequires: libtool
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _prefix /usr/X11R6
%description
-The Electric Eyes image viewer lets you view and manipulate
-images in a variety of formats.
+The ee package contains the Electric Eyes image viewer for the GNOME
+desktop environment. Electric Eyes is primary an image viewer, but it
+also allows many types of image manipulations. Electric Eyes can
+handle almost any type of image.
+
+%description -l es
+El visor de imágenes Electric Eyes permite visualizar y manejar una
+variedad de formatos de imágenes.
+
+%description -l fr
+Le package ee contient le visualiseur d'images Electric Eyes pour le
+bureau graphique GNOME. Electric Eyes est d'abord un visualiseur
+d'images, mais il peut aussi les modifier. Electric Eyes peut gérer
+quasiment tous les types d'images.
%description -l pl
-"Elektryczne Oczy" s± przegl±dark± dla ró¿norodnych formatów graficznych,
+"Elektryczne Oczy" s± przegl±dark± plików graficznych w ró¿nych
+formatach dla GNOME. Electric Eyes jest przede wszystkim przegl±dark±,
+ale mo¿e te¿ s³u¿yæ do wykonywania niektórych operacji spotykanych w
+programach do obróbki grafiki.
+
+%description -l pt_BR
+O visualizador de imagens Electric Eyes permite a visualização e
+manipulação de uma variedade de formatos de imagens.
%prep
%setup -q
%build
+rm -rf missing
+libtoolize --copy --force
+gettextize --copy --force
+aclocal -I macros
autoconf
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
- --prefix=/usr/X11R6 \
- --with-included-gettext
-make
+automake -a -c
+%configure \
+ --without-included-gettext
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ Graphicsdir=%{_applnkdir}/Graphics/Viewers
-strip $RPM_BUILD_ROOT/usr/X11R6/bin/*
+gzip -9nf AUTHORS ChangeLog NEWS README
-bzip2 -9 AUTHORS ChangeLog NEWS README
+%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,NEWS,README}.bz2
-
-%attr(755,root,root) /usr/X11R6/bin/*
-
-/usr/X11R6/share/gnome/help/ee
-/usr/X11R6/share/apps/Graphics/*
-
-%lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/ee.mo
-%lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/ee.mo
-%lang(fi) /usr/X11R6/share/locale/fi/LC_MESSAGES/ee.mo
-%lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/ee.mo
-%lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/ee.mo
-%lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/ee.mo
-%lang(ja) /usr/X11R6/share/locale/ja/LC_MESSAGES/ee.mo
-%lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/ee.mo
-%lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/ee.mo
-%lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/ee.mo
-
-%changelog
-* Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.3.5-1]
-- added LDFLAGS="-s" to ./configure enviroment,
-- added --with-included-gettext to configure parameters,
-- added full %attr description in %files,
-- more locales (ja),
-- build against GNU libc-2.1.
-
-* Sun Sep 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.3-7]
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added full %attr description in %files,
-- added stripping binaries,
-- chnged install pprefix to /usr/X11R6
-- removed COPYING from %doc (copyright statment is in Copyright field).
-
-* Thu Sep 24 1998 Cristian Gafton <gafton@redhat.com>
-- add again the Obsoletes tag (commented out)
-- rebuild to link against the static gnome-libs
-
-* Tue Sep 22 1998 Carsten Haitzler <raster@redhat.com>
-- requires imlib 1.8
-- more minor bug fixes.
-
-* Fri Sep 11 1998 Cristian Gafton <gafton@redhat.com>
-- packaged for 5.2
-
-* Thu Aug 13 1998 Marc Ewing <marc@redhat.com>
-- Initial spec file copied from gnome-graphics
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/mime-info/*
+%{_applnkdir}/Graphics/Viewers/ee.desktop
+%{_pixmapsdir}/*