]> git.pld-linux.org Git - packages/eog.git/blobdiff - eog.spec
- 2.12.1
[packages/eog.git] / eog.spec
index 45f6f11497eae355da8f214d8658a2ae84447c20..0c0b3e2e73d23803c01f33533adace4f90da0c69 100644 (file)
--- a/eog.spec
+++ b/eog.spec
@@ -2,42 +2,38 @@ 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.6.1
+Version:       2.12.1
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
-# Source0-md5: a7207082b9034e9e24ec7adde744c3a9
+Source0:       http://ftp.gnome.org/pub/gnome/sources/eog/2.12/%{name}-%{version}.tar.bz2
+# Source0-md5: d5dc20850777bb85ec90ff92817106dd
 Patch0:                %{name}-libtool.patch
-Patch1:                %{name}-bonobo.patch
-Patch2:                %{name}-locale-names.patch
-Patch3:                %{name}-libexif069.patch
+Patch1:                %{name}-desktop.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.6.1
+BuildRequires: GConf2-devel >= 2.10.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: eel-devel >= 2.6.1
 BuildRequires: gettext-devel
-BuildRequires: gnome-common >= 2.4.0
-BuildRequires: gnome-vfs2-devel >= 2.6.1
+BuildRequires: gnome-common >= 2.8.0
+BuildRequires: gnome-vfs2-devel >= 2.10.0-2
 BuildRequires: intltool
-Buildrequires: libart_lgpl-devel >= 2.3.16
-BuildRequires: libbonobo-devel >= 2.6.0
-BuildRequires: libbonoboui-devel >= 2.6.0
-Buildrequires: libexif-devel >= 0.5.12
-Buildrequires: libglade2-devel >= 1:2.3.6
-BuildRequires: libgnomeprint-devel >= 2.6.0
-BuildRequires: libgnomeui-devel >= 2.6.0
-BuildRequires: libgnomeprintui-devel >= 2.6.0
+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.6.4
 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):        scrollkeeper
-Requires:      libbonobo >= 2.6.0
+Requires(post,preun):  GConf2
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): scrollkeeper
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -54,18 +50,14 @@ Aplicativo para visualizar imagens chamado Eye of GNOME.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
-
-mv po/{no,nb}.po
 
 %build
 %{__libtoolize}
-glib-gettextize --copy --force
-intltoolize --copy --force
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__glib_gettextize}
+%{__intltoolize}
+%{__aclocal}
 %{__autoheader}
-gnome-doc-common
+%{__gnome_doc_common}
 %{__automake}
 %{__autoconf}
 %configure \
@@ -79,28 +71,31 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+
 %find_lang %{name} --with-gnome
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
-%gconf_schema_install
-/usr/bin/scrollkeeper-update
+%gconf_schema_install eog.schemas
+%scrollkeeper_update_post
+%update_desktop_database_post
 
-%postun -p /usr/bin/scrollkeeper-update
+%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}/*
-%attr(755,root,root) %{_libdir}/eog-image-viewer
-%attr(755,root,root) %{_libdir}/eog-collection-view
-%{_sysconfdir}/gconf/schemas/*
-%{_libdir}/bonobo/servers/*
+%{_sysconfdir}/gconf/schemas/eog.schemas
 %{_datadir}/%{name}
-%{_datadir}/gnome-2.0/ui/*
-%{_datadir}/idl/*
 %{_omf_dest_dir}/%{name}
 %{_desktopdir}/*
 %{_pixmapsdir}/*
This page took 0.113858 seconds and 4 git commands to generate.