]> git.pld-linux.org Git - packages/eog.git/blobdiff - eog.spec
- 2.12.1
[packages/eog.git] / eog.spec
index 1d5d50b7f7661ad251585fd5b34fd05869c0efe0..0c0b3e2e73d23803c01f33533adace4f90da0c69 100644 (file)
--- a/eog.spec
+++ b/eog.spec
@@ -1,40 +1,41 @@
 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.6
+Version:       2.12.1
 Release:       1
-License:       GPL
+License:       GPL v2
 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
-Patch0:                %{name}-am_ac.patch
+Source0:       http://ftp.gnome.org/pub/gnome/sources/eog/2.12/%{name}-%{version}.tar.bz2
+# Source0-md5: d5dc20850777bb85ec90ff92817106dd
+Patch0:                %{name}-libtool.patch
+Patch1:                %{name}-desktop.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf-devel >= 0.12
+BuildRequires: GConf2-devel >= 2.10.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: bonobo-devel
-BuildRequires: bonobo-devel >= 0.35
-BuildRequires: gdk-pixbuf-devel >= 0.9.0
 BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel
-BuildRequires: gnome-print-devel >= 0.25
+BuildRequires: gnome-common >= 2.8.0
+BuildRequires: gnome-vfs2-devel >= 2.10.0-2
 BuildRequires: intltool
-BuildRequires: libglade-devel
+BuildRequires: lcms-devel
+BuildRequires: libart_lgpl-devel >= 2.3.17
+BuildRequires: libexif-devel >= 1:0.6.12
+BuildRequires: libglade2-devel >= 1:2.5.1
+BuildRequires: libgnomeprintui-devel
+BuildRequires: libgnomeui-devel >= 2.11.2-2
 BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
 BuildRequires: libtool
-BuildRequires: oaf-devel >= 0.6.2
+BuildRequires: pkgconfig >= 0.9.0
+BuildRequires: popt-devel
+BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: scrollkeeper
+BuildRequires: xft-devel >= 2.1.2
+Requires(post,preun):  GConf2
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): scrollkeeper
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-%define         _sysconfdir     /etc/X11/GNOME
-
 %description
 Eye of GNOME is a tool for viewing/cataloging images.
 
@@ -42,43 +43,59 @@ 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
 
 %build
-rm -f missing
-gettextize --copy --force
-libtoolize --copy --force
-xml-i18n-toolize --copy --force
-aclocal -I %{_aclocaldir}/gnome
-autoconf
-automake -a -c
+%{__libtoolize}
+%{__glib_gettextize}
+%{__intltoolize}
+%{__aclocal}
+%{__autoheader}
+%{__gnome_doc_common}
+%{__automake}
+%{__autoconf}
 %configure \
-       --with-bonobo
+       --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
 
-gzip -9nf AUTHORS ChangeLog NEWS README
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%gconf_schema_install eog.schemas
+%scrollkeeper_update_post
+%update_desktop_database_post
+
+%preun
+%gconf_schema_uninstall eog.schemas
+
+%postun
+%scrollkeeper_update_postun
+%update_desktop_database_postun
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Graphics/*
-%{_datadir/idl/*.idl
+%{_sysconfdir}/gconf/schemas/eog.schemas
 %{_datadir}/%{name}
-%{_datadir}/gnome/ui
-%{_datadir}/oaf/*.oaf
-%{_pixmapsdir}/%{name}
+%{_omf_dest_dir}/%{name}
+%{_desktopdir}/*
+%{_pixmapsdir}/*
This page took 0.114288 seconds and 4 git commands to generate.