Compare commits

..

No commits in common. "f99436fe688126c81c9616e1a04cf7771e88e137" and "51914e62ede2fa001ea0f98365b16440fa3af082" have entirely different histories.

3 changed files with 15 additions and 21 deletions

View File

@ -9,16 +9,20 @@
%endif %endif
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.113.0 Version: 5.90.0
Release: 1 Release: 1
Summary: KDE Frameworks 5 Tier 2 library to load and install packages as plugins Summary: KDE Frameworks 5 Tier 2 library to load and install packages as plugins
License: LGPLv2+ License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework} URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %majmin_ver_kf5 %global majmin %(echo %{version} | cut -d. -f1,2)
%global stable %stable_kf5 %global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
## upstream patches ## upstream patches
@ -48,6 +52,7 @@ developing applications that use %{name}.
%prep %prep
%autosetup -n %{framework}-%{version} -p1 %autosetup -n %{framework}-%{version} -p1
%build %build
mkdir %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
@ -57,6 +62,7 @@ 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}
@ -66,12 +72,14 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
mkdir -p %{buildroot}%{_kf5_qtplugindir}/kpackage/packagestructure/ mkdir -p %{buildroot}%{_kf5_qtplugindir}/kpackage/packagestructure/
mkdir -p %{buildroot}%{_kf5_datadir}/kpackage/ mkdir -p %{buildroot}%{_kf5_datadir}/kpackage/
%check %check
%if 0%{?tests} %if 0%{?tests}
export CTEST_OUTPUT_ON_FAILURE=1 export CTEST_OUTPUT_ON_FAILURE=1
make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||: make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
%endif %endif
%ldconfig_scriptlets %ldconfig_scriptlets
%files -f %{name}.lang %files -f %{name}.lang
@ -86,27 +94,13 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
%{_mandir}/man1/kpackagetool5.1* %{_mandir}/man1/kpackagetool5.1*
%files devel %files devel
%{_kf5_includedir}/kpackage_version.h
%{_kf5_includedir}/KPackage/ %{_kf5_includedir}/KPackage/
%{_kf5_libdir}/libKF5Package.so %{_kf5_libdir}/libKF5Package.so
%{_kf5_libdir}/cmake/KF5Package/ %{_kf5_libdir}/cmake/KF5Package/
%changelog %changelog
* Mon Jan 08 2024 peijiankang <peijiankang@kylinos.cn> - 5.113.0-1
- update verison to 5.113.0
* Thu Aug 03 2023 haomimi <haomimi@uniontech.com> - 5.108.0-1
- update verison to 5.108.0
* Mon Dec 12 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 5.100.0-1
- Update to upstream version 5.100.0
* Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 5.97.0-1
- update to upstream version 5.97.0
* Tue Jul 05 2022 tanyulong <tanyulong@kylinos.cn> - 5.95.0-1
- update to upstream version 5.95.0
* Sat Feb 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.90.0-1 * Sat Feb 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.90.0-1
- update to upstream version 5.90.0 - update to upstream version 5.90.0

Binary file not shown.

BIN
kpackage-5.90.0.tar.xz Normal file

Binary file not shown.