init to 22.12.0
This commit is contained in:
parent
197ce3f3f5
commit
7614f0dfe1
109
kf5-mailimporter.spec
Normal file
109
kf5-mailimporter.spec
Normal file
@ -0,0 +1,109 @@
|
||||
%global framework mailimporter
|
||||
|
||||
Name: kf5-%{framework}
|
||||
Version: 22.12.0
|
||||
Release: 1
|
||||
Summary: Mail importer library
|
||||
|
||||
License: GPLv2
|
||||
URL: https://invent.kde.org/pim/%{framework}
|
||||
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
%if %{revision} >= 50
|
||||
%global stable unstable
|
||||
%else
|
||||
%global stable stable
|
||||
%endif
|
||||
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz
|
||||
|
||||
# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
|
||||
%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
|
||||
|
||||
BuildRequires: cmake(Grantlee5)
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: cmake(Qt5UiTools)
|
||||
|
||||
%global kf5_ver 5.89.0
|
||||
BuildRequires: extra-cmake-modules >= %{kf5_ver}
|
||||
BuildRequires: kf5-rpm-macros >= %{kf5_ver}
|
||||
BuildRequires: kf5-karchive-devel >= %{kf5_ver}
|
||||
BuildRequires: kf5-ki18n-devel >= %{kf5_ver}
|
||||
BuildRequires: kf5-kconfig-devel >= %{kf5_ver}
|
||||
BuildRequires: kf5-kwidgetsaddons-devel >= %{kf5_ver}
|
||||
BuildRequires: kf5-ktextwidgets-devel >= %{kf5_ver}
|
||||
|
||||
#global majmin_ver %(echo %{version} | cut -d. -f1,2)
|
||||
%global majmin_ver %{version}
|
||||
BuildRequires: kf5-akonadi-contacts-devel >= %{majmin_ver}
|
||||
BuildRequires: kf5-akonadi-mime-devel >= %{majmin_ver}
|
||||
BuildRequires: kf5-akonadi-server-devel >= %{majmin_ver}
|
||||
BuildRequires: kf5-libkdepim-devel >= %{majmin_ver}
|
||||
BuildRequires: kf5-pimcommon-devel >= %{majmin_ver}
|
||||
BuildRequires: kf5-kmime-devel >= %{majmin_ver}
|
||||
BuildRequires: cmake(KF5PimTextEdit)
|
||||
|
||||
Obsoletes: kdepim-libs < 7:16.04.0
|
||||
Conflicts: kdepim-libs < 7:16.04.0
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package akonadi
|
||||
Summary: The MailImporterAkondi runtime library
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description akonadi
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: cmake(KF5Archive)
|
||||
# akonadi
|
||||
Requires: %{name}-akonadi%{?_isa} = %{version}-%{release}
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{framework}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%cmake_kf5
|
||||
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license LICENSES/*
|
||||
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
|
||||
%{_kf5_libdir}/libKF5MailImporter.so.*
|
||||
|
||||
%ldconfig_scriptlets akonadi
|
||||
|
||||
%files akonadi
|
||||
%{_kf5_libdir}/libKF5MailImporterAkonadi.so.*
|
||||
|
||||
%files devel
|
||||
%{_kf5_libdir}/libKF5MailImporter.so
|
||||
%{_kf5_libdir}/cmake/KF5MailImporter/
|
||||
%{_kf5_includedir}/MailImporter/
|
||||
%{_kf5_archdatadir}/mkspecs/modules/qt_MailImporter.pri
|
||||
# akonadi
|
||||
%{_kf5_libdir}/libKF5MailImporterAkonadi.so
|
||||
%{_kf5_libdir}/cmake/KF5MailImporterAkonadi/
|
||||
%{_kf5_includedir}/MailImporterAkonadi/
|
||||
%{_kf5_archdatadir}/mkspecs/modules/qt_MailImporterAkonadi.pri
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Apr 19 2023 huayadong<huayadong@kylin.cn> - 22.12.0-1
|
||||
- 22.12.0
|
||||
BIN
mailimporter-22.12.0.tar.xz
Normal file
BIN
mailimporter-22.12.0.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user