2016-12-03 13:27:15 +01:00
|
|
|
#
|
|
|
|
# spec file for package mbox-importer
|
|
|
|
#
|
2021-01-06 15:52:46 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2016-12-03 13:27:15 +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:04 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-03 13:27:15 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-04-19 15:31:14 +02:00
|
|
|
%define kf5_version 5.79.0
|
2017-03-26 09:25:39 +02:00
|
|
|
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.90 in KUA)
|
2018-07-28 15:49:52 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-25 00:45:30 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: mbox-importer
|
2021-04-19 15:31:14 +02:00
|
|
|
Version: 21.04.0
|
2018-11-25 00:45:30 +01:00
|
|
|
Release: 0
|
2016-12-09 11:57:03 +01:00
|
|
|
Summary: Tool for importing mbox archives into akonadi
|
2018-03-10 13:11:40 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2016-12-03 13:27:15 +01:00
|
|
|
Group: System/GUI/KDE
|
2019-08-15 16:01:19 +02:00
|
|
|
URL: https://www.kde.org
|
2021-04-19 15:31:14 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
|
%if %{with lang}
|
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 13:27:15 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: cmake(KF5Akonadi)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
2016-12-03 20:55:31 +01:00
|
|
|
BuildRequires: cmake(KF5MailCommon)
|
2016-12-03 13:27:15 +01:00
|
|
|
BuildRequires: cmake(KF5MailImporter)
|
2019-07-26 16:31:10 +02:00
|
|
|
BuildRequires: cmake(KF5PimCommon)
|
2016-12-03 13:27:15 +01:00
|
|
|
BuildRequires: cmake(KF5Service)
|
2021-03-28 09:27:54 +02:00
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2020-03-28 14:58:34 +01:00
|
|
|
Recommends: %{name}-lang
|
2018-11-25 00:45:30 +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:27:15 +01:00
|
|
|
|
|
|
|
%description
|
2016-12-09 11:57:03 +01:00
|
|
|
This package contains a tool that can be used to import mbox archives
|
|
|
|
into akonadi.
|
2016-12-03 13:27:15 +01:00
|
|
|
|
2017-04-15 15:29:05 +02:00
|
|
|
%lang_package
|
|
|
|
|
2016-12-03 13:27:15 +01:00
|
|
|
%prep
|
2021-04-19 15:31:14 +02:00
|
|
|
%autosetup -p1
|
2016-12-03 13:27:15 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:50:20 +01:00
|
|
|
%cmake_build
|
2016-12-03 13:27:15 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:29:05 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%endif
|
2016-12-03 13:27:15 +01:00
|
|
|
|
|
|
|
%files
|
2020-11-21 13:58:51 +01:00
|
|
|
%license LICENSES/*
|
2016-12-03 13:27:15 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.mboximporter.desktop
|
2017-08-12 01:01:23 +02:00
|
|
|
%{_kf5_bindir}/mboximporter
|
2016-12-03 13:27:15 +01:00
|
|
|
|
2017-04-15 15:29:05 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2020-11-21 13:58:51 +01:00
|
|
|
%license LICENSES/*
|
2017-04-15 15:29:05 +02:00
|
|
|
%endif
|
|
|
|
|
2016-12-03 13:27:15 +01:00
|
|
|
%changelog
|