1 Star 0 Fork 4

misaka00251/pim-data-exporter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pim-data-exporter.spec 3.13 KB
一键复制 编辑 原始数据 按行查看 历史
misaka00251 提交于 2024-01-05 16:16 . Upgrade to 23.08.4
%global bootstrap 1
%if !0%{?bootstrap}
%global tests 1
%endif
%global framework pimdataexporter
Name: pim-data-exporter
Summary: Pim Data Exporter
Version: 23.08.4
Release: 1
License: GPLv2 and GFDL-1.2-or-later
URL: https://userbase.kde.org/Akonadi/
Source0: http://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
BuildRequires: boost-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: qt5-qtbase-devel
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: cmake(Grantlee5)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5TextAutoCorrection)
%global majmin_ver %(echo %{version} | cut -d. -f1,2,3)
BuildRequires: kf5-akonadi-contacts-devel >= %{majmin_ver}
BuildRequires: kf5-akonadi-mime-devel >= %{majmin_ver}
BuildRequires: kf5-akonadi-notes-devel >= %{majmin_ver}
BuildRequires: kf5-akonadi-server-devel >= %{majmin_ver}
BuildRequires: kf5-calendarsupport-devel >= %{majmin_ver}
BuildRequires: kf5-kcalendarcore-devel >= %{majmin_ver}
BuildRequires: kf5-kcontacts-devel >= %{majmin_ver}
BuildRequires: kf5-kmailtransport-devel >= %{majmin_ver}
BuildRequires: kf5-kpimtextedit-devel >= %{majmin_ver}
BuildRequires: kf5-libkdepim-devel >= %{majmin_ver}
BuildRequires: kf5-mailcommon-devel >= %{majmin_ver}
%if 0%{?tests}
BuildRequires: dbus-x11
BuildRequires: xorg-x11-server-Xvfb
%endif
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description
%{summary}.
%package libs
Summary: Runtime libraries for %{name}
Conflicts: kdepim-libs < 7:16.12
Requires: %{name} = %{version}-%{release}
%description libs
%{summary}.
%prep
%autosetup -p1
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
popd
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name} --all-name --with-html
%check
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.pimdataexporter.desktop
appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.pimdataexporter.appdata.xml
%if 0%{?tests}
export CTEST_OUTPUT_ON_FAILURE=1
xvfb-run -a \
dbus-launch --exit-with-session \
make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
%endif
%files -f %{name}.lang
%license LICENSES/*
%{_kf5_bindir}/pimdataexporter
%{_kf5_bindir}/pimdataexporterconsole
%{_kf5_datadir}/applications/org.kde.pimdataexporter.desktop
%{_kf5_datadir}/config.kcfg/pimdataexporterglobalconfig.kcfg
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
%{_kf5_metainfodir}/org.kde.pimdataexporter.appdata.xml
%ldconfig_scriptlets libs
%files libs
%{_kf5_libdir}/libpimdataexporterprivate.so.*
%changelog
* Fri Jan 05 2023 misaka00251 <liuxin@iscas.ac.cn> - 23.08.4-1
- Upgrade to 23.08.4
* Mon Aug 28 2023 misaka00251 <liuxin@iscas.ac.cn> - 23.04.3-1
- Init package
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/misaka00251/pim-data-exporter.git
git@gitee.com:misaka00251/pim-data-exporter.git
misaka00251
pim-data-exporter
pim-data-exporter
master

搜索帮助