[packages/ka5-okular] - updated to 23.08.0; cmake -B build
witekfl
witekfl at pld-linux.org
Thu Aug 24 18:28:26 CEST 2023
commit 56f10afe936e5f46729ef8abc2c6371065a17549
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Aug 24 17:59:36 2023 +0200
- updated to 23.08.0; cmake -B build
ka5-okular.spec | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/ka5-okular.spec b/ka5-okular.spec
index ed3fd5b..d2f8bb9 100644
--- a/ka5-okular.spec
+++ b/ka5-okular.spec
@@ -1,22 +1,22 @@
#
# Conditional build:
%bcond_with tests # build with tests
-%define kdeappsver 23.04.3
+%define kdeappsver 23.08.0
%define kframever 5.94.0
%define qtver 5.15.2
%define kaname okular
Summary: KDE universal document viewer
Name: ka5-%{kaname}
-Version: 23.04.3
+Version: 23.08.0
Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Applications
Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 54f1b87934fce15fc72b56090b0828bf
+# Source0-md5: a2954ce44781b4535c64be2be27fc5de
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: chmlib-devel
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.20
BuildRequires: djvulibre-devel
BuildRequires: ebook-tools-devel
BuildRequires: exiv2-devel
@@ -93,18 +93,16 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
%setup -q -n %{kaname}-%{version}
%build
-install -d build
-cd build
%cmake \
+ -B build \
-G Ninja \
%{!?with_tests:-DBUILD_TESTING=OFF} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
- -DHTML_INSTALL_DIR=%{_kdedocdir} \
- ..
-%ninja_build
+ -DHTML_INSTALL_DIR=%{_kdedocdir}
+%ninja_build -C build
%if %{with tests}
-ctest
+ctest --test-dir build
%endif
@@ -126,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/okular
-%ghost %{_libdir}/libOkular5Core.so.10
+%ghost %{_libdir}/libOkular5Core.so.1?
%attr(755,root,root) %{_libdir}/libOkular5Core.so.*.*.*
%dir %{_libdir}/qt5/plugins/okular
%dir %{_libdir}/qt5/plugins/okular/generators
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-okular.git/commitdiff/56f10afe936e5f46729ef8abc2c6371065a17549
More information about the pld-cvs-commit
mailing list