[packages/kf5-kdewebkit] - up to 5.13.0
arekm
arekm at pld-linux.org
Fri Sep 4 19:36:03 CEST 2015
commit 729730baf822d3a02a1fded6a04c4c22a7917e19
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Sep 4 19:35:58 2015 +0200
- up to 5.13.0
kf5-kdewebkit.spec | 46 +++++++++++++++-------------------------------
1 file changed, 15 insertions(+), 31 deletions(-)
---
diff --git a/kf5-kdewebkit.spec b/kf5-kdewebkit.spec
index cafced8..9a8bd2e 100644
--- a/kf5-kdewebkit.spec
+++ b/kf5-kdewebkit.spec
@@ -1,19 +1,14 @@
-# TODO:
-# Not packaged:
-# /usr/include/KF5
-# /usr/share/kservicetypes5
-
-%define _state stable
-%define orgname kdewebkit
-
+%define kdeframever 5.13
+%define qtver 5.3.2
+%define kfname kdewebkit
Summary: Integration of the HTML rendering engine WebKit
-Name: kf5-%{orgname}
-Version: 5.0.0
-Release: 0.1
+Name: kf5-%{kfname}
+Version: 5.13.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: b1d09a5a52288b73ae829fdbb5897016
+Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 8e30416bbd07c100fb0fbe13e42e24c7
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel
BuildRequires: Qt5DBus-devel >= 5.2.0
@@ -76,36 +71,25 @@ QWebPage. See the documentation for those classes for more
information.
%package devel
-Summary: Header files for %{orgname} development
-Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{orgname}
+Summary: Header files for %{kfname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
-Header files for %{orgname} development.
+Header files for %{kfname} development.
%description devel -l pl.UTF-8
-Pliki nagłówkowe dla programistów używających %{orgname}.
+Pliki nagłówkowe dla programistów używających %{kfname}.
%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}
@@ -125,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README.md
%attr(755,root,root) %ghost %{_libdir}/libKF5WebKit.so.5
-%attr(755,root,root) %{_libdir}/libKF5WebKit.so.5.0.0
+%attr(755,root,root) %{_libdir}/libKF5WebKit.so.*.*.*
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf5-kdewebkit.git/commitdiff/729730baf822d3a02a1fded6a04c4c22a7917e19
More information about the pld-cvs-commit
mailing list