105 lines
3.2 KiB
RPMSpec
105 lines
3.2 KiB
RPMSpec
%global framework calendarsupport
|
|
|
|
Name: kf5-%{framework}
|
|
Version: 23.08.4
|
|
Release: 1
|
|
Summary: KDE PIM library for calendar and even handling
|
|
License: LGPLv2+
|
|
URL: https://invent.kde.org/pim/%{framework}
|
|
|
|
%global majmin %majmin_ver_kf5
|
|
%global stable %stable_kf5
|
|
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz
|
|
|
|
# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
|
|
# available only where kf5-pimcommon is
|
|
%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
|
|
|
|
%global kf5_ver 5.71.0
|
|
BuildRequires: extra-cmake-modules >= %{kf5_ver}
|
|
BuildRequires: kf5-rpm-macros >= %{kf5_ver}
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-qttools-static
|
|
|
|
BuildRequires: cmake(KF5Akonadi)
|
|
BuildRequires: cmake(KF5AkonadiCalendar)
|
|
BuildRequires: cmake(KF5AkonadiMime)
|
|
BuildRequires: cmake(KF5AkonadiNotes)
|
|
BuildRequires: cmake(KPim5Mime)
|
|
BuildRequires: cmake(KF5Codecs)
|
|
BuildRequires: cmake(KF5CalendarCore)
|
|
BuildRequires: cmake(KF5IdentityManagement)
|
|
BuildRequires: cmake(KF5Holidays)
|
|
BuildRequires: cmake(KPim5CalendarUtils)
|
|
BuildRequires: cmake(KPim5PimCommon)
|
|
|
|
%global majmin_ver %{version}
|
|
|
|
BuildRequires: kf5-akonadi-calendar-devel >= %{majmin_ver}
|
|
BuildRequires: kf5-akonadi-mime-devel >= %{majmin_ver}
|
|
BuildRequires: kf5-akonadi-server-devel >= %{majmin_ver}
|
|
BuildRequires: kf5-kcalendarcore-devel >= 5.83
|
|
BuildRequires: kf5-kcalendarutils-devel >= %{majmin_ver}
|
|
BuildRequires: kf5-kholidays-devel >= %{majmin_ver}
|
|
BuildRequires: kf5-kidentitymanagement-devel >= %{majmin_ver}
|
|
BuildRequires: kf5-kmime-devel >= %{majmin_ver}
|
|
BuildRequires: kf5-pimcommon-devel >= %{majmin_ver}
|
|
|
|
Obsoletes: kdepim-libs < 7:16.04.0
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: cmake(KF5Mime)
|
|
Requires: cmake(KF5IdentityManagement)
|
|
Requires: cmake(KF5AkonadiCalendar)
|
|
Requires: kf5-akonadi-calendar-devel >= %{majmin_ver}
|
|
Requires: kf5-kidentitymanagement-devel >= %{majmin_ver}
|
|
Requires: kf5-kmime-devel >= %{majmin_ver}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -n %{framework}-%{version}
|
|
|
|
%build
|
|
mkdir %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%{cmake_kf5} ..
|
|
popd
|
|
%make_build -C %{_target_platform}
|
|
|
|
%install
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
%find_lang %{name} --all-name --with-html
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files -f %{name}.lang
|
|
%license LICENSES/*
|
|
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
|
|
%{_kf5_libdir}/libKPim5CalendarSupport.so.*
|
|
|
|
%files devel
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_CalendarSupport.pri
|
|
%{_includedir}/KPim5/CalendarSupport/
|
|
%{_kf5_libdir}/cmake/KF5CalendarSupport/
|
|
%{_kf5_libdir}/cmake/KPim5CalendarSupport/
|
|
%{_kf5_libdir}/libKPim5CalendarSupport.so
|
|
|
|
%changelog
|
|
* Fri Jan 19 2024 Tianze Li <litianze@uniontech.com> - 23.08.4-1
|
|
- Upgrade to 23.08.4
|
|
|
|
* Mon Aug 07 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 23.04.3-1
|
|
- Update package to version 23.04.3
|
|
|
|
* Mon May 29 2023 misaka00251 <liuxin@iscas.ac.cn> - 22.12.0-1
|
|
- Init package
|