2016-04-11 07:15:10 +00:00
|
|
|
#
|
|
|
|
# spec file for package mailimporter
|
|
|
|
#
|
2024-02-23 20:08:51 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-04-11 07:15:10 +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:03 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-04-11 07:15:10 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-04-12 17:25:56 +00:00
|
|
|
%define kf6_version 6.0.0
|
2024-02-23 20:08:51 +00:00
|
|
|
%define qt6_version 6.6.0
|
2024-05-23 11:00:54 +00:00
|
|
|
%define kpim6_version 6.0.80
|
2024-02-23 20:08:51 +00:00
|
|
|
|
2022-01-06 12:45:10 +00:00
|
|
|
%bcond_without released
|
2018-11-24 23:45:28 +00:00
|
|
|
Name: mailimporter
|
2024-05-23 11:00:54 +00:00
|
|
|
Version: 24.05.0
|
2018-11-24 23:45:28 +00:00
|
|
|
Release: 0
|
2021-04-19 13:31:13 +00:00
|
|
|
Summary: Mail import functionality for KDE PIM applications
|
2018-12-04 16:24:35 +00:00
|
|
|
License: GPL-2.0-or-later
|
2019-08-15 14:01:18 +00:00
|
|
|
URL: https://www.kde.org
|
2024-05-23 11:00:54 +00:00
|
|
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 12:45:10 +00:00
|
|
|
%if %{with released}
|
2024-05-23 11:00:54 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 13:31:13 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2024-02-23 20:08:51 +00:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Archive) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KPim6Akonadi) >= %{kpim6_version}
|
|
|
|
BuildRequires: cmake(KPim6AkonadiMime) >= %{kpim6_version}
|
|
|
|
BuildRequires: cmake(KPim6Mime) >= %{kpim6_version}
|
|
|
|
BuildRequires: cmake(KPim6PimCommon) >= %{kpim6_version}
|
|
|
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Xml) >= %{qt6_version}
|
2016-04-11 07:04:09 +00:00
|
|
|
|
|
|
|
%description
|
2016-12-12 16:42:13 +00:00
|
|
|
The mailimporter library is a KDE PIM project to provide a framework
|
|
|
|
for importing mail from different formats into Mail User Agents such as
|
|
|
|
KMail or Kontact.
|
2016-04-11 07:04:09 +00:00
|
|
|
|
2017-08-11 23:01:17 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for mailimporter
|
2018-03-10 12:11:39 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2024-02-23 20:08:51 +00:00
|
|
|
Requires: libKPim6MailImporter6 = %{version}
|
|
|
|
Requires: libKPim6MailImporterAkonadi6 = %{version}
|
|
|
|
Requires: cmake(KF6Archive) >= %{kf6_version}
|
2016-04-11 07:04:09 +00:00
|
|
|
|
2017-08-11 23:01:17 +00:00
|
|
|
%description devel
|
|
|
|
This package provides the development headers of the mailimporter library.
|
2016-04-11 07:04:09 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%package -n libKPim6MailImporter6
|
2016-04-11 07:04:09 +00:00
|
|
|
Summary: MailImporter library for kdepim
|
2018-03-10 12:11:39 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2023-03-20 08:52:29 +00:00
|
|
|
Requires: mailimporter >= %{version}
|
2024-05-23 20:34:50 +00:00
|
|
|
Obsoletes: libKF5MailImporter5 < %{version}
|
|
|
|
Obsoletes: libKPim5MailImporter5 < %{version}
|
2016-04-11 07:04:09 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%description -n libKPim6MailImporter6
|
2016-12-12 16:42:13 +00:00
|
|
|
This package provides the mailimporter library, used by KDE PIM applications
|
|
|
|
to import data from other mail formats (such as mbox, Maildir...).
|
2016-04-11 07:04:09 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%package -n libKPim6MailImporterAkonadi6
|
2017-03-26 07:25:27 +00:00
|
|
|
Summary: MailImporter Akonadi based library for kdepim
|
2018-03-10 12:11:39 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2023-03-20 08:52:29 +00:00
|
|
|
Requires: mailimporter >= %{version}
|
2024-05-23 20:34:50 +00:00
|
|
|
Obsoletes: libKF5MailImporterAkonadi5 < %{version}
|
|
|
|
Obsoletes: libKPim5MailImporterAkonadi5 < %{version}
|
2017-03-26 07:25:27 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%description -n libKPim6MailImporterAkonadi6
|
2017-03-26 07:25:27 +00:00
|
|
|
This package provides the mailimporter library for Akonadi based functions,
|
|
|
|
used by KDE PIM applications to import data from other mail formats
|
|
|
|
(such as mbox, Maildir...).
|
|
|
|
|
2017-08-11 23:01:17 +00:00
|
|
|
%lang_package
|
2017-03-26 07:25:27 +00:00
|
|
|
|
2017-08-11 23:01:17 +00:00
|
|
|
%prep
|
2021-04-19 13:31:13 +00:00
|
|
|
%autosetup -p1
|
2016-04-11 07:04:09 +00:00
|
|
|
|
2017-08-11 23:01:17 +00:00
|
|
|
%build
|
2024-02-23 20:08:51 +00:00
|
|
|
%cmake_kf6 -DBUILD_QCH:BOOL=TRUE
|
2017-08-11 23:01:17 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%kf6_build
|
2017-08-11 23:01:17 +00:00
|
|
|
|
|
|
|
%install
|
2024-02-23 20:08:51 +00:00
|
|
|
%kf6_install
|
2022-11-17 22:58:55 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%find_lang %{name} --all-name
|
2017-08-11 23:01:17 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%ldconfig_scriptlets -n libKPim6MailImporter6
|
|
|
|
%ldconfig_scriptlets -n libKPim6MailImporterAkonadi6
|
2023-03-20 08:52:29 +00:00
|
|
|
|
|
|
|
%files
|
2024-02-23 20:08:51 +00:00
|
|
|
%{_kf6_debugdir}/mailimporter.categories
|
|
|
|
%{_kf6_debugdir}/mailimporter.renamecategories
|
2016-04-11 07:04:09 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%files -n libKPim6MailImporter6
|
2020-11-21 12:58:50 +00:00
|
|
|
%license LICENSES/*
|
2024-02-23 20:08:51 +00:00
|
|
|
%{_kf6_libdir}/libKPim6MailImporter.so.*
|
2016-04-11 07:04:09 +00:00
|
|
|
|
2024-02-23 20:08:51 +00:00
|
|
|
%files -n libKPim6MailImporterAkonadi6
|
|
|
|
%{_kf6_libdir}/libKPim6MailImporterAkonadi.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc %{_kf6_qchdir}/KPim6MailImporter.*
|
|
|
|
%doc %{_kf6_qchdir}/KPim6MailImporterAkonadi.*
|
|
|
|
%{_includedir}/KPim6/MailImporter/
|
|
|
|
%{_includedir}/KPim6/MailImporterAkonadi/
|
|
|
|
%{_kf6_cmakedir}/KPim6MailImporter/
|
|
|
|
%{_kf6_cmakedir}/KPim6MailImporterAkonadi/
|
|
|
|
%{_kf6_libdir}/libKPim6MailImporter.so
|
|
|
|
%{_kf6_libdir}/libKPim6MailImporterAkonadi.so
|
2016-08-09 07:38:52 +00:00
|
|
|
|
2017-04-15 13:29:04 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2016-04-11 07:04:09 +00:00
|
|
|
%changelog
|