File peruse.spec of Package peruse

# spec file for package peruse
# Copyright (c) 2016 Dan Leinir Turthra Jensen <>
# 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

Summary:    Comic book reader
Name:       peruse
Version:    2.0
Release:    1
License:    LGPL-2.1+
Group:      Amusements/Toys/Graphics
Source0:    %{name}-%{version}.tar.xz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

Requires:       kirigami2
Requires:       okular >= 17.02.20170504
Requires:       kio-extras5
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5Test)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5OpenGL)
BuildRequires:  pkgconfig(Qt5Sql)
BuildRequires:  cmake(KF5Plasma)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5Declarative)
BuildRequires:  cmake(KF5Config)
BuildRequires:  cmake(KF5FileMetaData)
BuildRequires:  cmake(KF5IconThemes)
BuildRequires:  cmake(KF5KIO)
BuildRequires:  cmake(KF5Baloo)
BuildRequires:  cmake(KF5Archive)
BuildRequires:  extra-cmake-modules
BuildRequires:  kf5-filesystem
Requires:       libQt5Sql5-sqlite

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


%cmake_kf5 -d build

cd build
%create_subdir_filelist -d src -f main -v devel

%files -f filelists/main
%dir %{_libdir}/qt5/qml/org/kde/contentlist
%dir %{_libdir}/qt5/qml/org/kde/peruse
%dir %{_datadir}/peruse
%dir %{_datadir}/peruse/qml
%dir %{_datadir}/peruse/qml/listcomponents
%dir %{_datadir}/peruse/qml/viewers
%dir %{_datadir}/perusecreator
%dir %{_datadir}/perusecreator/qml
%dir %{_datadir}/perusecreator/qml/metainfoeditors
%dir %{_kf5_iconsdir}/hicolor/*
%dir %{_kf5_iconsdir}/hicolor/*/*

openSUSE Build Service is sponsored by