X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=kf5-frameworkintegration.spec;h=d856fd5033cb0ca0ff813912de637690481fea54;hb=88c7b36143e77f943c857cdf1084654514b18ca3;hp=b162f4a759bd6a380dfe38ec0099ac58329255d1;hpb=a2b5afe1543d0cfa81d7398c39d26a80a0466996;p=packages%2Fkf5-frameworkintegration.git diff --git a/kf5-frameworkintegration.spec b/kf5-frameworkintegration.spec index b162f4a..d856fd5 100644 --- a/kf5-frameworkintegration.spec +++ b/kf5-frameworkintegration.spec @@ -1,18 +1,18 @@ # # Conditional build: %bcond_with tests # build with tests -%define kdeframever 5.105 +%define kdeframever 5.115 %define qtver 5.15.2 %define kfname frameworkintegration Summary: HTML rendering engine Name: kf5-%{kfname} -Version: 5.105.0 +Version: 5.115.0 Release: 1 License: LGPL v2.1+ Group: X11/Libraries Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz -# Source0-md5: 7a51ed5ed7bc51982be7c23024513dee +# Source0-md5: c1cc6f7cb0b35ec6e1ef691ec4b1943b URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} BuildRequires: Qt5DBus-devel >= %{qtver} @@ -21,7 +21,7 @@ BuildRequires: Qt5Network-devel >= %{qtver} BuildRequires: Qt5Widgets-devel >= %{qtver} BuildRequires: Qt5X11Extras-devel >= %{qtver} BuildRequires: Qt5Xml-devel >= %{qtver} -BuildRequires: cmake >= 2.8.12 +BuildRequires: cmake >= 3.16 BuildRequires: fonts-TTF-KDE-Oxygen-devel BuildRequires: gettext-devel BuildRequires: kf5-attica-devel >= %{version} @@ -82,16 +82,15 @@ Pliki nagłówkowe dla programistów używających %{kfname}. %setup -q -n %{kfname}-%{version} %build -install -d build -cd build -%cmake -G Ninja \ +%cmake -B build \ + -G Ninja \ %{!?with_tests:-DBUILD_TESTING=OFF} \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - ../ -%ninja_build + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + +%ninja_build -C build %if %{with tests} -ctest +%ninja_build -C build test %endif