SHA256
1
0
forked from pool/eog
eog/eog.spec
Dominique Leuenberger c2f6181ef6 Accepting request 128768 from home:Zaitor:branches:GNOME:Factory
Use new name Image Viewer, we already used it for friendly name.

This is inline with what upstream has.

[Desktop Entry]
_Name=Image Viewer
_Comment=Browse and rotate images
TryExec=eog
Exec=eog %U
Icon=eog
StartupNotify=true
Terminal=false
Type=Application
Categories=GNOME;GTK;Graphics;RasterGraphics;Viewer;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=EOG
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=@VERSION@
X-GNOME-DocPath=eog/eog.xml

OBS-URL: https://build.opensuse.org/request/show/128768
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/eog?expand=0&rev=137
2012-07-23 15:20:21 +00:00

123 lines
3.5 KiB
RPMSpec

#
# spec file for package eog
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: eog
Version: 3.4.3
Release: 0
Summary: Image Viewer for GNOME
License: GPL-2.0+ ; LGPL-2.1+
Group: Productivity/Graphics/Viewers
Url: http://www.gnome.org/
Source: http://download.gnome.org/sources/eog/3.4/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
BuildRequires: intltool
BuildRequires: libjpeg-devel
BuildRequires: libtool
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(exempi-2.0) >= 1.99.5
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.31.0
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gnome-icon-theme)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.6
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libpeas-gtk-1.0)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(shared-mime-info)
Recommends: %{name}-lang
Provides: eog2 = %{version}
Obsoletes: eog2 < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
Eye of GNOME is an image viewer program. It is meant to be a fast and
functional image viewer.
%package devel
Summary: Image Viewer for GNOME
Group: Productivity/Graphics/Viewers
Requires: %{name} = %{version}
%description devel
Eye of GNOME is an image viewer program. It is meant to be a fast and
functional image viewer.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure\
--disable-scrollkeeper
make %{?_smp_mflags}
%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%{_bindir}/eog
%{_libdir}/eog/
%{_datadir}/applications/eog.desktop
%{_datadir}/eog/
%{_datadir}/icons/*/*/*/*.png
%{_datadir}/icons/*/*/*/*.svg
%{_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
%files lang -f %{name}.lang
%files devel
%defattr (-, root, root)
%{_includedir}/eog-3.0/
%{_libdir}/pkgconfig/eog.pc
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html/
%{_datadir}/gtk-doc/html/eog/
%changelog