[packages/ka5-calendarsupport] - updated to 19.04.1 - packaged docs - macro kframever

witekfl witekfl at pld-linux.org
Mon May 13 11:24:15 CEST 2019


commit 931cb5102a31ba9ef1153e61b9834b0dc19e0c7c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon May 13 11:24:10 2019 +0200

    - updated to 19.04.1
    - packaged docs
    - macro kframever

 ka5-calendarsupport.spec | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/ka5-calendarsupport.spec b/ka5-calendarsupport.spec
index 4e5f31d..8e75734 100644
--- a/ka5-calendarsupport.spec
+++ b/ka5-calendarsupport.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		calendarsupport
 Summary:	Calendarsupport
 Name:		ka5-%{kaname}
-Version:	18.12.1
+Version:	19.04.1
 Release:	1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Libraries
 Source0:	http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5:	3056562151a3c7afeb395466b6ca5225
+# Source0-md5:	6bcf7dd2362091c814beffc92c8223cc
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Gui-devel >= 5.11.1
@@ -30,13 +31,14 @@ BuildRequires:	ka5-kimap-devel >= %{kdeappsver}
 BuildRequires:	ka5-kmime-devel >= %{kdeappsver}
 BuildRequires:	ka5-pimcommon-devel >= %{kdeappsver}
 BuildRequires:	ka5-pimcommon-devel >= %{kdeappsver}
-BuildRequires:	kf5-extra-cmake-modules >= 5.53.0
-BuildRequires:	kf5-kcodecs-devel >= 5.51.0
-BuildRequires:	kf5-kguiaddons-devel >= 5.51.0
-BuildRequires:	kf5-kholidays-devel >= 5.51.0
-BuildRequires:	kf5-ki18n-devel >= 5.51.0
-BuildRequires:	kf5-kiconthemes-devel >= 5.51.0
-BuildRequires:	kf5-kio-devel >= 5.51.0
+BuildRequires:	kf5-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf5-kcodecs-devel >= %{kframever}
+BuildRequires:	kf5-kguiaddons-devel >= %{kframever}
+BuildRequires:	kf5-kholidays-devel >= %{kframever}
+BuildRequires:	kf5-ki18n-devel >= %{kframever}
+BuildRequires:	kf5-kiconthemes-devel >= %{kframever}
+BuildRequires:	kf5-kio-devel >= %{kframever}
+BuildRequires:	ninja
 BuildRequires:	qt5-build >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.164
 BuildRequires:	shared-mime-info
@@ -65,15 +67,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-calendarsupport.git/commitdiff/931cb5102a31ba9ef1153e61b9834b0dc19e0c7c



More information about the pld-cvs-commit mailing list