From: Witold Filipczyk Date: Fri, 18 Aug 2023 09:10:28 +0000 (+0200) Subject: - updated to 5.109.0; cmake -B build X-Git-Tag: auto/th/kf5-kimageformats-5.109.0-1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=e5598c8420528c82068a35557ff824041abb49cb;hp=cfcac9056d5f811e02969e120ef05a5f88b7fb7e;p=packages%2Fkf5-kimageformats.git - updated to 5.109.0; cmake -B build --- diff --git a/kf5-kimageformats.spec b/kf5-kimageformats.spec index 1ed693a..3cf338a 100644 --- a/kf5-kimageformats.spec +++ b/kf5-kimageformats.spec @@ -1,19 +1,19 @@ # # Conditional build: %bcond_with tests # build with tests -%define kdeframever 5.108 +%define kdeframever 5.109 %define qtver 5.15.2 %define kfname kimageformats Summary: Image format plugins for Qt Summary(pl.UTF-8): Wtyczki formatów obrazów dla Qt Name: kf5-%{kfname} -Version: 5.108.0 +Version: 5.109.0 Release: 1 License: LGPL v2.1+ Group: X11/Libraries Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz -# Source0-md5: 85bf9ed62b7a57ecc7faad5756e5a9d3 +# Source0-md5: 777d46bc3c7c7e66804402220dac2df0 URL: https://kde.org/ BuildRequires: OpenEXR-devel BuildRequires: Qt5Core-devel >= %{qtver} @@ -23,7 +23,7 @@ BuildRequires: Qt5PrintSupport-devel >= %{qtver} BuildRequires: Qt5Test-devel >= %{qtver} BuildRequires: Qt5Widgets-devel >= %{qtver} BuildRequires: Qt5X11Extras-devel >= %{qtver} -BuildRequires: cmake >= 2.8.12 +BuildRequires: cmake >= 3.16 BuildRequires: kf5-extra-cmake-modules >= %{version} BuildRequires: libavif-devel >= 0.8.2 BuildRequires: libjpeg-devel @@ -86,16 +86,15 @@ Następujące formaty obrazów mają obsługę odczytu i zapisu: %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 %install