2015-08-07 10:32:27 +02:00
|
|
|
#
|
|
|
|
# spec file for package kimap
|
|
|
|
#
|
2024-02-23 21:08:18 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2015-08-07 10:32:27 +02: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:45:58 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-07 10:32:27 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-04-12 19:24:56 +02:00
|
|
|
%define kf6_version 6.0.0
|
2024-02-23 21:08:18 +01:00
|
|
|
%define qt6_version 6.6.0
|
2024-05-23 13:00:14 +02:00
|
|
|
%define kpim6_version 6.0.80
|
2024-02-23 21:08:18 +01:00
|
|
|
|
2022-01-06 13:44:44 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:44:48 +01:00
|
|
|
Name: kimap
|
2024-05-23 13:00:14 +02:00
|
|
|
Version: 24.05.0
|
2018-11-25 00:44:48 +01:00
|
|
|
Release: 0
|
2024-02-23 21:08:18 +01:00
|
|
|
Summary: Library to assist working with IMAP servers
|
2018-03-10 13:10:58 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2019-08-15 16:00:43 +02:00
|
|
|
URL: https://www.kde.org
|
2024-05-23 13:00:14 +02:00
|
|
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:44:44 +01:00
|
|
|
%if %{with released}
|
2024-05-23 13:00:14 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:30:59 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2015-08-07 10:32:27 +02:00
|
|
|
BuildRequires: cyrus-sasl-devel
|
2024-02-23 21:08:18 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KPim6Mime) >= %{kpim6_version}
|
|
|
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
2015-08-07 10:32:27 +02:00
|
|
|
|
|
|
|
%description
|
2018-04-10 15:20:22 +02:00
|
|
|
KIMAP provides libraries to interface and communicate with
|
|
|
|
IMAP mail servers.
|
2015-08-07 10:32:27 +02:00
|
|
|
|
2024-02-23 21:08:18 +01:00
|
|
|
%package -n libKPim6IMAP6
|
|
|
|
Summary: Library to assist working with IMAP servers
|
2021-05-29 18:36:20 +02:00
|
|
|
# Modules used for authentication
|
|
|
|
Requires: cyrus-sasl-crammd5
|
|
|
|
Requires: cyrus-sasl-digestmd5
|
|
|
|
Requires: cyrus-sasl-gssapi
|
|
|
|
Requires: cyrus-sasl-plain
|
|
|
|
Requires: sasl2-kdexoauth2
|
2024-02-23 21:08:18 +01:00
|
|
|
Requires: kimap >= %{version}
|
2023-05-11 12:14:27 +02:00
|
|
|
Obsoletes: kimap-lang <= 23.04.0
|
2024-05-23 23:01:10 +02:00
|
|
|
Obsoletes: libKF5IMAP5 < %{version}
|
|
|
|
Obsoletes: libKPim5IMAP5 < %{version}
|
2024-03-08 17:18:41 +01:00
|
|
|
Obsoletes: libKPim5IMAP5-lang < %{version}
|
2015-08-07 10:32:27 +02:00
|
|
|
|
2024-02-23 21:08:18 +01:00
|
|
|
%description -n libKPim6IMAP6
|
2018-04-10 15:20:22 +02:00
|
|
|
This package provides the core library to interface and communicate with
|
|
|
|
IMAP mail servers.
|
2015-08-07 10:32:27 +02:00
|
|
|
|
|
|
|
%package devel
|
2024-02-23 21:08:18 +01:00
|
|
|
Summary: Development files for kimap
|
2015-08-07 10:32:27 +02:00
|
|
|
Requires: cyrus-sasl-devel
|
2024-02-23 21:08:18 +01:00
|
|
|
Requires: libKPim6IMAP6 = %{version}
|
|
|
|
Requires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
Requires: cmake(KPim6Mime) >= %{kpim6_version}
|
2015-08-07 10:32:27 +02:00
|
|
|
|
|
|
|
%description devel
|
2018-04-10 15:20:22 +02:00
|
|
|
This package contains development headers to add IMAP support to PIM
|
|
|
|
applications.
|
2015-08-07 10:32:27 +02:00
|
|
|
|
2024-02-23 21:08:18 +01:00
|
|
|
%lang_package -n libKPim6IMAP6
|
2017-04-15 15:28:23 +02:00
|
|
|
|
2015-08-07 10:32:27 +02:00
|
|
|
%prep
|
2021-04-19 15:30:59 +02:00
|
|
|
%autosetup -p1 -n kimap-%{version}
|
2015-08-07 10:32:27 +02:00
|
|
|
|
|
|
|
%build
|
2022-11-17 23:58:23 +01:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2023-03-20 09:51:53 +01:00
|
|
|
|
2024-02-23 21:08:18 +01:00
|
|
|
%cmake_kf6 \
|
|
|
|
-DBUILD_QCH:BOOL=TRUE \
|
|
|
|
-DBUILD_TESTING:BOOL=TRUE
|
|
|
|
|
|
|
|
%kf6_build
|
2015-08-07 10:32:27 +02:00
|
|
|
|
|
|
|
%install
|
2024-02-23 21:08:18 +01:00
|
|
|
%kf6_install
|
2022-11-17 23:58:23 +01:00
|
|
|
|
2024-02-23 21:08:18 +01:00
|
|
|
%find_lang libKPim6IMAP6 --all-name
|
2015-08-07 10:32:27 +02:00
|
|
|
|
2024-02-23 21:08:18 +01:00
|
|
|
%ldconfig_scriptlets -n libKPim6IMAP6
|
2015-08-07 10:32:27 +02:00
|
|
|
|
2023-04-21 16:48:48 +02:00
|
|
|
%files
|
2024-02-23 21:08:18 +01:00
|
|
|
%{_kf6_debugdir}/*.categories
|
|
|
|
%{_kf6_debugdir}/*.renamecategories
|
2023-04-21 16:48:48 +02:00
|
|
|
|
2024-02-23 21:08:18 +01:00
|
|
|
%files -n libKPim6IMAP6
|
|
|
|
%license LICENSES/*
|
|
|
|
%{_kf6_libdir}/libKPim6IMAP.so.*
|
2015-08-07 10:32:27 +02:00
|
|
|
|
|
|
|
%files devel
|
2024-02-23 21:08:18 +01:00
|
|
|
%doc %{_kf6_qchdir}/KPim6Imap.*
|
|
|
|
%{_includedir}/KPim6/KIMAP/
|
|
|
|
%{_includedir}/KPim6/KIMAPTest/
|
|
|
|
%{_kf6_cmakedir}/KPim6IMAP/
|
|
|
|
%{_kf6_libdir}/libKPim6IMAP.so
|
|
|
|
%{_kf6_libdir}/libkimaptest6.a
|
|
|
|
|
|
|
|
%files -n libKPim6IMAP6-lang -f libKPim6IMAP6.lang
|
2017-04-15 15:28:23 +02:00
|
|
|
|
2015-08-07 10:32:27 +02:00
|
|
|
%changelog
|