[packages/ka5-mailimporter] - updated to 19.04.1 - packaged docs - macro kframever
witekfl
witekfl at pld-linux.org
Mon May 13 11:24:27 CEST 2019
commit 9c616ada6298ab53c77577ddc929116fe129f274
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon May 13 11:24:22 2019 +0200
- updated to 19.04.1
- packaged docs
- macro kframever
ka5-mailimporter.spec | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/ka5-mailimporter.spec b/ka5-mailimporter.spec
index f5f6fdb..4c7a983 100644
--- a/ka5-mailimporter.spec
+++ b/ka5-mailimporter.spec
@@ -1,14 +1,15 @@
-%define kdeappsver 18.12.1
+%define kdeappsver 19.04.1
+%define kframever 5.56.0
%define qtver 5.9.0
%define kaname mailimporter
Summary: mailimporter
Name: ka5-%{kaname}
-Version: 18.12.1
+Version: 19.04.1
Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Applications
Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: bb0e2bee396cfdd58bcb3ab27b4a2105
+# Source0-md5: 293c0d0abdb0fe8096f698a2f0fe92a7
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel >= 5.11.1
@@ -21,11 +22,12 @@ BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
BuildRequires: ka5-akonadi-mime-devel >= %{kdeappsver}
BuildRequires: ka5-kmime-devel >= %{kdeappsver}
BuildRequires: ka5-libkdepim-devel >= %{kdeappsver}
-BuildRequires: kf5-extra-cmake-modules >= 5.51.0
-BuildRequires: kf5-karchive-devel >= 5.51.0
-BuildRequires: kf5-kconfig-devel >= 5.51.0
-BuildRequires: kf5-kcoreaddons-devel >= 5.51.0
-BuildRequires: kf5-ki18n-devel >= 5.51.0
+BuildRequires: kf5-extra-cmake-modules >= %{kframever}
+BuildRequires: kf5-karchive-devel >= %{kframever}
+BuildRequires: kf5-kconfig-devel >= %{kframever}
+BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
+BuildRequires: kf5-ki18n-devel >= %{kframever}
+BuildRequires: ninja
BuildRequires: qt5-build >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.164
BuildRequires: shared-mime-info
@@ -54,15 +56,15 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
%build
install -d build
cd build
-%cmake \
+%cmake -G Ninja \
+ -DHTML_INSTALL_DIR=%{_kdedocdir} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
..
-%{__make}
+%ninja_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install \
- DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
%find_lang %{kaname} --all-name --with-kde
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-mailimporter.git/commitdiff/9c616ada6298ab53c77577ddc929116fe129f274
More information about the pld-cvs-commit
mailing list