Compare commits

..

No commits in common. "5a44b6dffa4f4c37fd486eff29856fd9d58a880b" and "5d9bd919bd7c648558e40f22663371c345d5d34d" have entirely different histories.

3 changed files with 16 additions and 26 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,21 @@
%undefine __cmake_in_source_build
%global framework kconfigwidgets
Name: kf5-%{framework}
Version: 5.113.0
Release: 1
Version: 5.90.0
Release: 1
Summary: KDE Frameworks 5 Tier 3 addon for creating configuration dialogs
License: GPLv2+ and LGPLv2+ and MIT
URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %majmin_ver_kf5
%global stable %stable_kf5
%global majmin %(echo %{version} | cut -d. -f1-2)
%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
BuildRequires: extra-cmake-modules >= %{majmin}
@ -26,11 +32,6 @@ BuildRequires: kf5-rpm-macros
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
# KColorScheme requires color schemes to be installed
# https://pagure.io/fedora-workstation/issue/314
Requires: plasma-breeze-common
%description
KConfigWidgets provides easy-to-use classes to create configuration dialogs, as
well as a set of widgets which uses KConfig to store their settings.
@ -50,6 +51,7 @@ developing applications that use %{name}.
%prep
%autosetup -n %{framework}-%{version}
%build
mkdir %{_target_platform}
pushd %{_target_platform}
@ -58,11 +60,13 @@ popd
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name} --with-man --all-name
%ldconfig_scriptlets
%files -f %{name}.lang
@ -77,6 +81,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%files devel
%{_kf5_bindir}/preparetips5
%{_kf5_mandir}/man1/preparetips5.1*
%{_kf5_includedir}/kconfigwidgets_version.h
%{_kf5_includedir}/KConfigWidgets/
%{_kf5_libdir}/libKF5ConfigWidgets.so
%{_kf5_libdir}/cmake/KF5ConfigWidgets/
@ -84,29 +89,14 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Thu Jan 04 2024 wangqia <wangqia@uniontech.com> - 5.113.0-1
- Update to upstream version 5.113.0
* Thu Aug 03 2023 leeffo <liweiganga@uniontech.com> - 5.108.0-1
- upgrade to version 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 loong_C <loong_c@yeah.net> - 5.95.0-1
- update to upstream version 5.95.0
* Sat Feb 12 2022 tanyulong <tanyulong@kylinos.cn> - 5.90.0-1
- update to upstream version 5.90.0
* Thu Jan 13 2022 pei-jiankang <peijiankang@kylinos.cn> - 5.88.0-1
* Thu Jan 13 2022 pei-jiankang<peijiankang@kylinos.com> - 5.88.0-1
- update to upstream version 5.88.0
* Mon Dec 13 2021 douyan <douyan@kylinos.cn> - 5.55.0-2
- remove %{?dist}
* Thu Jul 23 2020 wangmian <wangmian@kylinos.cn> - 5.55.0-1
* Thu Jul 23 2020 wangmian<wangmian@kylinos.cn> - 5.55.0-1
- Init kf5-kconfigwidgets project