# # spec file for package eog (Version 2.27.90) # # Copyright (c) 2009 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/ # # norootforbuild Name: eog BuildRequires: fdupes BuildRequires: gnome-desktop-devel BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-icon-theme BuildRequires: intltool BuildRequires: libexempi-devel BuildRequires: libexif-devel BuildRequires: libjpeg-devel BuildRequires: liblcms-devel BuildRequires: librsvg-devel BuildRequires: python-gtk-devel BuildRequires: shared-mime-info BuildRequires: update-desktop-files License: GPL v2 or later ; LGPL v2.1 or later Group: Productivity/Graphics/Viewers Provides: eog2 = 2.20.0 Obsoletes: eog2 <= 2.20.0 Version: 2.27.90 Release: 1 Summary: Eye of GNOME for the GNOME 2.x Desktop Source: %{name}-%{version}.tar.bz2 Url: http://www.gnome.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{name}-lang = %{version} %gconf_schemas_prereq %py_requires %description Eye of GNOME is a very fast picture viewer. It can be used as a plug-in for Nautilus or as a stand-alone application. This version of EOG is compiled for the GNOME 2.x Desktop. %package devel License: GPL v2 or later ; LGPL v2.1 or later Requires: %{name} = %{version} Requires: gtk2-devel Requires: gconf2-devel Summary: Eye of GNOME for the GNOME 2.x Desktop Group: Productivity/Graphics/Viewers %description devel Eye of GNOME is a very fast picture viewer. It can be used as a plug-in for Nautilus or as a stand-alone application. This version of EOG is compiled for the GNOME 2.x Desktop. %lang_package %prep %setup -q %build %configure\ --disable-schemas-install\ --disable-scrollkeeper make %{?jobs:-j%jobs} %install %makeinstall %suse_update_desktop_file -r -N "Eye of Gnome" -G "Image Viewer" eog GNOME Graphics Viewer %find_lang %{name} %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %files -f %{name}.lst %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/* %{_libdir}/eog %{_datadir}/applications/eog.desktop %{_datadir}/eog %{_datadir}/icons/*/*/*/*.png %{_datadir}/icons/*/*/*/*.svg %files lang -f %{name}.lang # Temporary workaround to not depend on libgnome: own the directories %defattr (-, root, root) %dir %{_datadir}/gnome %dir %{_datadir}/gnome/help %files devel %defattr (-, root, root) %{_includedir}/eog-2.20 %{_libdir}/pkgconfig/eog.pc %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html/ %{_datadir}/gtk-doc/html/eog %changelog