1 Summary: The Eye of GNOME image viewer
2 Summary(pl): Oko GNOME - przegl±darka obrazków
3 Summary(pt_BR): Visualizador de imagem Eye of GNOME
8 Group: X11/Applications
9 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/1.1/%{name}-%{version}.tar.bz2
11 Patch0: %{name}-am.patch
12 Patch1: %{name}-makefile.patch
13 URL: http://www.gnome.org/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: bonobo-activation-devel >= 2.1.0
17 BuildRequires: GConf2-devel >= 1.2.1
18 BuildRequires: gettext-devel
19 BuildRequires: gnome-vfs2-devel >= 2.0.3
20 BuildRequires: intltool
21 BuildRequires: libbonoboui >= 2.0.2
22 BuildRequires: libgnomeprint-devel >= 1.116.0
23 BuildRequires: libgnomeui >= 2.0.4
24 BuildRequires: libjpeg-devel
25 BuildRequires: libpng-devel
26 BuildRequires: librsvg-devel >= 2.0.1
27 BuildRequires: libtool
28 BuildRequires: popt-devel
29 Requires: bonobo-activation >= 2.1.0
30 Requires(post): GConf2
31 Requires(post): scrollkeeper
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _prefix /usr/X11R6
35 %define _sysconfdir /etc/X11/GNOME2
36 %define _omf_dest_dir %(scrollkeeper-config --omfdir)
39 Eye of GNOME is a tool for viewing/cataloging images.
42 Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
46 Aplicativo para visualizar imagens chamado Eye of GNOME.
55 sed -e 's/-ourdir/ourdir/' xmldocs.make >xmldocs.make.tmp
56 mv xmldocs.make.tmp xmldocs.make
57 glib-gettextize --copy --force
58 libtoolize --copy --force
59 intltoolize --copy --force
60 aclocal -I %{_aclocaldir}/gnome2-macros
64 --enable-platform-gnome-2
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT \
72 omf_dest_dir=%{_omf_dest_dir}/%{name}
74 %find_lang %{name} --with-gnome
77 /usr/bin/scrollkeeper-update
78 GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
80 %postun -p /usr/bin/scrollkeeper-update
83 rm -rf $RPM_BUILD_ROOT
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_libdir}/eog-image-viewer
90 %{_sysconfdir}/gconf/schemas/*
91 %{_libdir}/bonobo/servers/*
93 %{_datadir}/applications/*
94 %{_datadir}/gnome-2.0/ui/*
96 %{_omf_dest_dir}/%{name}