projects
/
packages
/
ka5-eventviews.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5949b76
)
- bcond_with tests
author
Witold Filipczyk
<witekfl@poczta.onet.pl>
Tue, 5 Apr 2022 15:27:09 +0000
(17:27 +0200)
committer
Witold Filipczyk
<witekfl@poczta.onet.pl>
Tue, 5 Apr 2022 15:27:09 +0000
(17:27 +0200)
ka5-eventviews.spec
patch
|
blob
|
blame
|
history
diff --git
a/ka5-eventviews.spec
b/ka5-eventviews.spec
index 22dfa95d2c294add7a43fa7c2f0e129f156960e2..d58464d971f3ca93bdac745822ffb0f7c73e8803 100644
(file)
--- a/
ka5-eventviews.spec
+++ b/
ka5-eventviews.spec
@@
-1,3
+1,6
@@
+#
+# Conditional build:
+%bcond_with tests # build with tests
%define kdeappsver 21.12.3
%define kframever 5.56.0
%define qtver 5.9.0
@@
-68,11
+71,17
@@
install -d build
cd build
%cmake \
-G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
-DHTML_INSTALL_DIR=%{_kdedocdir} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
..
%ninja_build
+%if %{with tests}
+ctest
+%endif
+
+
%install
rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
This page took
0.032815 seconds
and
4
git commands to generate.