]> git.pld-linux.org Git - packages/ka5-kig.git/blobdiff - ka5-kig.spec
- updated to 22.12.3
[packages/ka5-kig.git] / ka5-kig.spec
index c22b96c2bc0572514f03d093bd0ee66b1302b805..e0b5e68928b1c8038b09d5dd72fb7bb586aa3337 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeappsver      21.04.3
-%define                kframever       5.56.0
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeappsver      22.12.3
+%define                kframever       5.94.0
+%define                qtver           5.15.2
 %define                kaname          kig
 Summary:       kig
 Name:          ka5-%{kaname}
-Version:       21.04.3
+Version:       22.12.3
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications
-Source0:       http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: a742667f33933d3a47751c0cea1ed30a
+Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 055eba40a9fb0ee326cedd5ee708f5a8
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= 5.11.1
@@ -44,6 +47,12 @@ students to interactively explore mathematical figures and concepts
 using the computer; Serves as a WYSIWYG tool for drawing mathematical
 figures and including them in other documents.
 
+%description -l pl.UTF-8
+Kig jest programem do interaktywnej geometrii. Pozwala studentom
+interaktywnie poznawać matematyczny figury i koncepty używając
+komputera; służy jako narzędzie WYSIWYG do rysowania matematycznych
+figur i dołączania ich do innych dokumentów.
+
 %prep
 %setup -q -n %{kaname}-%{version}
 
@@ -52,11 +61,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
@@ -72,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kig
 %attr(755,root,root) %{_bindir}/pykig.py
-%attr(755,root,root) %{_libdir}/qt5/plugins/kigpart.so
+%{_libdir}/qt5/plugins/kf5/parts/kigpart.so
 %{_desktopdir}/org.kde.kig.desktop
 %{_iconsdir}/hicolor/128x128/apps/kig.png
 %{_iconsdir}/hicolor/128x128/mimetypes/application-x-kig.png
This page took 0.04352 seconds and 4 git commands to generate.