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