]> git.pld-linux.org Git - packages/ka5-cantor.git/blobdiff - ka5-cantor.spec
- updated to 22.12.1
[packages/ka5-cantor.git] / ka5-cantor.spec
index 66eff9d305fad64156d512437d1b799ea232dfed..783af6c60724e918aeda9d10c9541e6dce398ade 100644 (file)
@@ -1,26 +1,28 @@
 #
 # Conditional build:
 %bcond_without luajit          # build without luajit
+%bcond_with    tests           # build with tests
 #
 %ifarch x32
 %undefine      with_luajit
 %endif
 
-%define                kdeappsver      21.08.0
-%define                kframever       5.56.0
-%define                qtver           5.9.0
+%define                kdeappsver      22.12.1
+%define                kframever       5.94.0
+%define                qtver           5.15.2
 %define                kaname          cantor
 Summary:       Cantor
 Name:          ka5-%{kaname}
-Version:       21.08.0
-Release:       2
+Version:       22.12.1
+Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 810e0db92838b20e30e37799f8377640
-URL:           http://www.kde.org/
+Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: cb25ed9181cae353978742ae47da8c05
+URL:           https://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel
+BuildRequires: Qt5Help-devel
 BuildRequires: Qt5Network-devel >= 5.11.1
 BuildRequires: Qt5PrintSupport-devel
 BuildRequires: Qt5Svg-devel
@@ -54,11 +56,14 @@ BuildRequires:      libmarkdown-devel
 BuildRequires: libqalculate-devel >= 2.8.2
 %{?with_luajit:BuildRequires:  luajit-devel}
 BuildRequires: ninja
+BuildRequires: poppler-qt5-devel
+BuildRequires: qt5-assistant
 BuildRequires: qt5-build >= %{qtver}
 BuildRequires: rpmbuild(macros) >= 1.164
 BuildRequires: shared-mime-info
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
+ExcludeArch:   x32
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -116,11 +121,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.17406 seconds and 4 git commands to generate.