2021-04-19 13:30:59 +00:00
committed by Git OBS Bridge
parent fb27760dfa
commit 579a898cf5
6 changed files with 37 additions and 28 deletions

View File

@@ -16,18 +16,22 @@
#
%define kf5_version 5.75.0
%define kf5_version 5.79.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: kimap
Version: 21.03.90
Version: 21.04.0
Release: 0
Summary: KDE PIM Libraries: IMAP library
License: LGPL-2.1-or-later
Group: System/GUI/KDE
URL: https://www.kde.org
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: cyrus-sasl-devel
BuildRequires: extra-cmake-modules >= 5.19.0
BuildRequires: kf5-filesystem
@@ -36,10 +40,6 @@ BuildRequires: cmake(KF5I18n) >= %{kf5_version}
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
BuildRequires: cmake(KF5Mime)
BuildRequires: cmake(Qt5Test)
%if %{with lang}
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
%description
KIMAP provides libraries to interface and communicate with
@@ -70,7 +70,7 @@ applications.
%lang_package
%prep
%setup -q -n kimap-%{version}
%autosetup -p1 -n kimap-%{version}
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
@@ -88,9 +88,9 @@ applications.
%files -n libKF5IMAP5
%license LICENSES/*
%{_kf5_libdir}/libKF5IMAP.so.*
%{_kf5_debugdir}/*.categories
%{_kf5_debugdir}/*.renamecategories
%{_kf5_libdir}/libKF5IMAP.so.*
%files devel
%license LICENSES/*