File arianna.spec of Package arianna

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


Name:           arianna
Version:        20230326.6565e3d
Release:        0
Summary:        EPub Reader for mobile devices
License:        BSD-2-Clause,BSD-3-Clause,CC0-1.0,GPL-3.0-only,LGPL-2.0-or-later,LGPL-2.1-only,LGPL-2.1-or-later,LGPL-3.0-only,LGPL-3.0-or-later,LicenseRef-KDE-Accepted-GPL,LicenseRef-KDE-Accepted-LGPL,MIT
URL:            https://github.com/KDE/arianna
Source:         %{name}-%{version}.tar
BuildRequires:  AppStream
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  cmake
BuildRequires:  cmake(KF5Archive)
BuildRequires:  cmake(KF5Baloo)
BuildRequires:  cmake(KF5Config)
BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5DBusAddons)
BuildRequires:  cmake(KF5FileMetaData)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5Kirigami2)
BuildRequires:  cmake(KF5KirigamiAddons)
BuildRequires:  cmake(KF5QQC2DesktopStyle)
BuildRequires:  cmake(KF5WindowSystem)
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5Network)
BuildRequires:  cmake(Qt5Qml)
BuildRequires:  cmake(Qt5Quick)
BuildRequires:  cmake(Qt5QuickControls2)
BuildRequires:  cmake(Qt5Sql)
BuildRequires:  cmake(Qt5Svg)
BuildRequires:  cmake(Qt5Test)
BuildRequires:  cmake(Qt5WebChannel)
BuildRequires:  cmake(Qt5WebEngine)
BuildRequires:  cmake(Qt5WebSockets)
BuildRequires:  cmake(Qt5Widgets)
Requires:       qt5qmlimport(Qt.labs.platform.1)
Requires:       qt5qmlimport(QtGraphicalEffects.1)
Requires:       qt5qmlimport(QtQml.Models.2)
Requires:       qt5qmlimport(QtQuick.Controls.2)
Requires:       qt5qmlimport(QtQuick.Layouts.1)
Requires:       qt5qmlimport(QtQuick.Window.2)
Requires:       qt5qmlimport(org.kde.kirigamiaddons.labs.components.1)
Requires:       qt5qmlimport(org.kde.quickcharts.1)

%description
Arianna is a ebook reader.

%lang_package

%prep
%autosetup -p1

%build
%cmake_kf5 -d build
%cmake_build

%install
%kf5_makeinstall -C build
%find_lang %{name} --with-man --all-name

%{kf5_post_install}
%fdupes %{buildroot}%{_prefix}

%files
%doc README.md
%license LICENSES/*
%{_bindir}/arianna
%{_datadir}/applications/*.desktop
%{_datadir}/metainfo/*.xml
%{_datadir}/icons/hicolor/*/*/*
%exclude %{_datadir}/qlogging-categories5/tokodon.categories

%files lang -f %{name}.lang
%{_datadir}/locale/*

%changelog
openSUSE Build Service is sponsored by