File gnome-photos.spec of Package gnome-photos
#
# spec file for package gnome-photos
#
# Copyright (c) 2013 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: gnome-photos
Version: 3.10.1
Release: 0
Summary: Photo viewer for GNOME
License: GPL-3.0+
Group: Productivity/Graphics/Viewers
Url: https://live.gnome.org/Design/Apps/Photos
Source: http://download.gnome.org/sources/gnome-photos/3.10/%{name}-%{version}.tar.xz
BuildRequires: hicolor-icon-theme
BuildRequires: intltool >= 0.50.1
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(babl)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-gobject)
BuildRequires: pkgconfig(exempi-2.0) >= 1.99.5
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gegl-0.2)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.35.1
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(goa-1.0) >= 3.8.0
BuildRequires: pkgconfig(grilo-0.2) >= 0.2.6
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.11
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libexif) >= 0.6.14
BuildRequires: pkgconfig(librsvg-2.0) >= 2.26.0
BuildRequires: pkgconfig(tracker-miner-0.16)
BuildRequires: pkgconfig(tracker-sparql-0.16)
# gnome-photos references tracker's glib schemas
Requires: tracker
# If we want to be able to send photos to a remote DLNA renderer, we require the dbus service for it
Recommends: dbus(dleyna-renderer-service)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
Photos, like Documents, Music and Videos, is one of the core GNOME
applications meant for find and reminding the user about her content.
The internal architecture Photos is based on Documents -- the document
manager application for GNOME, because they share similar UI/UX
patterns and objectives.
%lang_package
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
rm %{buildroot}%{_datadir}/doc/%{name}/{ARTISTS,AUTHORS,ChangeLog,COPYING,NEWS,README}
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}
%post
%glib2_gsettings_schema_post
%icon_theme_cache_post
%desktop_database_post
%postun
%glib2_gsettings_schema_postun
%icon_theme_cache_postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_bindir}/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%dir %{_datadir}/appdata
%{_datadir}/appdata/gnome-photos.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.photos.gschema.xml
%{_datadir}/%{name}/
%files lang -f %{name}.lang
%changelog