diff --git a/kf5-kmbox.spec b/kf5-kmbox.spec index b175cff..76024a7 100644 --- a/kf5-kmbox.spec +++ b/kf5-kmbox.spec @@ -1,21 +1,19 @@ %undefine __cmake_in_source_build %global framework kmbox -%global majmin_ver %(echo %{version} | cut -d. -f1,2) # uncomment to enable bootstrap mode -#global bootstrap 1 - +# global bootstrap 1 %if !0%{?bootstrap} %global tests 1 %endif Name: kf5-%{framework} -Version: 22.08.0 +Version: 22.12.0 Release: 1 Summary: The KMbox Library - License: LGPLv2+ URL: https://invent.kde.org/frameworks/%{framework} +Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 @@ -23,11 +21,11 @@ URL: https://invent.kde.org/frameworks/%{framework} %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz BuildRequires: make BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros +%global majmin_ver %(echo %{version} | cut -d. -f1,2) BuildRequires: kf5-kmime-devel >= %{majmin_ver} BuildRequires: qt5-qtbase-devel %if 0%{?tests} @@ -41,9 +39,8 @@ BuildRequires: xorg-x11-server-Xvfb %package devel Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} Requires: kf5-kmime-devel - %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -52,7 +49,6 @@ developing applications that use %{name}. %prep %autosetup -n %{framework}-%{version} - %build mkdir %{_target_platform} pushd %{_target_platform} @@ -61,11 +57,9 @@ pushd %{_target_platform} popd %make_build -C %{_target_platform} - %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} - %check %if 0%{?tests} export CTEST_OUTPUT_ON_FAILURE=1 @@ -75,7 +69,6 @@ time \ make test ARGS="--output-on-failure --timeout 120" -C %{_target_platform} ||: %endif - %ldconfig_scriptlets %files @@ -89,7 +82,9 @@ make test ARGS="--output-on-failure --timeout 120" -C %{_target_platform} ||: %{_kf5_libdir}/cmake/KF5Mbox %{_kf5_libdir}/libKF5Mbox.so - %changelog +* Tue Apr 25 2023 jiangxinyu - 22.12.0-1 +- Update package to version 22.12.0 + * Wed Nov 23 2022 misaka00251 - 22.08.0-1 - Init package diff --git a/kmbox-22.08.0.tar.xz b/kmbox-22.08.0.tar.xz deleted file mode 100644 index 5ece63f..0000000 Binary files a/kmbox-22.08.0.tar.xz and /dev/null differ diff --git a/kmbox-22.12.0.tar.xz b/kmbox-22.12.0.tar.xz new file mode 100644 index 0000000..1e4389a Binary files /dev/null and b/kmbox-22.12.0.tar.xz differ