File memories.spec of Package memories
#
# spec file for package memories
#
# Copyright (c) 2018 SUSE LINUX 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: memories
Version: 0.3.0
Release: 0
Summary: Simple image viewer
License: GPL-3.0-or-later
Group: Productivity/Graphics/Viewers
URL: https://artemanufrij.github.io
Source: https://github.com/artemanufrij/showmypictures/archive/%{version}.tar.gz#/showmypictures-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: elementary-cmake-modules
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: vala
BuildRequires: pkgconfig(gexiv2)
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libraw)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(webkit2gtk-4.0)
Requires: jpegoptim
Requires: optipng
Recommends: %{name}-lang
# SECTION test requirements
BuildRequires: jpegoptim
BuildRequires: optipng
# /SECTION
%description
A image viewer for manage local pictures, written especially for elementary OS.
%lang_package
%prep
%setup -q -n showmypictures-%{version}
cp --no-preserve='mode' debian/copyright COPYING
%build
%cmake \
-DGSETTINGS_COMPILE=OFF
make %{?_smp_mflags}
%install
%cmake_install
rm %{buildroot}%{_datadir}/icons/hicolor/*.??g
%find_lang com.github.artemanufrij.showmypictures %{name}.lang
%fdupes %{buildroot}/%{_datadir}
%files
%license COPYING
%doc README.md
%{_bindir}/com.github.artemanufrij.showmypictures
%{_datadir}/applications/com.github.artemanufrij.showmypictures.desktop
%{_datadir}/glib-2.0/schemas/com.github.artemanufrij.showmypictures.gschema.xml
%{_datadir}/icons/hicolor/*/apps/com.github.artemanufrij.showmypictures.??g
%{_datadir}/metainfo/com.github.artemanufrij.showmypictures.appdata.xml
%files lang -f %{name}.lang
%changelog