File peruse.spec of Package peruse

#
# spec file for package peruse
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 Dan Leinir Turthra Jensen <admin@leinir.dk>
#
# 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:           peruse
Version:        1.0
Release:        0
Summary:        Comic book reader
License:        LGPL-2.1-or-later
Group:          Amusements/Toys/Graphics
URL:            http://peruse.kde.org/
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  extra-cmake-modules
BuildRequires:  kf5-filesystem
BuildRequires:  cmake(KF5Archive)
BuildRequires:  cmake(KF5Baloo)
BuildRequires:  cmake(KF5Config)
BuildRequires:  cmake(KF5Declarative)
BuildRequires:  cmake(KF5FileMetaData)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5IconThemes)
BuildRequires:  cmake(KF5KIO)
BuildRequires:  cmake(KF5Plasma)
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5OpenGL)
BuildRequires:  cmake(Qt5Quick)
BuildRequires:  cmake(Qt5Sql)
BuildRequires:  cmake(Qt5Test)
BuildRequires:  cmake(Qt5Widgets)
Requires:       kio-extras5
Requires:       kirigami
Requires:       okular >= 16.11.60

%description
An application for reading comic books on both traditional desktops
and touch enabled devices.

%prep
%setup -q

%build
%cmake_kf5 -d build
%make_jobs

%install
%kf5_makeinstall -C build
rm %{buildroot}%{_kf5_libdir}/libacbf.so

%files
%license COPYING.LIB
%doc README.md PLAN.md
%dir %{_kf5_appstreamdir}/
%dir %{_kf5_iconsdir}/hicolor/256x256
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
%{_kf5_applicationsdir}/org.kde.peruse.desktop
%{_kf5_applicationsdir}/org.kde.perusecreator.desktop
%{_kf5_appstreamdir}/org.kde.peruse.appdata.xml
%{_kf5_appstreamdir}/org.kde.perusecreator.appdata.xml
%{_kf5_bindir}/peruse
%{_kf5_bindir}/perusecreator
%{_kf5_configdir}/peruse.knsrc
%{_kf5_iconsdir}/hicolor/*/*/peruse*
%{_kf5_libdir}/libacbf.so.*
%{_kf5_qmldir}/org/kde/contentlist/
%{_kf5_qmldir}/org/kde/peruse/
%{_kf5_sharedir}/peruse/
%{_kf5_sharedir}/perusecreator/

%changelog