]> git.pld-linux.org Git - packages/eog.git/blobdiff - eog.spec
- 2.12.1
[packages/eog.git] / eog.spec
index 1f08faeaf18a20d86f7068cfdb00957300f14e23..0c0b3e2e73d23803c01f33533adace4f90da0c69 100644 (file)
--- a/eog.spec
+++ b/eog.spec
@@ -1,27 +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.5
-Release:       2
-License:       GPL
+Version:       2.12.1
+Release:       1
+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
+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: bonobo-devel
-BuildRequires: gdk-pixbuf-devel >= 0.7.0
+BuildRequires: GConf2-devel >= 2.10.0
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: GConf-devel
+BuildRequires: gnome-common >= 2.8.0
+BuildRequires: gnome-vfs2-devel >= 2.10.0-2
+BuildRequires: intltool
+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: libtool
+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
-
 %description
 Eye of GNOME is a tool for viewing/cataloging images.
 
@@ -29,32 +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
-gettextize --copy --force
-%configure2_13 \
-       --with-bonobo
+%{__libtoolize}
+%{__glib_gettextize}
+%{__intltoolize}
+%{__aclocal}
+%{__autoheader}
+%{__gnome_doc_common}
+%{__automake}
+%{__autoconf}
+%configure \
+       --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}
+%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/*
+%{_sysconfdir}/gconf/schemas/eog.schemas
+%{_datadir}/%{name}
+%{_omf_dest_dir}/%{name}
+%{_desktopdir}/*
 %{_pixmapsdir}/*
-%{_datadir}/icons/*
This page took 0.108921 seconds and 4 git commands to generate.