代码拉取完成,页面将自动刷新
%global framework kpimtextedit
# uncomment to enable bootstrap mode
#global bootstrap 1
%if !0%{?bootstrap}
%global tests 1
%endif
Name: kf5-%{framework}
Version: 23.08.5
Release: 1
Summary: The KPimTextEdit Library
License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework}
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0: https://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz
# upstream says we should just patch this downstream, see the discussion on:
# https://phabricator.kde.org/D17947
# Please DO NOT REMOVE OR COMMENT OUT THIS PATCH! Ask kkofler for help with
# rebasing if needed. The patch is usually trivial to rebase.
Patch100: kpimtextedit-23.08.1-install-and-export-for-blogilo.patch
## upstream patches (21.12 branch):
BuildRequires: grantlee-qt5-devel
BuildRequires: kf5-rpm-macros
BuildRequires: extra-cmake-modules
BuildRequires: cmake(KF5Codecs)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Emoticons)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Sonnet)
BuildRequires: cmake(KF5SyntaxHighlighting)
BuildRequires: cmake(KF5TextWidgets)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: qt5-qtbase-devel
%if !0%{?bootstrap}
BuildRequires: cmake(KF5DesignerPlugin)
BuildRequires: qt5-qtspeech-devel
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qtbase-devel
%endif
%if 0%{?tests}
BuildRequires: dbus-x11
BuildRequires: time
BuildRequires: xorg-x11-server-Xvfb
%endif
# translations moved here
Conflicts: kde-l10n < 17.03
%description
%{summary}.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: cmake(KF5TextWidgets)
#Requires: kf5-ktextwidgets-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{framework}-%{version}
# Please DO NOT REMOVE OR COMMENT OUT THIS PATCH! Ask kkofler for help with
# rebasing if needed. The patch is usually trivial to rebase.
%patch100 -p1 -b .install_and_export_for_blogilo
## upstream patches
%build
%cmake_kf5 \
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
%make_build
%install
make install/fast DESTDIR=%{buildroot}
%find_lang %{name} --all-name --with-html
%check
%if 0%{?tests}
export CTEST_OUTPUT_ON_FAILURE=1
xvfb-run -a \
dbus-launch --exit-with-session \
time \
make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
%endif
%ldconfig_scriptlets
%files -f %{name}.lang
%license LICENSES/*
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
%{_kf5_libdir}/libKPim5TextEdit.so.*
%{_qt5_plugindir}/designer/kpimtextedit5widgets.so
%files devel
%{_kf5_libdir}/libKPim5TextEdit.so
%{_includedir}/KPim5/KPIMTextEdit/
%{_kf5_libdir}/cmake/KF5PimTextEdit/
%{_kf5_libdir}/cmake/KPim5TextEdit
%{_kf5_archdatadir}/mkspecs/modules/qt_KPIMTextEdit.pri
%changelog
* Fri Mar 15 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.5-1
- update verison to 23.08.5
* Thu Jan 11 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 23.08.4-1
- Update package to version 23.08.4
* Fri Aug 04 2023 lvgenggeng <lvgenggeng@uniontech.com> - 23.04.3-1
- bump to 23.04.3
* Tue Apr 25 2023 peijiankang <peijiankang@kylinos.cn> - 22.12.0-1
- Init Package for openEuler
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。