File calindori.spec of Package calindori
#
# spec file for package calindori
#
# Copyright (c) 2020 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/
#
%define qt5_version 5.14.0
%define kf5_version 5.62.0
%bcond_without lang
Name: calindori
Version: 1.3
Release: 0
Summary: Calendar application for Plasma Mobile
License: GPL-3.0-or-later
Group: System/GUI/KDE
URL: https://kde.org/applications/calindori
Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz.sig
Source2: %{name}.keyring
%endif
BuildRequires: extra-cmake-modules >= %{kf5_version}
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5CalendarCore) >= %{kf5_version}
BuildRequires: cmake(KF5Config) >= %{kf5_version}
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version}
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
BuildRequires: cmake(KF5Kirigami2) >= %{kf5_version}
BuildRequires: cmake(KF5Notifications) >= %{kf5_version}
BuildRequires: cmake(KF5Service) >= %{kf5_version}
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
BuildRequires: cmake(Qt5Gui) >= %{qt5_version}
BuildRequires: cmake(Qt5LinguistTools) >= %{qt5_version}
BuildRequires: cmake(Qt5Qml) >= %{qt5_version}
BuildRequires: cmake(Qt5Quick) >= %{qt5_version}
BuildRequires: cmake(Qt5QuickControls2) >= %{qt5_version}
BuildRequires: cmake(Qt5Svg) >= %{qt5_version}
BuildRequires: cmake(Qt5Test) >= %{qt5_version}
Requires: kirigami2
Requires: libqt5-qtquickcontrols
%description
Calindori is a touch friendly calendar application.
It has been designed for mobile devices but it can also run
on desktop environments.
It offers:
* Monthly agenda
* Multiple calendars
* Event management
* Task management
* Calendar import
The calendars that the application handles follow the ical
(https://tools.ietf.org/html/rfc5545) standard.
%lang_package
%prep
%setup -q
%build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%suse_update_desktop_file org.kde.calindori Calendar
%files
%license LICENSES/*
%doc README.md changelog.md
%{_kf5_applicationsdir}/org.kde.calindori.desktop
%{_kf5_appstreamdir}/org.kde.calindori.appdata.xml
%{_kf5_bindir}/calindac
%{_kf5_bindir}/calindori
%{_kf5_configdir}/autostart/org.kde.calindac.desktop
%{_kf5_dbusinterfacesdir}/org.kde.calindac.xml
%{_kf5_iconsdir}/hicolor/scalable/apps/calindori.svg
%{_kf5_notifydir}/calindac.notifyrc
%changelog