# # Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust # This package is part of the KDE Stack. # %define rel 1 Summary: Job-based library to send email through an SMTP server Name: ksmtp Version: 17.12.2 Release: %mkrel %rel License: GPLv2+ Group: System/Base Source0: http://fr2.rpmfind.net/linux/KDE/stable/plasma/%{name}-%{version}.tar.xz URL: https://www.kde.org/ BuildRequires: kf5-macros BuildRequires: cmake(Qt5Network) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Mime) BuildRequires: pkgconfig(libsasl2) # conflicts with mga6 packages Conflicts: kde-l10n-ar < 17.04.3-1 Conflicts: kde-l10n-bg < 17.04.3-1 Conflicts: kde-l10n-bs < 17.04.3-1 Conflicts: kde-l10n-ca < 17.04.3-1 Conflicts: kde-l10n-ca-valencia < 17.04.3-1 Conflicts: kde-l10n-cs < 17.04.3-1 Conflicts: kde-l10n-da < 17.04.3-1 Conflicts: kde-l10n-de < 17.04.3-1 Conflicts: kde-l10n-el < 17.04.3-1 Conflicts: kde-l10n-en_GB < 17.04.3-1 Conflicts: kde-l10n-en_US < 17.04.3-1 Conflicts: kde-l10n-es < 17.04.3-1 Conflicts: kde-l10n-et < 17.04.3-1 Conflicts: kde-l10n-eu < 17.04.3-1 Conflicts: kde-l10n-fa < 17.04.3-1 Conflicts: kde-l10n-fi < 17.04.3-1 Conflicts: kde-l10n-fr < 17.04.3-1 Conflicts: kde-l10n-ga < 17.04.3-1 Conflicts: kde-l10n-gl < 17.04.3-1 Conflicts: kde-l10n-he < 17.04.3-1 Conflicts: kde-l10n-hi < 17.04.3-1 Conflicts: kde-l10n-hr < 17.04.3-1 Conflicts: kde-l10n-hu < 17.04.3-1 Conflicts: kde-l10n-ia < 17.04.3-1 Conflicts: kde-l10n-id < 17.04.3-1 Conflicts: kde-l10n-is < 17.04.3-1 Conflicts: kde-l10n-it < 17.04.3-1 Conflicts: kde-l10n-ja < 17.04.3-1 Conflicts: kde-l10n-kk < 17.04.3-1 Conflicts: kde-l10n-km < 17.04.3-1 Conflicts: kde-l10n-ko < 17.04.3-1 Conflicts: kde-l10n-lt < 17.04.3-1 Conflicts: kde-l10n-lv < 17.04.3-1 Conflicts: kde-l10n-mr < 17.04.3-1 Conflicts: kde-l10n-nb < 17.04.3-1 Conflicts: kde-l10n-nds < 17.04.3-1 Conflicts: kde-l10n-nl < 17.04.3-1 Conflicts: kde-l10n-nn < 17.04.3-1 Conflicts: kde-l10n-pa < 17.04.3-1 Conflicts: kde-l10n-pl < 17.04.3-1 Conflicts: kde-l10n-pt < 17.04.3-1 Conflicts: kde-l10n-pt_BR < 17.04.3-1 Conflicts: kde-l10n-ro < 17.04.3-1 Conflicts: kde-l10n-ru < 17.04.3-1 Conflicts: kde-l10n-sk < 17.04.3-1 Conflicts: kde-l10n-sl < 17.04.3-1 Conflicts: kde-l10n-sr < 17.04.3-1 Conflicts: kde-l10n-sv < 17.04.3-1 Conflicts: kde-l10n-tr < 17.04.3-1 Conflicts: kde-l10n-ug < 17.04.3-1 Conflicts: kde-l10n-uk < 17.04.3-1 Conflicts: kde-l10n-wa < 17.04.3-1 Conflicts: kde-l10n-zh_CN < 17.04.3-1 Conflicts: kde-l10n-zh_TW < 17.04.3-1 Conflicts: kmailtransport < 17.12.0 %description Job-based library to send email through an SMTP server %files -f %name.lang %_sysconfdir/xdg/ksmtp.categories #-------------------------------------------------------------------- %define ksmtp_major 5 %define libksmtp %mklibname kpimsmtp %{ksmtp_major} %package -n %libksmtp Summary: Job-based library to send email through an SMTP server Group: System/Libraries Requires: %name = %version-%release %description -n %libksmtp Job-based library to send email through an SMTP server %files -n %libksmtp %{_kf5_libdir}/libKPimSMTP.so.%{ksmtp_major}* #-------------------------------------------------------------------- %define ksmtp_devel %mklibname ksmtp -d %package -n %ksmtp_devel Summary: Devel stuff for %name Group: Development/KDE and Qt Requires: %libksmtp = %version-%release Provides: %name-devel = %{version}-%{release} %description -n %ksmtp_devel This package contains header files needed if you wish to build applications based on %name. %files -n %ksmtp_devel %{_includedir}/KPim/KSMTP/ %{_includedir}/KPim/ksmtp_version.h %{_kf5_libdir}/libKPimSMTP.so %{_kf5_libdir}/cmake/KPimSMTP %{_qt5_prefix}/mkspecs/modules/qt_KSMTP.pri #-------------------------------------------------------------------- %prep %setup -q %autopatch -p1 %build %cmake_kf5 %make_build %install %make_install -C build %find_lang %{name} --all-name %changelog * Sat Feb 17 2018 neoclust <neoclust> 17.12.2-1.mga6 + Revision: 1202322 - New version 17.12.2 - Add package in mga6 * Sat Jan 20 2018 neoclust <neoclust> 17.12.1-1.mga7 + Revision: 1194961 - New version 17.12.1 * Thu Jan 04 2018 neoclust <neoclust> 17.12.0-2.mga7 + Revision: 1190262 - Add conflicts against kmailtransport to ease upgrade * Tue Jan 02 2018 neoclust <neoclust> 17.12.0-1.mga7 + Revision: 1189803 - imported package ksmtp