File showimage.spec of Package showimage-kf6

#
# spec file for package showimage
#
# Copyright (c) 2024 Martin Koller
#
# 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 https://bugs.opensuse.org/
#


Name:           showimage
Version:        1.14
Release:        0
Summary:        A simple KDE based image viewer
License:        GPL-3.0-or-later
Group:          Productivity/Graphics/Viewers
Source:         %{name}-%{version}.tar.xz
URL:            https://www.linux-apps.com/p/1126798
BuildRequires:  kf6-kconfig-devel
BuildRequires:  kf6-kconfigwidgets-devel
BuildRequires:  kf6-kdoctools-devel
BuildRequires:  kf6-ki18n-devel
BuildRequires:  kf6-kiconthemes-devel
BuildRequires:  kf6-kio-devel
BuildRequires:  kf6-kwidgetsaddons-devel
BuildRequires:  qt6-widgets-devel
BuildRequires:  kf6-extra-cmake-modules
BuildRequires:  kf6-purpose-devel

%description
ShowImage is a simple KDE based image viewer using the maximum space inside its window
without cluttering the window with menubar, toolbar or statusbar.
You simply act via the keyboard (rotate, zoom, etc.) or via the context menu (right mouse click).
You can view a single image or browse through a full directory, optionally in fullscreen mode.

Authors:
--------
    Martin Koller <kollix@aon.at>

%prep
%autosetup

%build
%cmake_kf6
%kf6_build

%install
%kf6_install

%files
%defattr(-,root,root)
%doc Changelog TODO
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%doc %{_datadir}/doc/HTML/en/%{name}

%changelog
openSUSE Build Service is sponsored by