2016-12-03 16:05:48 +01:00
|
|
|
#
|
|
|
|
# spec file for package kalarm
|
|
|
|
#
|
2021-01-06 15:51:10 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2016-12-03 16:05:48 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-12 10:44:00 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-03 16:05:48 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-04-19 15:30:50 +02:00
|
|
|
%define kf5_version 5.79.0
|
2017-08-12 00:53:46 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:24:58 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-25 00:44:13 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: kalarm
|
2021-11-30 08:58:18 +01:00
|
|
|
Version: 21.11.90
|
2018-11-25 00:44:13 +01:00
|
|
|
Release: 0
|
2016-12-03 16:05:48 +01:00
|
|
|
Summary: Personal Alarm Scheduler
|
2018-03-10 13:10:23 +01:00
|
|
|
License: GPL-2.0-only
|
2016-12-03 16:05:48 +01:00
|
|
|
Group: Productivity/Other
|
2021-04-19 15:30:50 +02:00
|
|
|
URL: https://apps.kde.org/kalarm
|
2021-11-30 08:58:18 +01:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2021-03-28 09:26:58 +02:00
|
|
|
%if %{with lang}
|
2021-11-30 08:58:18 +01:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-03-28 09:26:58 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 16:05:48 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: libxslt-devel
|
2018-07-28 15:24:58 +02:00
|
|
|
BuildRequires: polkit-default-privs
|
2016-12-03 16:05:48 +01:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: cmake(KF5Akonadi)
|
|
|
|
BuildRequires: cmake(KF5AkonadiContact)
|
|
|
|
BuildRequires: cmake(KF5AkonadiMime)
|
|
|
|
BuildRequires: cmake(KF5AlarmCalendar)
|
|
|
|
BuildRequires: cmake(KF5Auth)
|
|
|
|
BuildRequires: cmake(KF5CalendarCore)
|
|
|
|
BuildRequires: cmake(KF5CalendarUtils)
|
|
|
|
BuildRequires: cmake(KF5Codecs)
|
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
2021-03-28 09:26:58 +02:00
|
|
|
BuildRequires: cmake(KF5Crash)
|
2016-12-03 16:05:48 +01:00
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
2018-07-28 15:24:58 +02:00
|
|
|
BuildRequires: cmake(KF5GlobalAccel)
|
2021-03-28 09:26:58 +02:00
|
|
|
BuildRequires: cmake(KF5GrantleeTheme)
|
2016-12-03 16:05:48 +01:00
|
|
|
BuildRequires: cmake(KF5GuiAddons)
|
|
|
|
BuildRequires: cmake(KF5Holidays)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
2021-03-28 09:26:58 +02:00
|
|
|
BuildRequires: cmake(KF5IMAP)
|
2016-12-03 16:05:48 +01:00
|
|
|
BuildRequires: cmake(KF5IdentityManagement)
|
2020-11-21 13:57:47 +01:00
|
|
|
BuildRequires: cmake(KF5IdleTime)
|
2016-12-03 16:05:48 +01:00
|
|
|
BuildRequires: cmake(KF5JobWidgets)
|
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
2021-03-28 09:26:58 +02:00
|
|
|
BuildRequires: cmake(KF5MailTransportAkonadi)
|
2016-12-03 16:05:48 +01:00
|
|
|
BuildRequires: cmake(KF5Mime)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
2020-11-21 13:57:47 +01:00
|
|
|
BuildRequires: cmake(KF5NotifyConfig)
|
2016-12-03 16:05:48 +01:00
|
|
|
BuildRequires: cmake(KF5PimCommon)
|
|
|
|
BuildRequires: cmake(KF5PimTextEdit)
|
|
|
|
BuildRequires: cmake(KF5Service)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2019-11-29 12:39:07 +01:00
|
|
|
BuildRequires: cmake(Phonon4Qt5)
|
2021-07-27 11:35:39 +02:00
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Network) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5X11Extras) >= 5.15.0
|
2018-11-25 00:44:13 +01:00
|
|
|
Provides: kalarm5 = %{version}
|
|
|
|
Obsoletes: kalarm5 < %{version}
|
|
|
|
# It can only build on the same platforms as Qt Webengine
|
|
|
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
|
2016-12-03 16:05:48 +01:00
|
|
|
|
|
|
|
%description
|
2021-04-19 15:30:50 +02:00
|
|
|
Personal alarm message, command and email scheduler by KDE.
|
2016-12-03 16:05:48 +01:00
|
|
|
|
2017-04-15 15:27:58 +02:00
|
|
|
%lang_package
|
|
|
|
|
2016-12-03 16:05:48 +01:00
|
|
|
%prep
|
2021-04-19 15:30:50 +02:00
|
|
|
%autosetup -p1
|
2016-12-03 16:05:48 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:40:05 +01:00
|
|
|
%cmake_build
|
2016-12-03 16:05:48 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:27:58 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-25 00:44:13 +01:00
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 15:27:58 +02:00
|
|
|
%endif
|
2021-07-27 11:35:39 +02:00
|
|
|
%suse_update_desktop_file org.kde.kalarm Utility TimeUtility
|
2016-12-03 16:05:48 +01:00
|
|
|
|
|
|
|
%files
|
2020-11-21 13:57:47 +01:00
|
|
|
%license LICENSES/*
|
2018-11-25 00:44:13 +01:00
|
|
|
%doc README
|
2021-04-19 15:30:50 +02:00
|
|
|
%config %{_kf5_configdir}/autostart/kalarm.autostart.desktop
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kalarm/
|
2016-12-03 16:05:48 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kalarm.desktop
|
2017-08-12 00:53:46 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kalarm.appdata.xml
|
|
|
|
%{_kf5_bindir}/kalarm*
|
2016-12-03 16:05:48 +01:00
|
|
|
%{_kf5_configkcfgdir}/kalarmconfig.kcfg
|
|
|
|
%{_kf5_dbusinterfacesdir}/org.kde.kalarm.kalarm.xml
|
2021-04-19 15:30:50 +02:00
|
|
|
%{_kf5_dbuspolicydir}/org.kde.kalarm.rtcwake.conf
|
|
|
|
%{_kf5_debugdir}/kalarm.categories
|
|
|
|
%{_kf5_debugdir}/kalarm.renamecategories
|
2016-12-03 16:05:48 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kalarm.png
|
2019-07-26 16:06:09 +02:00
|
|
|
%{_kf5_kxmlguidir}/kalarm/
|
2021-04-19 15:30:50 +02:00
|
|
|
%dir %{_libdir}/libexec/kauth/
|
|
|
|
%{_kf5_libdir}/libexec/kauth/kalarm_helper
|
2020-11-21 13:57:47 +01:00
|
|
|
%{_kf5_notifydir}/kalarm.notifyrc
|
2018-04-10 15:19:43 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/system-services/org.kde.kalarm.rtcwake.service
|
2017-08-12 00:53:46 +02:00
|
|
|
%{_kf5_sharedir}/kalarm/
|
2018-04-10 15:19:43 +02:00
|
|
|
%{_kf5_sharedir}/polkit-1/actions/org.kde.kalarm.rtcwake.policy
|
2016-12-03 16:05:48 +01:00
|
|
|
|
2017-04-15 15:27:58 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
2016-12-03 16:05:48 +01:00
|
|
|
%changelog
|