2022-09-07 22:19:34 +08:00
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
%global framework kontactinterface
|
|
|
|
|
|
|
|
|
|
# bootstrap mode
|
|
|
|
|
%global bootstrap 1
|
|
|
|
|
|
|
|
|
|
%if !0%{?bootstrap}
|
|
|
|
|
%global tests 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
2024-01-15 09:13:28 +08:00
|
|
|
Version: 23.08.4
|
2024-11-15 19:40:30 +08:00
|
|
|
Release: 2
|
2022-09-07 22:19:34 +08:00
|
|
|
Summary: The Kontact Interface Library
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
|
|
2023-08-09 13:52:38 +08:00
|
|
|
%global majmin %majmin_ver_kf5
|
|
|
|
|
%global stable %stable_kf5
|
2022-09-07 22:19:34 +08:00
|
|
|
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= 5.15
|
|
|
|
|
BuildRequires: kf5-kparts-devel >= 5.15
|
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel >= 5.15
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= 5.15
|
|
|
|
|
BuildRequires: kf5-kxmlgui-devel >= 5.15
|
|
|
|
|
BuildRequires: kf5-kiconthemes-devel >= 5.15
|
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
2023-08-09 13:52:38 +08:00
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
2022-09-07 22:19:34 +08:00
|
|
|
%if 0%{?tests}
|
|
|
|
|
BuildRequires: dbus-x11
|
|
|
|
|
BuildRequires: time
|
|
|
|
|
BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Conflicts: kde-l10n < 17.03
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Kontact Interface library provides API to integrate other applications
|
|
|
|
|
with Kontact.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
2023-08-09 13:52:38 +08:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2022-09-07 22:19:34 +08:00
|
|
|
Requires: kf5-kparts-devel
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2024-11-15 19:40:30 +08:00
|
|
|
%{cmake_kf5}
|
|
|
|
|
%{cmake_build}
|
2022-09-07 22:19:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2024-11-15 19:40:30 +08:00
|
|
|
%{cmake_install}
|
2022-09-07 22:19:34 +08:00
|
|
|
|
|
|
|
|
%find_lang %{name} --all-name --with-html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
2024-11-15 19:40:30 +08:00
|
|
|
%{ctest}
|
2022-09-07 22:19:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license LICENSES/*
|
|
|
|
|
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
|
2023-08-09 13:52:38 +08:00
|
|
|
%{_kf5_libdir}/libKPim5KontactInterface.so.*
|
2022-09-07 22:19:34 +08:00
|
|
|
|
|
|
|
|
%files devel
|
2023-08-09 13:52:38 +08:00
|
|
|
%{_kf5_libdir}/libKPim5KontactInterface.so
|
|
|
|
|
%{_kf5_libdir}/cmake/KPim5KontactInterface/
|
2022-09-07 22:19:34 +08:00
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KontactInterface.pri
|
2023-08-09 13:52:38 +08:00
|
|
|
%{_includedir}/KPim5/KontactInterface/
|
2022-09-07 22:19:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-11-15 19:40:30 +08:00
|
|
|
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 23.08.4-2
|
|
|
|
|
- adapt to the new CMake macros to fix build failure
|
|
|
|
|
|
2024-01-15 09:13:28 +08:00
|
|
|
* Mon Jan 08 2024 houhongxun <houhongxun@kylinos.cn> - 23.08.4-1
|
|
|
|
|
- Upgrade to version 23.08.4
|
|
|
|
|
|
2023-08-09 13:52:38 +08:00
|
|
|
* Wed Aug 09 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 23.04.3-1
|
|
|
|
|
- Update package to version 23.04.3
|
|
|
|
|
|
2023-02-27 14:32:29 +08:00
|
|
|
* Mon Feb 27 2023 peijiankang <peijiankang@kylinos.cn> - 22.12.0-1
|
|
|
|
|
- update verison to 22.12.0
|
|
|
|
|
|
2022-09-07 22:19:34 +08:00
|
|
|
* Thu Jul 28 2022 misaka00251 <misaka00251@misakanet.cn> - 22.08.0-1
|
|
|
|
|
- Init package
|