[packages/ka5-libkleo] - updated to 19.04.1 - packaged docs - macro kframever
witekfl
witekfl at pld-linux.org
Mon May 13 11:23:50 CEST 2019
commit ce95e6696f9a84fdaf9be8a32ffbc929a1673a63
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon May 13 11:23:44 2019 +0200
- updated to 19.04.1
- packaged docs
- macro kframever
ka5-libkleo.spec | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/ka5-libkleo.spec b/ka5-libkleo.spec
index 57b29fa..15edc8b 100644
--- a/ka5-libkleo.spec
+++ b/ka5-libkleo.spec
@@ -1,30 +1,32 @@
-%define kdeappsver 18.12.1
+%define kdeappsver 19.04.1
+%define kframever 5.56.0
%define qtver 5.9.0
%define kaname libkleo
Summary: Kleo library
Summary(pl.UTF-8): Biblioteka kleo
Name: ka5-%{kaname}
-Version: 18.12.1
+Version: 19.04.1
Release: 1
License: GPL v2+
Group: X11/Libraries
Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: befc02f6078fefe59233cfbe90413159
+# Source0-md5: f96647daa1524027cc945bb28403f01d
URL: http://www.kde.org/
BuildRequires: Qt5Gui-devel >= 5.11.1
BuildRequires: Qt5Widgets-devel
BuildRequires: boost-devel >= 1.34.0
BuildRequires: gettext-devel
BuildRequires: gpgme-qt5-devel >= 1.8.0
-BuildRequires: kf5-extra-cmake-modules >= 5.51.0
-BuildRequires: kf5-kcodecs-devel >= 5.51.0
-BuildRequires: kf5-kcompletion-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-kitemmodels-devel >= 5.51.0
-BuildRequires: kf5-kwidgetsaddons-devel >= 5.51.0
-BuildRequires: kf5-kwindowsystem-devel >= 5.51.0
+BuildRequires: kf5-extra-cmake-modules >= %{kframever}
+BuildRequires: kf5-kcodecs-devel >= %{kframever}
+BuildRequires: kf5-kcompletion-devel >= %{kframever}
+BuildRequires: kf5-kconfig-devel >= %{kframever}
+BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
+BuildRequires: kf5-ki18n-devel >= %{kframever}
+BuildRequires: kf5-kitemmodels-devel >= %{kframever}
+BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever}
+BuildRequires: kf5-kwindowsystem-devel >= %{kframever}
+BuildRequires: ninja
BuildRequires: rpmbuild(macros) >= 1.164
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,15 +54,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-libkleo.git/commitdiff/ce95e6696f9a84fdaf9be8a32ffbc929a1673a63
More information about the pld-cvs-commit
mailing list