# TODO:
# - runtime Requires if any
-%define kdeframever 5.87
+%define kdeframever 5.93
%define qtver 5.15.2
%define kfname attica
Summary: A Qt library that implements the Open Collaboration Services API
Name: kf5-%{kfname}
-Version: 5.87.0
+Version: 5.93.0
Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 69ef5ced38fb5f8bccff8de8ee95404a
+# Source0-md5: 16b115bea733e85860f1ca99f6a47f15
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Network-devel >= %{qtver}
install -d build
cd build
%cmake -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
..
%ninja_build
%{?with_tests:%ninja_build test}
+
%install
rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
%defattr(644,root,root,755)
%{_libdir}/libKF5Attica.so
%{_includedir}/KF5/Attica
-%{_includedir}/KF5/attica_version.h
%{_libdir}/cmake/KF5Attica
%{_pkgconfigdir}/libKF5Attica.pc
%{_libdir}/qt5/mkspecs/modules/qt_Attica.pri