File viewnior.spec of Package viewnior

# spec file for package viewnior
# Copyright (c) 2022 SUSE LLC
# 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

Name:           viewnior
Version:        1.8
Release:        0
Summary:        An Image Viewer
License:        GPL-3.0-or-later
Group:          Productivity/Graphics/Viewers
# PATCH-FIX-UPSTREAM -- Exiv 0.28 support -
Patch0:         0001-change-exiv2-AutoPtr-to-unique_ptr.patch
Patch1:         0002-add-support-for-exiv-0.28.0-errors.patch
BuildRequires:  gcc-c++
BuildRequires:  meson >= 0.43.0
BuildRequires:  ninja
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(exiv2)
BuildRequires:  pkgconfig(gtk+-2.0)

Viewnior is an image viewer program with a minimal interface.
Its features are:

* Fullscreen & Slideshow
* Rotate, flip, save, delete images
* Animation support
* Browse only selected images
* Navigation window
* Simple interface
* Configurable mouse actions


%autosetup -p1 -n Viewnior-%{name}-%{version}
# fix spurious executable perms
chmod 0644 AUTHORS COPYING NEWS src/* data/icons/scalable/apps/viewnior.svg


%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file -r -G "Elegant Image Viewer" %{name} Graphics Viewer GTK

%license COPYING

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by