# # spec file for package eom # # Copyright (c) 2014 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. Name: eom Version: 1.8.0 Release: 0 License: GPL-2.0+ and LGPL-2.1+ Summary: MATE Desktop graphics viewer Url: http://mate-desktop.org Group: System/GUI/Other Source: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz Provides: mate-image-viewer = %{version} Obsoletes: mate-image-viewer < %{version} Obsoletes: mate-image-viewer-lang < %{version} Requires: mate-desktop-gsettings-schemas = %{version} Recommends: %{name}-lang %glib2_gsettings_schema_requires BuildRequires: hicolor-icon-theme BuildRequires: libjpeg-devel BuildRequires: libxml2-python BuildRequires: mate-common BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(exempi-2.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gtk+-unix-print-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(mate-desktop-2.0) BuildRequires: pkgconfig(mate-icon-theme) BuildRequires: pkgconfig(pygobject-2.0) BuildRequires: pkgconfig(pygtk-2.0) BuildRequires: update-desktop-files BuildRequires: yelp-tools %description The Eye of MATE is a simple graphics viewer for the MATE Desktop which uses the gdk-pixbuf library. It can deal with large images, and zoom and scroll with constant memory usage. Its goals are simplicity and standards compliance. %package devel Summary: MATE Desktop graphics viewer development files Group: Development/Tools/Other Requires: %{name} = %{version} Provides: mate-image-viewer-devel = %{version} Obsoletes: mate-image-viewer-devel < %{version} %description devel The Eye of MATE is a simple graphics viewer for the MATE Desktop which uses the gdk-pixbuf library. It can deal with large images, and zoom and scroll with constant memory usage. Its goals are simplicity and standards compliance. %lang_package %prep %setup -q %build %configure --libexecdir=%{_libexecdir}/%{name} make %{?_smp_mflags} %install %makeinstall %find_lang %{name} %{?no_lang_C} find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete %suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop if [ -d %{buildroot}%{_datadir}/MateConf ]; then rm -r %{buildroot}%{_datadir}/MateConf fi %post %desktop_database_post %glib2_gsettings_schema_post %icon_theme_cache_post %postun %desktop_database_postun %glib2_gsettings_schema_postun %icon_theme_cache_postun %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog README COPYING %{_bindir}/%{name} %{_libdir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ %{_datadir}/glib-2.0/schemas/*.xml %{_datadir}/help/C/eom/ %{_datadir}/icons/ %{_mandir}/man1/%{name}.1.gz %files devel %defattr(-,root,root,-) %{_includedir}/%{name}-2.20/ %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/gtk-doc/html/eom/ %files lang -f %{name}.lang %defattr(-,root,root,-) %changelog