[packages/kf5-kapidox] - up to 5.10

arekm arekm at pld-linux.org
Sun May 24 14:39:21 CEST 2015


commit e31350bcc37649018f5fd575f34b101598745e43
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun May 24 14:39:16 2015 +0200

    - up to 5.10

 kf5-kapidox.spec | 34 +++++++++++-----------------------
 1 file changed, 11 insertions(+), 23 deletions(-)
---
diff --git a/kf5-kapidox.spec b/kf5-kapidox.spec
index 0f9004c..551f9e0 100644
--- a/kf5-kapidox.spec
+++ b/kf5-kapidox.spec
@@ -1,19 +1,18 @@
 # TODO:
-# - set ECM_MKSPECS_INSTALL_DIR in kde5-extra-cmake-modules
 # - runtime Requires if any
 # - python3 version
 # - .pyo etc
-%define         _state          stable
-%define		orgname		kapidox
-
+%define         kdeframever     5.10
+%define         qtver           5.3.2
+%define         kfname          kapidox
 Summary:	Kapidox
-Name:		kf5-%{orgname}
-Version:	5.0.0
-Release:	0.4
+Name:		kf5-%{kfname}
+Version:	5.10.0
+Release:	1
 License:	LGPL v2.1+
 Group:		X11/Libraries
-Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/%{version}/%{orgname}-%{version}.tar.xz
-# Source0-md5:	682af5d0c1f01149106f28f9d82d09d9
+Source0:	http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5:	75885e5ea056b9b9a4245de39e438b92
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= 5.2.0
 BuildRequires:	Qt5DBus-devel >= 5.2.0
@@ -45,25 +44,14 @@ settings from the target framework or other module) and a standard
 template for the generated documentation.
 
 %prep
-%setup -q -n %{orgname}-%{version}
+%setup -q -n %{kfname}-%{version}
 
 %build
 install -d build
 cd build
 %cmake \
-	-DBIN_INSTALL_DIR=%{_bindir} \
-	-DKCFG_INSTALL_DIR=%{_datadir}/config.kcfg \
-	-DPLUGIN_INSTALL_DIR=%{qt5dir}/plugins \
-	-DQT_PLUGIN_INSTALL_DIR=%{qt5dir}/plugins \
-	-DQML_INSTALL_DIR=%{qt5dir}/qml \
-	-DIMPORTS_INSTALL_DIR=%{qt5dirs}/imports \
-	-DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
-	-DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
-	-DKF5_LIBEXEC_INSTALL_DIR=%{_libexecdir} \
-	-DKF5_INCLUDE_INSTALL_DIR=%{_includedir} \
-	-DECM_MKSPECS_INSTALL_DIR=%{qt5dir}/mkspecs/modules \
-	-D_IMPORT_PREFIX=%{_prefix} \
-	../
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	..
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-kapidox.git/commitdiff/e31350bcc37649018f5fd575f34b101598745e43



More information about the pld-cvs-commit mailing list