2015-08-07 08:32:27 +00:00
|
|
|
#
|
|
|
|
# spec file for package kimap
|
|
|
|
#
|
2023-03-02 14:21:10 +00:00
|
|
|
# Copyright (c) 2023 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
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-08-18 06:25:24 +00:00
|
|
|
%define kf5_version 5.105.0
|
2023-03-20 08:51:53 +00:00
|
|
|
%define libname libKPim5IMAP5
|
2022-01-06 12:44:44 +00:00
|
|
|
%bcond_without released
|
2018-11-24 23:44:48 +00:00
|
|
|
Name: kimap
|
2023-12-07 22:53:21 +00:00
|
|
|
Version: 23.08.4
|
2018-11-24 23:44:48 +00:00
|
|
|
Release: 0
|
2015-08-07 08:32:27 +00:00
|
|
|
Summary: KDE PIM Libraries: IMAP library
|
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
|
2023-08-24 10:28:35 +00:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 12:44:44 +00:00
|
|
|
%if %{with released}
|
2023-08-24 10:28:35 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{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
|
2016-07-20 12:35:15 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= 5.19.0
|
2015-08-07 08:32:27 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
2019-11-29 11:39:43 +00:00
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
2023-03-20 08:51:53 +00:00
|
|
|
BuildRequires: cmake(KPim5Mime)
|
2019-11-29 11:39:43 +00:00
|
|
|
BuildRequires: cmake(Qt5Test)
|
2023-04-21 14:48:48 +00:00
|
|
|
Conflicts: libKF5IMAP5 < %{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
|
|
|
|
2023-03-20 08:51:53 +00:00
|
|
|
%package -n %{libname}
|
2015-08-07 08:32:27 +00:00
|
|
|
Summary: KDE PIM Libraries: IMAP APIs
|
2017-08-22 15:40:02 +00:00
|
|
|
Provides: %{name} = %{version}
|
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
|
2023-04-21 14:48:48 +00:00
|
|
|
%requires_eq %{name}
|
2023-03-20 08:51:53 +00:00
|
|
|
# Renamed
|
2023-05-11 10:14:27 +00:00
|
|
|
Obsoletes: kimap-lang <= 23.04.0
|
2015-08-07 08:32:27 +00:00
|
|
|
|
2023-03-20 08:51:53 +00:00
|
|
|
%description -n %{libname}
|
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
|
|
|
|
Summary: KDE PIM Libraries: Build Environment
|
|
|
|
Requires: cyrus-sasl-devel
|
2023-03-20 08:51:53 +00:00
|
|
|
Requires: %{libname} = %{version}
|
2019-11-29 11:39:43 +00:00
|
|
|
Requires: cmake(KF5CoreAddons) >= %{kf5_version}
|
2023-03-20 08:51:53 +00:00
|
|
|
Requires: cmake(KPim5Mime)
|
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
|
|
|
|
2023-03-20 08:51:53 +00:00
|
|
|
%lang_package -n %{libname}
|
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
|
|
|
%cmake_kf5 -d build -- -DBUILD_TESTING=ON
|
|
|
|
|
2022-11-17 22:58:23 +00:00
|
|
|
%cmake_build
|
2015-08-07 08:32:27 +00:00
|
|
|
|
|
|
|
%install
|
2022-11-17 22:58:23 +00:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2023-03-20 08:51:53 +00:00
|
|
|
%find_lang %{libname} --with-man --all-name
|
2015-08-07 08:32:27 +00:00
|
|
|
|
2023-03-20 08:51:53 +00:00
|
|
|
%ldconfig_scriptlets -n %{libname}
|
2015-08-07 08:32:27 +00:00
|
|
|
|
2023-04-21 14:48:48 +00:00
|
|
|
%files
|
2020-07-22 19:32:14 +00:00
|
|
|
%license LICENSES/*
|
2018-04-10 13:20:22 +00:00
|
|
|
%{_kf5_debugdir}/*.categories
|
|
|
|
%{_kf5_debugdir}/*.renamecategories
|
2023-04-21 14:48:48 +00:00
|
|
|
|
|
|
|
%files -n %{libname}
|
2023-03-20 08:51:53 +00:00
|
|
|
%{_kf5_libdir}/libKPim5IMAP.so.*
|
2015-08-07 08:32:27 +00:00
|
|
|
|
|
|
|
%files devel
|
2023-03-20 08:51:53 +00:00
|
|
|
%dir %{_includedir}/KPim5
|
|
|
|
%{_includedir}/KPim5/KIMAP/
|
|
|
|
%{_includedir}/KPim5/KIMAPTest/
|
2017-08-11 22:56:39 +00:00
|
|
|
%{_kf5_cmakedir}/KF5IMAP/
|
2023-03-20 08:51:53 +00:00
|
|
|
%{_kf5_cmakedir}/KPim5IMAP/
|
|
|
|
%{_kf5_libdir}/libKPim5IMAP.so
|
2015-08-07 08:32:27 +00:00
|
|
|
%{_kf5_libdir}/libkimaptest.a
|
|
|
|
%{_kf5_mkspecsdir}/qt_KIMAP.pri
|
|
|
|
|
2023-03-20 08:51:53 +00:00
|
|
|
%files -n %{libname}-lang -f %{libname}.lang
|
2017-04-15 13:28:23 +00:00
|
|
|
|
2015-08-07 08:32:27 +00:00
|
|
|
%changelog
|