File showimage.spec of Package showimage
# spec file for package showimage
#
# Copyright (c) 2011 Martin Koller
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments via mailto:kollix@aon.at
# norootforbuild
Summary: A simple KDE based image viewer
Name: showimage
Version: 1.10
Release: 1
License: GPL-3.0
Group: Productivity/Graphics/Viewers
Source: https://dl.opendesktop.org/api/files/download/id/1482097460/%{name}-%{version}.tar.bz2
URL: https://www.linux-apps.com/p/1126798/
BuildRequires: extra-cmake-modules
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Service)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: libkexiv2-devel
BuildRequires: update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%setup -q
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%find_lang %{name} --with-man --all-name
#kf5_find_htmldocs
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc Changelog TODO
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/doc/HTML/en/%{name}
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%changelog