forked from pool/kalarm
119 lines
4.1 KiB
RPMSpec
119 lines
4.1 KiB
RPMSpec
#
|
|
# spec file for package kalarm
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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: kalarm
|
|
Version: 16.12.1
|
|
Release: 0
|
|
%define kf5_version 5.26.0
|
|
# Latest stable Applications (e.g. 16.08 in KA, but 16.12.1 in KUA)
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
|
Summary: Personal Alarm Scheduler
|
|
License: GPL-2.0
|
|
Group: Productivity/Other
|
|
Url: http://www.kde.org
|
|
Source0: %{name}-%{version}.tar.xz
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: phonon4qt5-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python-devel
|
|
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)
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
BuildRequires: cmake(KF5DocTools)
|
|
BuildRequires: cmake(KF5GuiAddons)
|
|
BuildRequires: cmake(KF5Holidays)
|
|
BuildRequires: cmake(KF5I18n)
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
BuildRequires: cmake(KF5IdentityManagement)
|
|
BuildRequires: cmake(KF5JobWidgets)
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
BuildRequires: cmake(KF5KDELibs4Support)
|
|
BuildRequires: cmake(KF5KIO)
|
|
BuildRequires: cmake(KF5KdepimDBusInterfaces)
|
|
BuildRequires: cmake(KF5Libkdepim)
|
|
BuildRequires: cmake(KF5MailCommon)
|
|
BuildRequires: cmake(KF5MailTransport)
|
|
BuildRequires: cmake(KF5Mime)
|
|
BuildRequires: cmake(KF5Notifications)
|
|
BuildRequires: cmake(KF5PimCommon)
|
|
BuildRequires: cmake(KF5PimTextEdit)
|
|
BuildRequires: cmake(KF5Service)
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5Network) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
|
|
Provides: kalarm5 = %{version}
|
|
Obsoletes: kalarm5 < %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
# It can only build on the same platforms as Qt Webengine
|
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
|
|
|
|
%description
|
|
Personal alarm message, command and email scheduler for KDE
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake_kf5 -d build
|
|
%make_jobs
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
%suse_update_desktop_file org.kde.kalarm Utility TimeUtility
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING COPYING.LIB COPYING.DOC README
|
|
%dir %{_kf5_appstreamdir}
|
|
%config %{_sysconfdir}/dbus-1/system.d/org.kde.kalarmrtcwake.conf
|
|
%{_kf5_configdir}/autostart/kalarm.autostart.desktop
|
|
%{_kf5_sharedir}/kalarm/
|
|
%{_kf5_bindir}/kalarm*
|
|
%{_libdir}/libexec/kalarm_helper
|
|
%{_kf5_appstreamdir}/org.kde.kalarm.appdata.xml
|
|
%{_kf5_applicationsdir}/org.kde.kalarm.desktop
|
|
%{_kf5_configkcfgdir}/kalarmconfig.kcfg
|
|
%{_kf5_dbusinterfacesdir}/org.kde.kalarm.kalarm.xml
|
|
%{_kf5_sharedir}/dbus-1/system-services/org.kde.kalarmrtcwake.service
|
|
%{_kf5_htmldir}/en/kalarm/
|
|
%{_kf5_sharedir}/polkit-1/actions/org.kde.kalarmrtcwake.policy
|
|
%{_datadir}/kconf_update/
|
|
%config %{_kf5_configdir}/kalarm.categories
|
|
%config %{_kf5_configdir}/kalarm.renamecategories
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kalarm.png
|
|
%{_kf5_kxmlguidir}/kalarm/
|
|
|
|
%changelog
|