2016-12-03 12:17:24 +00:00
|
|
|
#
|
|
|
|
# spec file for package pim-data-exporter
|
|
|
|
#
|
2021-01-06 14:52:51 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2016-12-03 12:17:24 +00: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 08:47:11 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-03 12:17:24 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-04-19 13:31:15 +00:00
|
|
|
%define kf5_version 5.79.0
|
2017-08-11 23:01:54 +00:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 13:51:09 +00:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-24 23:45:34 +00:00
|
|
|
%bcond_without lang
|
|
|
|
Name: pim-data-exporter
|
2021-08-07 11:17:34 +00:00
|
|
|
Version: 21.08.0
|
2018-11-24 23:45:34 +00:00
|
|
|
Release: 0
|
2021-04-19 13:31:15 +00:00
|
|
|
Summary: Data exporter for KDE PIM applications
|
2018-03-10 12:11:48 +00:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2016-12-03 12:17:24 +00:00
|
|
|
Group: System/GUI/KDE
|
2021-04-19 13:31:15 +00:00
|
|
|
URL: https://apps.kde.org/pimdataexporter
|
2021-08-07 11:17:34 +00:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2021-04-19 13:31:15 +00:00
|
|
|
%if %{with lang}
|
2021-08-07 11:17:34 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 13:31:15 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 12:17:24 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
2018-11-24 23:45:34 +00:00
|
|
|
# Only required for the icon
|
|
|
|
BuildRequires: kontact
|
2016-12-03 12:17:24 +00:00
|
|
|
BuildRequires: cmake(KF5Akonadi)
|
2019-07-13 11:47:30 +00:00
|
|
|
BuildRequires: cmake(KF5AkonadiNotes)
|
2020-02-07 08:21:46 +00:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
2016-12-03 12:17:24 +00:00
|
|
|
BuildRequires: cmake(KF5CalendarCore)
|
2020-02-07 08:21:46 +00:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
2016-12-03 12:17:24 +00:00
|
|
|
BuildRequires: cmake(KF5Contacts)
|
2020-03-28 13:58:38 +00:00
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2016-12-03 12:17:24 +00:00
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
2020-02-07 08:21:46 +00:00
|
|
|
BuildRequires: cmake(KF5IdentityManagement)
|
|
|
|
BuildRequires: cmake(KF5ItemViews)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
2016-12-03 12:17:24 +00:00
|
|
|
BuildRequires: cmake(KF5Libkdepim)
|
|
|
|
BuildRequires: cmake(KF5MailCommon)
|
|
|
|
BuildRequires: cmake(KF5MailTransport)
|
2020-02-07 08:21:46 +00:00
|
|
|
BuildRequires: cmake(KF5Mime)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5PimCommonAkonadi)
|
2016-12-03 12:17:24 +00:00
|
|
|
BuildRequires: cmake(KF5PimTextEdit)
|
2020-02-07 08:21:46 +00:00
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2020-03-28 13:58:38 +00:00
|
|
|
BuildRequires: cmake(KUserFeedback)
|
2019-11-29 11:40:52 +00:00
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2016-12-03 12:17:24 +00:00
|
|
|
Requires: kontact
|
2018-11-24 23:45:34 +00:00
|
|
|
# It can only build on the same platforms as Qt Webengine
|
|
|
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
|
2016-12-03 12:17:24 +00:00
|
|
|
|
|
|
|
%description
|
2021-04-19 13:31:15 +00:00
|
|
|
This package contains utlities needed by KDE PIM applications to export data
|
|
|
|
for backup and archival.
|
2016-12-03 12:17:24 +00:00
|
|
|
|
2017-04-15 13:29:08 +00:00
|
|
|
%lang_package
|
|
|
|
|
2016-12-03 12:17:24 +00:00
|
|
|
%prep
|
2021-04-19 13:31:15 +00:00
|
|
|
%autosetup -p1
|
2016-12-03 12:17:24 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:19:50 +00:00
|
|
|
%cmake_build
|
2016-12-03 12:17:24 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 13:29:08 +00:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-24 23:45:34 +00:00
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 13:29:08 +00:00
|
|
|
%endif
|
2016-12-03 12:17:24 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2020-11-21 12:58:55 +00:00
|
|
|
%license LICENSES/*
|
2019-07-26 14:32:26 +00:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/pimdataexporter/
|
|
|
|
%{_kf5_applicationsdir}/org.kde.pimdataexporter.desktop
|
2021-04-19 13:31:15 +00:00
|
|
|
%{_kf5_appstreamdir}/org.kde.pimdataexporter.appdata.xml
|
2019-07-26 14:32:26 +00:00
|
|
|
%{_kf5_bindir}/pimdataexporter
|
|
|
|
%{_kf5_bindir}/pimdataexporterconsole
|
|
|
|
%{_kf5_configkcfgdir}/pimdataexporterglobalconfig.kcfg
|
2021-04-19 13:31:15 +00:00
|
|
|
%{_kf5_debugdir}/pimdataexporter.categories
|
|
|
|
%{_kf5_debugdir}/pimdataexporter.renamecategories
|
2019-07-26 14:32:26 +00:00
|
|
|
%{_kf5_libdir}/libpimdataexporterprivate.so.*
|
2017-08-11 23:01:54 +00:00
|
|
|
%{_kf5_sharedir}/kconf_update/
|
2016-12-03 12:17:24 +00:00
|
|
|
|
2017-04-15 13:29:08 +00:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
2016-12-03 12:17:24 +00:00
|
|
|
%changelog
|