2007-01-09 17:43:41 +01:00
|
|
|
#
|
2011-04-21 17:07:37 +02:00
|
|
|
# spec file for package eog
|
2007-01-09 17:43:41 +01:00
|
|
|
#
|
2011-04-21 17:07:37 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-09 17:43:41 +01:00
|
|
|
#
|
2008-08-30 02:31:54 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-09 17:43:41 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-02-21 01:36:44 +01:00
|
|
|
|
2007-01-09 17:43:41 +01:00
|
|
|
Name: eog
|
2011-09-27 13:28:38 +02:00
|
|
|
Version: 3.2.0
|
2011-09-22 14:02:05 +02:00
|
|
|
Release: 1
|
2010-09-11 12:17:47 +02:00
|
|
|
# FIXME: replace libexempi-devel BuildRequires with pkgconfig(exempi-2.0) once fixed exempi is in
|
2010-01-15 02:30:17 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2011-02-13 22:05:21 +01:00
|
|
|
Summary: Image Viewer for GNOME
|
2009-09-03 18:39:14 +02:00
|
|
|
Url: http://www.gnome.org/
|
|
|
|
Group: Productivity/Graphics/Viewers
|
2011-09-27 13:28:38 +02:00
|
|
|
Source: http://download.gnome.org/sources/eog/3.2/%{name}-%{version}.tar.bz2
|
2008-09-13 00:58:27 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libexempi-devel
|
2009-03-25 22:41:14 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2010-08-06 13:44:47 +02:00
|
|
|
BuildRequires: translation-update-upstream
|
2008-09-13 00:58:27 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2010-09-11 12:17:47 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2011-04-21 17:07:37 +02:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
2010-09-11 12:17:47 +02:00
|
|
|
BuildRequires: pkgconfig(gnome-icon-theme)
|
2011-04-21 17:07:37 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2011-05-27 09:31:30 +02:00
|
|
|
BuildRequires: pkgconfig(lcms2)
|
2010-09-11 12:17:47 +02:00
|
|
|
BuildRequires: pkgconfig(libexif)
|
2011-04-21 17:07:37 +02:00
|
|
|
BuildRequires: pkgconfig(libpeas-gtk-1.0)
|
2010-09-11 12:17:47 +02:00
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(shared-mime-info)
|
2011-02-13 22:05:21 +01:00
|
|
|
Recommends: %{name}-lang
|
2010-08-10 00:39:46 +02:00
|
|
|
Provides: eog2 = %{version}
|
|
|
|
Obsoletes: eog2 < %{version}
|
2007-01-09 17:43:41 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-04-21 17:07:37 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2007-01-09 17:43:41 +01:00
|
|
|
|
|
|
|
%description
|
2011-02-13 22:05:21 +01:00
|
|
|
Eye of GNOME is an image viewer program. It is meant to be a fast and
|
|
|
|
functional image viewer.
|
2007-01-09 17:43:41 +01:00
|
|
|
|
2007-07-12 01:45:23 +02:00
|
|
|
%package devel
|
2010-01-15 02:30:17 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2011-02-13 22:05:21 +01:00
|
|
|
Summary: Image Viewer for GNOME
|
2009-09-03 18:39:13 +02:00
|
|
|
Group: Productivity/Graphics/Viewers
|
2009-09-03 18:39:14 +02:00
|
|
|
Requires: %{name} = %{version}
|
2007-07-12 01:45:23 +02:00
|
|
|
|
|
|
|
%description devel
|
2011-02-13 22:05:21 +01:00
|
|
|
Eye of GNOME is an image viewer program. It is meant to be a fast and
|
|
|
|
functional image viewer.
|
2007-07-12 01:45:23 +02:00
|
|
|
|
2007-08-09 18:46:00 +02:00
|
|
|
%lang_package
|
2007-01-09 17:43:41 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-08-06 13:44:47 +02:00
|
|
|
translation-update-upstream
|
2007-01-09 17:43:41 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure\
|
|
|
|
--disable-scrollkeeper
|
2011-09-21 17:41:55 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-09 17:43:41 +01:00
|
|
|
|
|
|
|
%install
|
2007-04-27 16:43:52 +02:00
|
|
|
%makeinstall
|
2010-01-15 02:30:17 +01:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2011-09-06 22:08:09 +02:00
|
|
|
%suse_update_desktop_file -N "Eye of Gnome" -G "Image Viewer" eog
|
2011-02-13 22:05:21 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2009-09-03 18:39:14 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-01-09 17:43:41 +01:00
|
|
|
|
2011-02-13 22:05:21 +01:00
|
|
|
%post
|
2011-04-21 17:07:37 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2011-02-13 22:05:21 +01:00
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
%postun
|
2011-04-21 17:07:37 +02:00
|
|
|
%glib2_gsettings_schema_postun
|
2011-02-13 22:05:21 +01:00
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
2011-04-21 17:07:37 +02:00
|
|
|
%files
|
2007-01-09 17:43:41 +01:00
|
|
|
%defattr (-, root, root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
2011-02-13 22:05:21 +01:00
|
|
|
%dir %{_datadir}/gnome/
|
|
|
|
%dir %{_datadir}/gnome/help/
|
|
|
|
%dir %{_datadir}/gnome/help/%{name}/
|
|
|
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
2007-01-09 17:43:41 +01:00
|
|
|
%{_bindir}/*
|
2011-08-17 22:59:54 +02:00
|
|
|
%{_libdir}/eog/
|
2007-01-09 17:43:41 +01:00
|
|
|
%{_datadir}/applications/eog.desktop
|
2011-08-17 22:59:54 +02:00
|
|
|
%{_datadir}/eog/
|
2007-03-09 01:44:20 +01:00
|
|
|
%{_datadir}/icons/*/*/*/*.png
|
|
|
|
%{_datadir}/icons/*/*/*/*.svg
|
2011-04-21 17:07:37 +02:00
|
|
|
%{_datadir}/GConf/gsettings/eog.convert
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.eog.enums.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.eog.gschema.xml
|
2007-01-09 17:43:41 +01:00
|
|
|
|
2007-08-09 18:46:00 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-07-12 01:45:23 +02:00
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
2011-04-21 17:07:37 +02:00
|
|
|
%{_includedir}/eog-3.0/
|
2007-07-12 01:45:23 +02:00
|
|
|
%{_libdir}/pkgconfig/eog.pc
|
2009-02-06 22:24:26 +01:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html/
|
2011-08-17 22:59:54 +02:00
|
|
|
%{_datadir}/gtk-doc/html/eog/
|
2008-02-02 01:54:53 +01:00
|
|
|
|
2007-03-01 20:52:22 +01:00
|
|
|
%changelog
|