[packages/ka5-kcontacts] - updated to 19.04.1 - packaged docs - macro kframever
witekfl
witekfl at pld-linux.org
Mon May 13 11:22:10 CEST 2019
commit b4b108ff6fdc885018a14b4fcb671cc38eaf0b18
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon May 13 11:22:01 2019 +0200
- updated to 19.04.1
- packaged docs
- macro kframever
ka5-kcontacts.spec | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/ka5-kcontacts.spec b/ka5-kcontacts.spec
index 9bd6b88..44186ec 100644
--- a/ka5-kcontacts.spec
+++ b/ka5-kcontacts.spec
@@ -1,14 +1,14 @@
-%define kdeappsver 18.12.1
+%define kdeappsver 19.04.1
%define qtver 5.9.0
%define kaname kcontacts
Summary: kcontacts
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: 9f1c36e2c6699e40840d60fac24bc41b
+# Source0-md5: e7c766c8a166e73152e5b71b18c74c34
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel
@@ -20,6 +20,7 @@ BuildRequires: kf5-kcodecs-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: ninja
BuildRequires: qt5-build >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.164
BuildRequires: shared-mime-info
@@ -49,15 +50,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-kcontacts.git/commitdiff/b4b108ff6fdc885018a14b4fcb671cc38eaf0b18
More information about the pld-cvs-commit
mailing list