]> git.pld-linux.org Git - packages/kf5-attica.git/blobdiff - kf5-attica.spec
- updated to 5.59.0
[packages/kf5-attica.git] / kf5-attica.spec
index a6c3c87b52a30be357957ca6059045e42988c03c..c0a1c08608107ba1e8e13d3e830903e131cca4ea 100644 (file)
@@ -1,21 +1,21 @@
 #
 # Conditional build:
-%bcond_without tests           # build without tests
+%bcond_with    tests           # build without tests
 
 # TODO:
 # - runtime Requires if any
 
-%define                kdeframever     5.45
-%define                qtver           5.3.2
+%define                kdeframever     5.59
+%define                qtver           5.9.0
 %define                kfname          attica
 Summary:       A Qt library that implements the Open Collaboration Services API
 Name:          kf5-%{kfname}
-Version:       5.45.0
+Version:       5.59.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: dc7210391cd11edcc2b08119b5164edf
+# Source0-md5: 184e692bfbdee0facdda51552dfc45f7
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= %{qtver}
@@ -27,6 +27,7 @@ BuildRequires:        Qt5Widgets-devel >= %{qtver}
 %endif
 BuildRequires: cmake >= 2.8.12
 BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: ninja
 BuildRequires: qt5-build >= %{qtver}
 BuildRequires: rpmbuild(macros) >= 1.164
 BuildRequires: tar >= 1:1.22
@@ -62,17 +63,16 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 %build
 install -d build
 cd build
-%cmake \
+%cmake -G Ninja \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ..
-%{__make}
+%ninja_build
 
-%{?with_tests:%{__make} test}
+%{?with_tests:%ninja_build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install \
-       DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.119079 seconds and 4 git commands to generate.