1 Star 0 Fork 9

zhangxianjun/kf5-kmailtransport

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
kf5-kmailtransport.spec 3.60 KB
一键复制 编辑 原始数据 按行查看 历史
zhangxianjun 提交于 2024-11-15 15:43 . upgrade to version 24.08.3
%global framework kmailtransport
# uncomment to enable bootstrap mode
# global bootstrap 1
%if !0%{?bootstrap}
%global tests 1
%endif
Name: kf5-%{framework}
Version: 24.08.3
Release: 1
Summary: The KMailTransport Library
License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework}
Source0: http://download.kde.org/stable/release-service/%{version}/src/%{framework}-%{version}.tar.xz
# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
BuildRequires: cyrus-sasl-devel
%global kf5_ver 5.71
BuildRequires: extra-cmake-modules >= %{kf5_ver}
BuildRequires: kf5-rpm-macros
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5KCMUtils)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Wallet)
#global majmin_ver %(echo %{version} | cut -d. -f1,2)
%global majmin_ver %{version}
BuildRequires: kf5-kmime-devel >= %{majmin_ver}
BuildRequires: kf5-akonadi-mime-devel >= %{majmin_ver}
BuildRequires: kf5-akonadi-server-devel >= %{majmin_ver}
BuildRequires: kf5-ksmtp-devel >= %{majmin_ver}
BuildRequires: libkgapi-devel >= %{majmin_ver}
BuildRequires: cmake(KF5Akonadi)
BuildRequires: cmake(KF5AkonadiMime)
BuildRequires: cmake(KPim5Mime)
BuildRequires: cmake(KPim5SMTP)
BuildRequires: qt5-qtbase-devel
BuildRequires: cmake(Qt5Keychain)
%if 0%{?tests}
BuildRequires: dbus-x11
BuildRequires: xorg-x11-server-Xvfb
%endif
Conflicts: kdepimlibs-akonadi < 4.14.10-4
# kio/smtp.so moved here
Conflicts: kf5-akonadi < 16.07
%description
%{summary}.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: kf5-kwallet-devel
Requires: kf5-kmime-devel
Requires: kf5-akonadi-mime-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -n %{framework}-%{version} -p1
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
popd
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name} --all-name --with-html
%check
%if 0%{?tests}
export CTEST_OUTPUT_ON_FAILURE=1
xvfb-run -a \
dbus-launch --exit-with-session \
make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
%endif
%ldconfig_scriptlets
%files -f %{name}.lang
%license LICENSES/*
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
%{_kf5_libdir}/libKPim5MailTransport.so.*
%{_kf5_datadir}/config.kcfg/mailtransport.kcfg
%dir %{_kf5_qtplugindir}/pim5
%{_kf5_qtplugindir}/pim5/mailtransport/mailtransport_smtpplugin.so
%files devel
%{_includedir}/KPim5/MailTransport/
%{_kf5_libdir}/libKPim5MailTransport.so
%{_kf5_libdir}/cmake/KF5MailTransport/
%{_kf5_libdir}/cmake/KPim5MailTransport/
%{_kf5_archdatadir}/mkspecs/modules/qt_KMailTransport.pri
%changelog
* Fri Nov 15 2024 zhangxianjun <zhangxianjun@kylinos.cn> - 24.08.3-1
- update to version 24.08.3
* Mon Mar 18 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.5-1
- update verison to 23.08.5
* Wed Jan 17 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.4-2
- fix install error of kf5-kmailtransport-devel
* Tue Jan 16 2024 misaka00251 <liuxin@iscas.ac.cn> - 23.08.4-1
- Upgrade to 23.08.4
* Mon Aug 14 2023 huayadong <huayadong@kylinos.cn> - 23.04.3-1
- update to 23.04.3-1
* Mon Apr 24 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 22.12.0-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangxianjun87/kf5-kmailtransport.git
git@gitee.com:zhangxianjun87/kf5-kmailtransport.git
zhangxianjun87
kf5-kmailtransport
kf5-kmailtransport
master

搜索帮助