4 Star 0 Fork 1

OpenCloudOS Stream/kf5-kguiaddons

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
kf5-kguiaddons.spec 2.32 KB
一键复制 编辑 原始数据 按行查看 历史
fanjunkong 提交于 2024-09-13 15:47 . update
%bcond_with kf6_compat
%global framework kguiaddons
Name: kf5-%{framework}
Version: 5.113.0
Release: 3%{?dist}
Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtGui
License: BSD-2-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %majmin_ver_kf5
%global stable %stable_kf5
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-rpm-macros >= %{majmin}
BuildRequires: libX11-devel
BuildRequires: libxcb-devel
BuildRequires: plasma-wayland-protocols-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qtwayland-devel pkgconfig(wayland-client)
BuildRequires: qt5-qtx11extras-devel
Requires: kf5-filesystem >= %{majmin}
%if %{with kf6_compat}
Requires: kf6-%{framework}
%endif
%description
KDBusAddons provides convenience classes on top of QtGui.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: qt5-qtbase-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -n %{framework}-%{version}
%build
%cmake_kf5 %{?with_kf6_compat:-DBUILD_GEO_SCHEME_HANDLER=OFF}
%cmake_build
%install
%cmake_install
%files
%doc README.md
%license LICENSES/*.txt
%if %{without kf6_compat}
%{_kf5_bindir}/kde-geo-uri-handler
%endif
%{_kf5_datadir}/qlogging-categories5/*categories
%{_kf5_libdir}/libKF5GuiAddons.so.*
%if %{without kf6_compat}
%{_kf5_datadir}/applications/*-handler.desktop
%endif
%files devel
%{_kf5_includedir}/KGuiAddons/
%{_kf5_libdir}/libKF5GuiAddons.so
%{_kf5_libdir}/cmake/KF5GuiAddons/
%{_kf5_archdatadir}/mkspecs/modules/qt_KGuiAddons.pri
%changelog
* Fri Sep 13 2024 Xinlong Chen <xinlongchen@tencent.com> - 5.113.0-3
- standardlized
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 5.113.0-2
- Rebuilt for loongarch release
* Fri Apr 12 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 5.113.0-1
- initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/kf5-kguiaddons.git
git@gitee.com:opencloudos-stream/kf5-kguiaddons.git
opencloudos-stream
kf5-kguiaddons
kf5-kguiaddons
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385