2020-11-21 12:58:50 +00:00
committed by Git OBS Bridge
parent 02aea96f58
commit 2a9c7a9792
7 changed files with 47 additions and 23 deletions

View File

@@ -16,18 +16,18 @@
#
%define kf5_version 5.66.0
%define kf5_version 5.75.0
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: mailimporter
Version: 20.08.3
Version: 20.11.80
Release: 0
Summary: Mail import functionality for KDE PIM
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
URL: https://www.kde.org
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: kf5-filesystem
BuildRequires: cmake(KF5Akonadi)
@@ -46,7 +46,7 @@ BuildRequires: cmake(Qt5Xml)
# It can only build on the same platforms as Qt Webengine
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
%if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
Recommends: %{name}-lang
@@ -110,7 +110,7 @@ used by KDE PIM applications to import data from other mail formats
%postun -n libKF5MailImporterAkonadi5 -p /sbin/ldconfig
%files devel
%license COPYING*
%license LICENSES/*
%{_kf5_cmakedir}/KF5MailImporter/
%{_kf5_cmakedir}/KF5MailImporterAkonadi/
%{_kf5_includedir}/MailImporter/
@@ -125,21 +125,21 @@ used by KDE PIM applications to import data from other mail formats
%{_kf5_mkspecsdir}/qt_MailImporterAkonadi.pri
%files -n libKF5MailImporter5
%license COPYING*
%license LICENSES/*
%{_kf5_libdir}/libKF5MailImporter.so.*
%files -n libKF5MailImporterAkonadi5
%license COPYING*
%license LICENSES/*
%{_kf5_libdir}/libKF5MailImporterAkonadi.so.*
%files
%license COPYING*
%license LICENSES/*
%{_kf5_debugdir}/mailimporter.categories
%{_kf5_debugdir}/mailimporter.renamecategories
%if %{with lang}
%files lang -f %{name}.lang
%license COPYING*
%license LICENSES/*
%endif
%changelog