- updated to 18.12.1; ninja auto/th/ka5-knavalbattle-18.12.1-1
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 12 Jan 2019 23:00:52 +0000 (00:00 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 12 Jan 2019 23:00:52 +0000 (00:00 +0100)
ka5-knavalbattle.spec

index 06c24085cbb7ed25ac274c07e8c5eccfe40a6978..f39aa431d08c157b8f56309fff3d627744503ccd 100644 (file)
@@ -1,14 +1,14 @@
-%define                kdeappsver      18.12.0
+%define                kdeappsver      18.12.1
 %define                qtver           5.9.0
 %define                kaname          knavalbattle
 Summary:       knavalbattle
 Name:          ka5-%{kaname}
-Version:       18.12.0
+Version:       18.12.1
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications/Games
 Source0:       http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 755b0c594e155fdd6a168cca5d3f8da6
+# Source0-md5: 09998169f13804d68e6085ad29a5d64f
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= 5.11.1
@@ -16,7 +16,7 @@ BuildRequires:        Qt5Qml-devel >= 5.11.1
 BuildRequires: Qt5Quick-devel >= 5.11.1
 BuildRequires: Qt5Widgets-devel
 BuildRequires: gettext-devel
-BuildRequires: ka5-libkdegames-devel >= 18.12.0
+BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
 BuildRequires: kf5-extra-cmake-modules >= 5.53.0
 BuildRequires: kf5-kconfig-devel >= 5.30.0
 BuildRequires: kf5-kcrash-devel >= 5.30.0
@@ -26,6 +26,7 @@ BuildRequires:        kf5-kdoctools-devel >= 5.30.0
 BuildRequires: kf5-ki18n-devel >= 5.30.0
 BuildRequires: kf5-ktextwidgets-devel >= 5.30.0
 BuildRequires: kf5-kxmlgui-devel >= 5.30.0
+BuildRequires: ninja
 BuildRequires: qt5-build >= %{qtver}
 BuildRequires: rpmbuild(macros) >= 1.164
 BuildRequires: shared-mime-info
@@ -46,14 +47,14 @@ destroy all ships wins the game.
 install -d build
 cd build
 %cmake \
+       -G Ninja \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ..
-%{__make}
+%ninja_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install \
-       DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %find_lang %{kaname} --all-name --with-qm
 
This page took 0.073956 seconds and 4 git commands to generate.