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