]> git.pld-linux.org Git - packages/eog.git/blobdiff - eog.spec
- 2.12.1
[packages/eog.git] / eog.spec
index 3839cc7d685e78e2a10a080cd02df617234d5ad9..0c0b3e2e73d23803c01f33533adace4f90da0c69 100644 (file)
--- a/eog.spec
+++ b/eog.spec
@@ -2,35 +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.8.0
+Version:       2.12.1
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
-# Source0-md5: a6bf46dfc587ee6cffa9f86c12086a8a
+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.7.92
+BuildRequires: GConf2-devel >= 2.10.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: eel-devel >= 2.7.92
 BuildRequires: gettext-devel
 BuildRequires: gnome-common >= 2.8.0
-BuildRequires: gnome-vfs2-devel >= 2.7.92
+BuildRequires: gnome-vfs2-devel >= 2.10.0-2
 BuildRequires: intltool
-Buildrequires: libart_lgpl-devel >= 2.3.16
-Buildrequires: libexif-devel >= 1:0.5.12
-Buildrequires: libglade2-devel >= 1:2.4.0
-BuildRequires: libgnomeprint-devel >= 2.7.90
-BuildRequires: libgnomeui-devel >= 2.7.92
-BuildRequires: libgnomeprintui-devel >= 2.7.90
+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: librsvg-devel >= 1:2.8.1
 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,14 +49,15 @@ Aplicativo para visualizar imagens chamado Eye of GNOME.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
-glib-gettextize --copy --force
-intltoolize --copy --force
+%{__glib_gettextize}
+%{__intltoolize}
 %{__aclocal}
 %{__autoheader}
-gnome-doc-common
+%{__gnome_doc_common}
 %{__automake}
 %{__autoconf}
 %configure \
@@ -72,27 +75,27 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %find_lang %{name} --with-gnome
 
+%clean
+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
 
-%postun
-umask 022
-/usr/bin/scrollkeeper-update
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+%preun
+%gconf_schema_uninstall eog.schemas
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%postun
+%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}
-%{_datadir}/gnome-2.0/ui/*
 %{_omf_dest_dir}/%{name}
 %{_desktopdir}/*
 %{_pixmapsdir}/*
This page took 0.096454 seconds and 4 git commands to generate.