]> git.pld-linux.org Git - packages/eog.git/blobdiff - eog.spec
- 2.12.1
[packages/eog.git] / eog.spec
index 58a411aee0950d3f77889b5696bd1ea634fb5805..0c0b3e2e73d23803c01f33533adace4f90da0c69 100644 (file)
--- a/eog.spec
+++ b/eog.spec
@@ -2,31 +2,37 @@ 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:       2.9.0
-Release:       3
-License:       GPL
+Version:       2.12.1
+Release:       1
+License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/eog/2.9/%{name}-%{version}.tar.bz2
-# Source0-md5: be4c2b1dcb1457069d03bf282fccf54b
+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: GConf2-devel >= 2.9.90
+BuildRequires: GConf2-devel >= 2.10.0
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
 BuildRequires: gnome-common >= 2.8.0
 BuildRequires: gnome-vfs2-devel >= 2.10.0-2
 BuildRequires: intltool
-BuildRequires: libart_lgpl-devel >= 2.3.16
+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: libgnomeui-devel >= 2.10.0
+BuildRequires: libgnomeprintui-devel
+BuildRequires: libgnomeui-devel >= 2.11.2-2
 BuildRequires: libjpeg-devel
 BuildRequires: libtool
+BuildRequires: pkgconfig >= 0.9.0
 BuildRequires: popt-devel
+BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: scrollkeeper
 BuildRequires: xft-devel >= 2.1.2
-Requires(post):        GConf2
+Requires(post,preun):  GConf2
+Requires(post,postun): desktop-file-utils
 Requires(post,postun): scrollkeeper
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -47,11 +53,11 @@ Aplicativo para visualizar imagens chamado Eye of GNOME.
 
 %build
 %{__libtoolize}
-glib-gettextize --copy --force
-intltoolize --copy --force
+%{__glib_gettextize}
+%{__intltoolize}
 %{__aclocal}
 %{__autoheader}
-gnome-doc-common
+%{__gnome_doc_common}
 %{__automake}
 %{__autoconf}
 %configure \
@@ -73,21 +79,22 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -rf $RPM_BUILD_ROOT
 
 %post
-umask 022
-%gconf_schema_install
-/usr/bin/scrollkeeper-update
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+%gconf_schema_install eog.schemas
+%scrollkeeper_update_post
+%update_desktop_database_post
+
+%preun
+%gconf_schema_uninstall eog.schemas
 
 %postun
-umask 022
-/usr/bin/scrollkeeper-update
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+%scrollkeeper_update_postun
+%update_desktop_database_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/gconf/schemas/*
+%{_sysconfdir}/gconf/schemas/eog.schemas
 %{_datadir}/%{name}
 %{_omf_dest_dir}/%{name}
 %{_desktopdir}/*
This page took 0.157627 seconds and 4 git commands to generate.