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