Projects
Eulaceura:Factory
kmail
_service:obs_scm:kmail.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:kmail.spec of Package kmail
# uncomment to enable bootstrap mode %global bootstrap 1 %global majmin_ver %(echo %{version} | cut -d. -f1,2) %if !0%{?bootstrap} %global tests 1 %endif Name: kmail Summary: Mail client Version: 23.08.5 Release: 1 License: GPLv2 and GFDL-1.3-or-later URL: https://www.kde.org/applications/internet/kmail %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz %{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}} BuildRequires: boost-devel BuildRequires: cmake(Gpgmepp) cmake(QGpgme) BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: perl-generators BuildRequires: pkgconfig(phonon4qt5) BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtwebengine-devel BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: cmake(Grantlee5) BuildRequires: cmake(KF5Bookmarks) BuildRequires: cmake(KF5Codecs) BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5Crash) BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF5GuiAddons) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5ItemViews) BuildRequires: cmake(KF5JobWidgets) BuildRequires: cmake(KF5KCMUtils) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5NewStuff) BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5NotifyConfig) BuildRequires: cmake(KF5Parts) BuildRequires: cmake(KF5Service) BuildRequires: cmake(KF5Sonnet) BuildRequires: cmake(KF5TextAutoCorrectionWidgets) BuildRequires: cmake(KF5TextWidgets) BuildRequires: cmake(KF5WindowSystem) BuildRequires: cmake(KF5XmlGui) BuildRequires: kf5-akonadi-contacts-devel >= %{majmin_ver} BuildRequires: kf5-akonadi-mime-devel >= %{majmin_ver} BuildRequires: kf5-akonadi-search-devel >= %{majmin_ver} BuildRequires: kf5-akonadi-server-devel >= %{majmin_ver} BuildRequires: kf5-kcalendarcore-devel BuildRequires: kf5-kcalendarutils-devel >= %{majmin_ver} BuildRequires: kf5-kcontacts-devel >= %{majmin_ver} BuildRequires: kf5-kidentitymanagement-devel >= %{majmin_ver} BuildRequires: kf5-kldap-devel >= %{majmin_ver} BuildRequires: kf5-kmailtransport-devel >= %{majmin_ver} BuildRequires: kf5-kmime-devel >= %{majmin_ver} BuildRequires: kf5-kontactinterface-devel >= %{majmin_ver} BuildRequires: kf5-kpimtextedit-devel >= %{majmin_ver} BuildRequires: kf5-ktnef-devel >= %{majmin_ver} BuildRequires: kf5-libgravatar-devel >= %{majmin_ver} BuildRequires: kf5-libkdepim-devel >= %{majmin_ver} BuildRequires: kf5-libkleo-devel >= %{majmin_ver} BuildRequires: kf5-libksieve-devel >= %{majmin_ver}, cmake(KF5SyntaxHighlighting) BuildRequires: kf5-mailcommon-devel >= %{majmin_ver} BuildRequires: kf5-pimcommon-devel >= %{majmin_ver} BuildRequires: kf5-messagelib-devel >= %{majmin_ver} BuildRequires: kf5-pimcommon-devel >= %{majmin_ver} BuildRequires: cmake(KUserFeedback) BuildRequires: cmake(Qt5Keychain) %if 0%{?tests} BuildRequires: dbus-x11 BuildRequires: xorg-x11-server-Xvfb %endif Obsoletes: pim-storage-service-manager < 17.03 Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: akonadi-import-wizard >= %{majmin_ver} Requires: grantlee-editor >= %{majmin_ver} Requires: kdepim-runtime >= %{majmin_ver} Requires: kmail-account-wizard >= %{majmin_ver} Requires: pim-data-exporter >= %{majmin_ver} Requires: pim-sieve-editor >= %{majmin_ver} %description %{summary}. %package libs Summary: Runtime libraries for %{name} Requires: %{name} = %{version}-%{release} %description libs %{summary}. %prep %autosetup -n %{name}-%{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 rm -rfv %{buildroot}%{_kf5_datadir}/icons/locolor %check for f in %{buildroot}%{_kf5_datadir}/applications/*.desktop ; do desktop-file-validate $f done for f in %{buildroot}%{_kf5_metainfodir}/*.appdata.xml ; do appstream-util validate-relax --nonet $f done %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 %pretrans -p <lua> path = "%{_kf5_docdir}/HTML/en/kmail2" st = posix.stat(path) if st and st.type == "link" then os.remove(path) end %files -f %{name}.lang %license LICENSES/* %{_datadir}/dbus-1/interfaces/org.kde.kmail.*.xml %{_datadir}/dbus-1/services/org.kde.kmail.service %{_kf5_bindir}/kmail %{_kf5_bindir}/kmail-refresh-settings %{_kf5_datadir}/applications/kmail_view.desktop %{_kf5_datadir}/applications/org.kde.kmail-refresh-settings.desktop %{_kf5_datadir}/applications/org.kde.kmail2.desktop %{_kf5_datadir}/config.kcfg/kmail.kcfg %{_kf5_datadir}/icons/breeze-dark/*/*/* %{_kf5_datadir}/icons/hicolor/*/*/* %{_kf5_datadir}/kmail2/ %{_kf5_datadir}/knotifications5/kmail2.notifyrc %{_kf5_datadir}/qlogging-categories5/*kmail.* %{_kf5_metainfodir}/org.kde.kmail2.appdata.xml %{_kf5_datadir}/kxmlgui5/kontactsummary/ %{_kf5_datadir}/akonadi/agents/*.desktop %{_kf5_bindir}/akonadi_*_agent %{_kf5_datadir}/config.kcfg/archivemailagentsettings.kcfg %{_kf5_datadir}/knotifications5/akonadi_archivemail_agent.notifyrc %{_kf5_datadir}/knotifications5/akonadi_followupreminder_agent.notifyrc %{_kf5_datadir}/knotifications5/akonadi_mailfilter_agent.notifyrc %{_kf5_datadir}/knotifications5/akonadi_mailmerge_agent.notifyrc %{_kf5_datadir}/knotifications5/akonadi_sendlater_agent.notifyrc %{_kf5_bindir}/ktnef %{_kf5_datadir}/applications/org.kde.ktnef.desktop %ldconfig_scriptlets libs %files libs %{_kf5_libdir}/libkmailprivate.so.* %{_kf5_qtplugindir}/pim5/kcms/kmail/* %{_kf5_qtplugindir}/pim5/kcms/summary/* %{_kf5_qtplugindir}/kmailpart.so %dir %{_kf5_qtplugindir}/pim5/kontact/ %{_kf5_qtplugindir}/pim5/kontact/kontact_kmailplugin.so %{_kf5_qtplugindir}/pim5/kontact/kontact_summaryplugin.so %{_kf5_qtplugindir}/pim5/akonadi/config/ %changelog * Mon Mar 18 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.5-1 - update verison to 23.08.5 * Fri Jan 19 2024 Tianze Li <litianze@uniontech.com> - 23.08.4-1 - update to 23.08.4 * Wed Aug 23 2023 misaka00251 <liuxin@iscas.ac.cn> - 23.04.3-1 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2