2022-02-14 10:01:20 +08:00
|
|
|
%undefine __cmake_in_source_build
|
2020-08-18 15:02:30 +08:00
|
|
|
%global framework frameworkintegration
|
2023-08-03 14:30:38 +08:00
|
|
|
%global appstream 1
|
2020-08-18 15:02:30 +08:00
|
|
|
|
2022-09-05 14:31:45 +08:00
|
|
|
Name: kf5-%{framework}
|
2023-08-03 14:30:38 +08:00
|
|
|
Version: 5.108.0
|
2022-09-05 14:31:45 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 4 workspace and cross-framework integration plugins
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
2020-08-18 15:02:30 +08:00
|
|
|
|
2023-08-03 14:30:38 +08:00
|
|
|
%global majmin %majmin_ver_kf5
|
|
|
|
|
%global stable %stable_kf5
|
2022-02-14 10:01:20 +08:00
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
## upstream patches (lookaside cache)
|
2020-08-18 15:02:30 +08:00
|
|
|
|
|
|
|
|
# filter plugin provides
|
|
|
|
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
|
|
|
|
|
2022-02-14 10:01:20 +08:00
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kconfigwidgets-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kiconthemes-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kio-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-knewstuff-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-knotifications-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kpackage-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kwidgetsaddons-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{majmin}
|
|
|
|
|
|
|
|
|
|
BuildRequires: libXcursor-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
|
|
2020-08-18 15:02:30 +08:00
|
|
|
# prior to 5.11.0-3, main pkg was multilib'd (due to arch'd -devel deps) -- rex
|
|
|
|
|
Obsoletes: %{name} < 5.11.0-3
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2022-02-14 10:01:20 +08:00
|
|
|
|
2020-08-18 15:02:30 +08:00
|
|
|
## consider removing for f28+, since Qt5 tracks via versioned symbols now -- rex
|
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Framework Integration is a set of plugins responsible for better integration of
|
|
|
|
|
Qt applications when running on a KDE Plasma workspace.
|
|
|
|
|
|
|
|
|
|
Applications do not need to link to this directly.
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
Summary: Runtime libraries for %{name}.
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
%description libs
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
2022-02-14 10:01:20 +08:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: kf5-kiconthemes-devel >= %{majmin}
|
|
|
|
|
Requires: kf5-kconfigwidgets-devel >= %{majmin}
|
|
|
|
|
|
2020-08-18 15:02:30 +08:00
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.md
|
2022-02-14 10:01:20 +08:00
|
|
|
%license LICENSES/*.txt
|
2020-08-18 15:02:30 +08:00
|
|
|
%{_kf5_datadir}/kf5/infopage/
|
|
|
|
|
%{_kf5_datadir}/knotifications5/plasma_workspace.notifyrc
|
|
|
|
|
%dir %{_kf5_libexecdir}/kpackagehandlers
|
|
|
|
|
%{_kf5_libexecdir}/kpackagehandlers/knshandler
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%{_kf5_libdir}/libKF5Style.so.*
|
|
|
|
|
%{_kf5_plugindir}/FrameworkIntegrationPlugin.so
|
|
|
|
|
|
|
|
|
|
%files devel
|
2022-07-05 15:52:55 +08:00
|
|
|
%{_kf5_includedir}/FrameworkIntegration/frameworkintegration_version.h
|
2020-08-18 15:02:30 +08:00
|
|
|
%{_kf5_includedir}/KStyle/
|
|
|
|
|
%{_kf5_libdir}/libKF5Style.so
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5FrameworkIntegration/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-08-03 14:30:38 +08:00
|
|
|
* Thu Aug 03 2023 leeffo <liweiganga@uniontech.com> - 5.108.0-1
|
|
|
|
|
- upgrade to version 5.108.0
|
|
|
|
|
|
2022-12-15 13:50:27 +08:00
|
|
|
* Thu Dec 15 2022 tanyulong <tanyulong@kylinos.cn> - 5.100.0-1
|
|
|
|
|
- update to upstream version 5.100.0
|
|
|
|
|
|
2022-09-05 14:31:45 +08:00
|
|
|
* Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 5.97.0-1
|
|
|
|
|
- update to upstream version 5.97.0
|
|
|
|
|
|
2022-07-05 15:52:55 +08:00
|
|
|
* Tue Jul 05 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 5.95.0-1
|
|
|
|
|
- update to upstream version 5.95.0
|
|
|
|
|
|
2022-02-14 10:01:20 +08:00
|
|
|
* Mon Feb 14 2022 tanyulong <tanyulong@kylinos.cn> - 5.90.0-1
|
|
|
|
|
- update to upstream version 5.90.0
|
|
|
|
|
|
2022-07-05 15:52:55 +08:00
|
|
|
* Mon Jan 24 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.88.0-1
|
2022-02-14 10:01:20 +08:00
|
|
|
- update to upstream version 5.88.0
|
|
|
|
|
|
2020-08-18 15:02:30 +08:00
|
|
|
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
|
|
|
|
- Initial release for OpenEuler
|
2020-08-22 10:07:29 +08:00
|
|
|
|