Update package to version 22.12.0
This commit is contained in:
parent
1ecf2f6344
commit
66e9f27046
@ -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 <jiangxinyu@kylinos.cn> - 22.12.0-1
|
||||
- Update package to version 22.12.0
|
||||
|
||||
* Wed Nov 23 2022 misaka00251 <liuxin@iscas.ac.cn> - 22.08.0-1
|
||||
- Init package
|
||||
|
||||
Binary file not shown.
BIN
kmbox-22.12.0.tar.xz
Normal file
BIN
kmbox-22.12.0.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user