]> git.pld-linux.org Git - packages/eog.git/blobdiff - eog.spec
- updated to 2.18.0.1
[packages/eog.git] / eog.spec
index 45f6f11497eae355da8f214d8658a2ae84447c20..1fb21d02f70ed7e452cd1219182e8d57cf3920f9 100644 (file)
--- a/eog.spec
+++ b/eog.spec
@@ -1,75 +1,69 @@
 Summary:       The Eye of GNOME image viewer
-Summary(pl):   Oko GNOME - przegl±darka obrazków
-Summary(pt_BR):        Visualizador de imagem Eye of GNOME
+Summary(pl.UTF-8):     Oko GNOME - przeglądarka obrazków
+Summary(pt_BR.UTF-8):  Visualizador de imagem Eye of GNOME
 Name:          eog
-Version:       2.6.1
+Version:       2.18.0.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.18/%{name}-%{version}.tar.bz2
+# Source0-md5: 32f4cd4cd3108522eccf0b8fd85c8bbd
 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.18.0.1
 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: 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: gnome-common >= 2.12.0
+BuildRequires: gnome-desktop-devel >= 2.18.0
+BuildRequires: gnome-vfs2-devel >= 2.18.0.1
+BuildRequires: intltool >= 0.35.5
+BuildRequires: lcms-devel
+BuildRequires: libart_lgpl-devel >= 2.3.19
+BuildRequires: libexif-devel >= 1:0.6.13
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgnomeprintui-devel >= 2.18.0
+BuildRequires: libgnomeui-devel >= 2.18.0
 BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
-BuildRequires: librsvg-devel >= 1:2.6.4
 BuildRequires: libtool
-BuildRequires: popt-devel
-BuildRequires: xft-devel >= 2.1.2
-Requires(post):        GConf2
-Requires(post):        scrollkeeper
-Requires:      libbonobo >= 2.6.0
+BuildRequires: pkgconfig >= 0.9.0
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: scrollkeeper
+Requires(post,preun):  GConf2
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
+Requires(post,postun): scrollkeeper
+Requires:      libgnomeui >= 2.18.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Eye of GNOME is a tool for viewing/cataloging images.
 
-%description -l pl
-Eye of GNOME (Oko GNOME) jest narzêdziem do ogl±dania/katalogowania
-obrazków.
+%description -l pl.UTF-8
+Eye of GNOME (Oko GNOME) jest narzędziem do oglądania/katalogowania
+obrazków.
 
-%description -l pt_BR
+%description -l pt_BR.UTF-8
 Aplicativo para visualizar imagens chamado Eye of GNOME.
 
 %prep
 %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
+%{__intltoolize}
+%{__aclocal}
 %{__autoheader}
-gnome-doc-common
+%{__gnome_doc_common}
 %{__automake}
 %{__autoconf}
 %configure \
-       --disable-schemas-install
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -81,26 +75,30 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
+%update_icon_cache hicolor
 
-%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
+%update_icon_cache hicolor
 
 %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}/*
+%{_desktopdir}/*.desktop
+%{_iconsdir}/hicolor/*/*/*
 %{_pixmapsdir}/*
This page took 0.048188 seconds and 4 git commands to generate.