9 Star 0 Fork 3

src-openEuler/kpmcore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
kpmcore.spec 2.58 KB
一键复制 编辑 原始数据 按行查看 历史
ls 提交于 2024-10-10 11:36 . init kpmcore
%global __cmake_builddir %{!?__cmake_in_source_build:%{_vpath_builddir}}%{?__cmake_in_source_build:.}
%global unstable 1
%global kf5min 5.92
%global qtmin 5.15.2
%global sover 12
Name: kpmcore
Version: 23.08.1
Release: 1
Summary: Library for managing partitions by KDE programs
License: GPL-3.0-or-later AND MIT AND CC-BY-4.0 AND CC0-1.0
URL: https://github.com/KDE/kpmcore
%if 0%{?unstable}
Source0: http://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%else
Source0: http://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%endif
BuildRequires: cmake >= 3.16
BuildRequires: extra-cmake-modules
BuildRequires: gettext
BuildRequires: kf5-kcoreaddons-devel >= %{kf5min}
BuildRequires: kf5-ki18n-devel >= %{kf5min}
BuildRequires: kf5-kwidgetsaddons-devel >= %{kf5min}
BuildRequires: qt5-qtbase-devel >= %{qtmin}
BuildRequires: kf5-rpm-macros
BuildRequires: pkgconfig
BuildRequires: pkgconfig(blkid) >= 2.33.2
BuildRequires: pkgconfig(polkit-qt5-1)
Requires: e2fsprogs
Requires: kf5-filesystem
Recommends: dosfstools
Recommends: exfatprogs
Recommends: f2fs-tools
Recommends: fatresize
Recommends: hfsutils
Recommends: hfsplus-tools
Recommends: jfsutils
Recommends: nilfs-utils
Recommends: ocfs2-tools
Recommends: udftools
%description
KPMcore contains common code for managing partitions by KDE Partition Manager
and other KDE projects
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{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 -p1
%build
%cmake_kf5
%__cmake --build "%{__cmake_builddir}" %{?_smp_mflags} --verbose
%install
DESTDIR="%{buildroot}" %__cmake --install "%{__cmake_builddir}"
%find_lang %{name}
%find_lang %{name}._policy_
%files -f %{name}.lang -f %{name}._policy_.lang
%license LICENSES/*
%doc README.md
%{_kf5_libdir}/libkpmcore.so.%{sover}
%{_kf5_libdir}/libkpmcore.so.%{version}
%{_kf5_qtplugindir}/kpmcore
%{_libexecdir}/kpmcore_externalcommand
%{_datadir}/dbus-1/system.d/org.kde.kpmcore.*.conf
%{_datadir}/dbus-1/system-services/org.kde.kpmcore.*.service
%{_datadir}/polkit-1/actions/org.kde.kpmcore.externalcommand.policy
%files devel
%{_includedir}/%{name}/
%{_kf5_libdir}/cmake/KPMcore
%{_kf5_libdir}/libkpmcore.so
%changelog
* Wed Oct 9 2024 Li Ping <liping136@huawei.com> - 23.08.1-1
- Initial
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/kpmcore.git
git@gitee.com:src-openeuler/kpmcore.git
src-openeuler
kpmcore
kpmcore
master

搜索帮助